Micro Focus QTP (UFT) Forums
Clicking a link in a webtable - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Clicking a link in a webtable (/Thread-Clicking-a-link-in-a-webtable)



Clicking a link in a webtable - nikhilcogni - 06-16-2012

Hi I was trying to click a link in a webtable. Link is present in 3 column and 2nd row. I'm using childitem and getrowwithcelltext

code is :

Code:
row=browser().Page().webtable().getRowWithCellText("Price",3,1)
set link=browser().Page().webtable().childitem(row,3,"Link",0)
but qtp throws error for 2nd line and says general error. Wrong number of arguments has been pased or invalid property assignment.

Can somebody tell whats wrong there[/align]