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
what is the latest version of QTP? Main difference between 9.2 and 10 version
How to connect to a database?
Explain about the test fusion report of quicktest professional (qtp)?
how will load the object during runtime?
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.?
What is qtp window?
1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?
which type of testing process are you following in ur company? how to recognize a qtp page?
What is the virtual object?
What are the 3 main stages involved in testing with qtp?
How do you convert manual test cases to automated test cases?
How to create runtime property for an object?
What is object spy in quicktest professional (qtp)?
When do go for loop condition in test?
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 ?