Micro Focus QTP (UFT) Forums
Unable to click on WebButton in 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Unable to click on WebButton in WebTable (/Thread-Unable-to-click-on-WebButton-in-WebTable)



Unable to click on WebButton in WebTable - srach84 - 02-01-2015

Hi,

I am working on automating features on a banking application. I need to click on a Webbutton on the page corresponding to the account number and there are more than one WebButton with the same name on the Webpage.

I need to select an account number which is located in a particular row in the table and once QTP recognizes the text, the Select Webbutton which is present in the same row should be clicked.

Please find the screenshots and kindly clarify me as to how I can click the select button in the same row as the text is present.

Thanks,
Shilpa


RE: Unable to click on WebButton in WebTable - arpan - 02-09-2015

Hi Shilpa,
You can use xpath concept here. You can use nested loops where you can first check the account number and then click Select. Let me know if that helps.

Thanks
Arpan