if there is two login button in your page, how you know that
this login button is correct for login .
Answer Posted / rangalnrt
But before going operate the button check whether that button is enabled or disabled
set objbutton=Description.Create
objbutton("micclass").value="Webbutton"
objbutton("name").value="login"
set childs = B().P().childobjects(objbutton)
for i=0 to childs.count-1 step 1
if Broser("BR").page("PG").webbutton("index:="&i).getroproperty("Enabled") then
Broser("BR").page("PG").webbutton("index:="&i).Click
end if
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain how you can find length of array in qtp?
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
how u will evaluate the tool for test automation?
Explain different type of event trigger option.
How many types of recording modes are there?
Have you used xml check point in your project?
Is it possible to switch between recording modes during a test creation?
How many types of parameters are there?
How to creating an output value using quicktest professional (qtp)?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
What is a reusable action?
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
What are the types of object repositories? Which one is you using?