how to randomly Select any category link and randomly click on one of its options ? - 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: how to randomly Select any category link and randomly click on one of its options ? (/Thread-how-to-randomly-Select-any-category-link-and-randomly-click-on-one-of-its-options) |
how to randomly Select any category link and randomly click on one of its options ? - sharavan - 11-18-2014 I m a fresher in QTP and want to learn Dynamic Descriptive Programming. I took HDFC bank website as an example and working on it. I was stuck at one point and kindly need your help. I took a scenario like this: QTP has to click on any of the category links randomly, then a drop down menu expands and has to randomly again select one of the options in that and then again randomly select the links in it finally. Example: The following is an example scenario, but i need this randomly. QTP clicks "Products" link -----> Cards -------->Credit cards Here is the code I prepared. But couldn't go forward: Code: 'randomly Select any category link and click on one of the options. Thanks in advance. |