04-07-2016, 05:26 AM
(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.