Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unable to click on WebElement in webtable
#1
Not Solved
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
.............................................
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
Reply


Messages In This Thread
unable to click on WebElement in webtable - by mahendra - 11-17-2011, 12:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Link in a webtable in a webtable Soulwalker 1 2,713 07-19-2017, 01:44 PM
Last Post: Ankur
  I want to click on all the links in the webtable. These links are nothing but some co abhideshpande001 0 2,579 07-22-2015, 09:36 AM
Last Post: abhideshpande001
  Unable to click on the WebButton with specified Index srach84 2 4,094 03-31-2015, 04:36 AM
Last Post: srach84
  Unable to click on WebButton in WebTable srach84 1 2,914 02-09-2015, 09:07 PM
Last Post: arpan
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 3,652 06-13-2014, 04:27 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)