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
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
what is the difference btn risks & Therads in the Test plan documentation?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
How to create Reusable and Multiple Actions?
What are the types of object repositories? Which one is you using?
Can we create user defined functions in qtp?
Your roles and responsibilities and daily tasks? (As automation tester)
We stored into the objects OR and then write the scripting
when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks
Mention what are the different types of recording modes in qtp? Which will be used when?
Explain how qtp identifies object?
In the website, the protocol has been changed http: to https what you will do? Tell me your approach?
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.