Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - How to select particular value from the combo box in the current page which is entered in the previous page edit box after parameterization?




407
views
asked marvit August 21, 2014 07:47 AM  

How to select particular value from the combo box in the current page which is entered in the previous page edit box after parameterization?


           

1 Answers



 
answered By Dharma   0  
Using OBJECTSPY first know the class of that particular object.
 
If Browser("").Page("").WebList("name:=")Exist Then

X=Browser("").Page("").WebList("name:=").GetRoProperty
("ItemsCount")


For i=0 To X-1

lName=Browser("").Page("").WebList("name:=").GetRoProperty
("Name")

If lName="Which u want to Select" Then
Browser("").Page("").WebList("name:=").Select"lname"
End If
Nex

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