Web List Selection - 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: Web List Selection (/Thread-Web-List-Selection) |
Web List Selection - mhanaan - 11-23-2012 Given a situation where there is more than one items in the web list i want qtp to select each item one by one and perform an action in my case to select the the item then click on a link which opens a second window at this point i want the coding to look for a value in the new screen if found then the function is to end with a message box else exit the new window and check the remaining web list item the same way until either the value is found or there are no more items on the list to select. I am relatively new to QTP and would appreciate help on this issue RE: Web List Selection - imzeeshan - 11-24-2012 Hi, In such a case I would go about like this: Code: Dim aArray, sArrayItem, nArrayIndex, oBrowserPage, oNewWindow I hope it helps and is understandable. |