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.
Please do the needful.
VB Script logic
|
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.
you can use the index ordinal identifier in qtp.
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) Code: Browser("Browser").Page("Page").WebButton("name:=Submit","index:=1").Click
Thanks,
SUpputuri |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Need a logic in array - QTP | surestud | 4 | 3,335 |
08-20-2015, 02:47 PM Last Post: cuongtv |
|
Logic to add numbers in caliculator using descriptive programming, | srinivassure | 1 | 3,215 |
02-08-2011, 03:33 AM Last Post: Ankur |
|
Re: Iteration Code Logic Help needed | sratna | 3 | 3,865 |
11-09-2009, 07:08 AM Last Post: venkatbatchu |
|
How to build logic around a checkpoint | myedvabny | 1 | 2,541 |
08-05-2008, 09:59 PM Last Post: kishoreinchennai |