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
tell me abt a time when u had to go above &beyind the call of duty to get the job done
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
How would you export a script from one pc to another in qtp?
why should we give deliver good quality software?
Why bpt?
if our qtp vb Script may be Currepted then What we want do?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
please post the interview questions for QA position in FACTSET
what is the structure for the data driven framework
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
What is the difference in testing a client-server application and a web application?
How to find the name of the machine where you are running your automation scripts in qtp?
How do you know the location Id of an object if you know its index id?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
what is the difference between built-i function and In-built function?