Unable to Click on Mutiple Links in Web Table - 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 Mutiple Links in Web Table (/Thread-Unable-to-Click-on-Mutiple-Links-in-Web-Table) |
Unable to Click on Mutiple Links in Web Table - branjitk - 06-12-2012 Hi All, I am having error while click on Multiple Links using childobjects method. I am calculating the link count, for click on each link i am using For loop but it works only for first link from second link is showing General Error. Below i am using code like this. Code: If Browser("Browser").Page("-- Welcome to YANG MING").Frame("right_3").WebTable("Service").Exist(10) Then RE: Unable to Click on Mutiple Links in Web Table - sshukla12 - 06-12-2012 Could u please provide the snap shot of application and error u r getting. Regards, Sankalp RE: Unable to Click on Mutiple Links in Web Table - branjitk - 06-12-2012 Hi Sankalp, ThankYou For your reply, The Screen Shot is attached. Regards, Ranjit Kumar B RE: Unable to Click on Mutiple Links in Web Table - sshukla12 - 06-12-2012 Hi, When u click the link 1st time a new page is open , due to which reference object u have created is lost. I implemented the same on google home page. Below is the code, use it as a refrence. Code: SystemUtil.Run "iexplore.exe","www.google.co.in" Regards, Sankalp RE: Unable to Click on Mutiple Links in Web Table - ssvali - 06-12-2012 Hi, Can you please us that after clicking first link, will a new browser will open ? Hi , Pls try the below code and let us know the result Code: SystemUtil.Run "iexplore.exe","www.google.co.in" RE: Unable to Click on Mutiple Links in Web Table - branjitk - 06-12-2012 Hi sankalp, Thank you very much, The code is working perfectly. RE: Unable to Click on Mutiple Links in Web Table - sshukla12 - 06-12-2012 Glad to hear it worked 4 U Regards, Sankalp |