Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

what is the latest version of QTP? Main difference between 9.2 and 10 version

2141


How to connect to a database?

1129


Explain about the test fusion report of quicktest professional (qtp)?

991


how will load the object during runtime?

2091


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

1088


What is qtp window?

997


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1570


which type of testing process are you following in ur company? how to recognize a qtp page?

1782


What is the virtual object?

1136


What are the 3 main stages involved in testing with qtp?

1082


How do you convert manual test cases to automated test cases?

1107


How to create runtime property for an object?

1981


What is object spy in quicktest professional (qtp)?

944


When do go for loop condition in test?

1084


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1940