adspace


if there is two login button in your page, how you know that
this login button is correct for login .

Answer Posted / nagesh

If there are two login buttons,then go with index value
using descriptive programming.first we should make sure that
which login button navigate to required page.then give
corresponding index value as property in script as follows.

Broser("BR").page("PG").webbutton("index:=2").click

or

set objbutton=Description.Create()
objbutton("micclass").value="Webbutton"
objbutton("index").value="2"

browser(br).page(pg).webbutton(objbutton).click

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOw to add the recovery file at runtime to the test file .

2293


write script for bitmap image?

2117


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

3306


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

2005


What is the new version of qtp which is recently released in the market?

1162


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3446


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

2218


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

2015


What is the registration process and examination fees?

1164


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

1301


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

2168


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

2151


Hi All, How to get repeated word in string . Thanks Balaji

1423


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1869


any body can you help me what is the script to automate an comand promt

2566