VB Script logic - 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: VB Script logic (/Thread-VB-Script-logic) |
VB Script logic - Suma Parimal - 03-20-2014 If web page contains two buttons with the same name like "Submit" having the same properties, then how can we write the script for this to click the bottom or 2nd button? Please do the needful. RE: VB Script logic - anu05446 - 03-20-2014 you can use the index ordinal identifier in qtp. RE: VB Script logic - Suma Parimal - 03-21-2014 Hi Anu, How can we write descriptive program for this object identification if two objects having the same name and property? (I dont have qtp software to execute and check so please get me the code for this) RE: VB Script logic - supputuri - 03-24-2014 Code: Browser("Browser").Page("Page").WebButton("name:=Submit","index:=1").Click |