adspace
There is one login screen,after accepting valid username
and apassword, it will show the next screen. In the 2nd
screen u r having 2 combo boxes, U have to select any item
from these, and click OK button. After closing that, it
will show the 3rd screen. If u click CANCEL button from 2nd
screen it will show the first screen. Write QTP script for
it???
Answer Posted / uday
Hi,
The code looks like below:
browser().page().webedit().set "username"
browser().page().webedit().set "password"
browser().page().weblist().select "SelectItem"
btnName=browser().page().webedit().getROProperty("value")
if btnName="Cancel" then
check for 2 page itself
B().P().exists
else
check for 3rd page
end if
| Is This Answer Correct ? | 2 Yes | 9 No |
Post New Answer View All Answers
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
can anyone tell me from where i can download qtp demo or crack version
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
HOw to add the recovery file at runtime to the test file .
What is the registration process and examination fees?
what kind of frame work you used in your last project?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
what type of framework u r using in ur organization
Define Environment Variable in UFT and its uses?
Can you brief the hurdles you faced during Automation testing?
What is the new version of qtp which is recently released in the market?
How are actions and functions different in QTP?