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
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
Can we run test with out adding object in object repository? How it is possible?
How the exception handling can be done using quicktest professional?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
What is the extension of the qtp local repository?
How to test results for qtp ?
What is output value? How many types of output values are there in qtp?
Plz Explain How to access Or Store Script from VSS? Explain Real time work (qtp) where you store folders and next to how to you access that folders and how you maintain folders in VSS ? What are the Menu's in VSS? Suppose in Manual, by using Checkin Checkout u can access documents. how you access in QTp REal time?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
How to data driven test for Win objects in QTP ?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
Explain sub procedure of vbscript.
How to find operating system information using the qtp script?
describe some problems that u had with automating testing tool?