Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - What will be the test script in QTP to test a Combo Box where a user has to select more than two items?




311
views
asked marvit August 21, 2014 05:59 AM  

What will be the test script in QTP to test a Combo Box where a user has to select more than two items?


           

1 Answers



 
answered By Dharma   0  
Browser("XXXX").page("page1").WebEdit("editbox").set "dsgagfdsa"
value1=Browser("XXXX").page("page1").WebEdit("editbox").GetROProperty("Text")
Browser("XXXX").page("page1").webButton( "Button1").click

Browser("XXXX").page("page2").WebList("List1").select value1 
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert