Micro Focus QTP (UFT) Forums
Click image button in 5th col of a webtable if searchcriteria meets content of 4cols - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Click image button in 5th col of a webtable if searchcriteria meets content of 4cols (/Thread-Click-image-button-in-5th-col-of-a-webtable-if-searchcriteria-meets-content-of-4cols)



Click image button in 5th col of a webtable if searchcriteria meets content of 4cols - sunshine - 08-05-2010

Scenario is:

A table is present on a webpage. It has 5 columns and contains multiple rows which are generated dynamically.

First four columns has heading and they contain some text. Fifth column does not has column heading and it contains image buttons.

I want to search the text in first 4 columns and if that maches with the search string, click on the button present in that row in 5th column.


Thanks,
sunshine


RE: Click image button in 5th col of a webtable if searchcriteria meets content of 4cols - sreekanth chilam - 08-05-2010

Hi,

Search for "RowCount","GetCellData" and "ChildItem" methods in this forum, you can do it easily on your own Smile


RE: Click image button in 5th col of a webtable if searchcriteria meets content of 4cols - sunshine - 08-12-2010

Hi,

Thanks for the reply. Now my code is working fine. Smile