Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VB Script logic
#1
Not Solved
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.
Reply
#2
Not Solved
you can use the index ordinal identifier in qtp.
Reply
#3
Not Solved
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)
Reply
#4
Not Solved
Code:
Browser("Browser").Page("Page").WebButton("name:=Submit","index:=1").Click
Thanks,
SUpputuri
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need a logic in array - QTP surestud 4 3,244 08-20-2015, 02:47 PM
Last Post: cuongtv
  Logic to add numbers in caliculator using descriptive programming, srinivassure 1 3,158 02-08-2011, 03:33 AM
Last Post: Ankur
  Re: Iteration Code Logic Help needed sratna 3 3,731 11-09-2009, 07:08 AM
Last Post: venkatbatchu
  How to build logic around a checkpoint myedvabny 1 2,468 08-05-2008, 09:59 PM
Last Post: kishoreinchennai

Forum Jump:


Users browsing this thread: 1 Guest(s)