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
Approach for Installation,comaptibility,system testing
What is the virtual object?
Explain how Does Run time data (Parameterization) is handled in QTP?
What is the use of ordinal identifier in qtp?
How can you give wait up to 10 seconds in qtp?
Why qtp the best testing tool?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
How to explain a banking project in interview as a test engineer???
What is expert view in qtp?
what QTP Options do you know?
How did you resolve conflicts present in Object Repository?
What is a quick test professional?
Is any limitation to xml checkpoints?
How do you create new test sets in td?
How will you compare keyword and expert view?