Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to click on WebElement within a WebTable
#6
Solved: 8 Years, 1 Week ago
(03-23-2016, 12:35 PM)Swetha_Bayya Wrote: Hi,

I am facing an issue in clicking the Webelement present in Webtable . Below is the line of code

Browser("Browser").Page("Page").Frame("Frame").WebTable("WebTable"). ChildItem(1,5, "WebElement",0)

But I am getting Object Required error. When tried spying the webelement and adding into OR (after browser, page there are multiple Webtables and then last we had WebElement . So we have captured the last Webtable into OR).

Even though the object is added in OR, but still I am getting this error.

Can someone please help me in this regard.

Regards,
Swetha


HI Swetha,

I have similar issue.could you please let me know if you find solution.

my code is clicking on first column
a=Browser("Browser").Page("Page").Frame("Frame").WebTable("WebTable"). ChildItem(1,1, "WebElement",0)
a.click




but if I want to click on 2nd or 3d column ,I am not able to

a=Browser("Browser").Page("Page").Frame("Frame").WebTable("WebTable"). ChildItem(1,2, "WebElement",0)

a.click


Please advise.
Reply


Messages In This Thread
RE: Trying to click on WebElement within a WebTable - by Sam123 - 04-07-2016, 05:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Gain data from a webtable inside a webtable AndyM 1 1,957 07-12-2018, 08:36 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 2 Guest(s)