11-17-2011, 12:06 PM
Hi to All,
In my scenario,
I want to click on webelenments inside the webtable,in webtable 36 webelements are there,i am using below code
.............................................
.................................................
it clicks first 3 web elements and then throws error "The statement contains one or more invalid functional arguements" in the childitem method line.
what may be the reason?
Iam using QTP 9.2
Plz help me anyone
In my scenario,
I want to click on webelenments inside the webtable,in webtable 36 webelements are there,i am using below code
.............................................
Code:
For j = 1 to 36
Set Oparent = Browser("bname").Page("pname").WebTable("Table1").ChildItem(j,1,"WebElement",0)
tName=Oparent.GetROProperty("innertext")
Oparent.Click
Next
it clicks first 3 web elements and then throws error "The statement contains one or more invalid functional arguements" in the childitem method line.
what may be the reason?
Iam using QTP 9.2
Plz help me anyone