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 / 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 |
Explain more about the Test Fusion Report of QTP?
What is the difference between Client/Server application and Web application ?
What are the benefits of quick test pro(qtp)?
What are the enhancements u did after recording ur script?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
0 Answers Sapient, Satyam, TCS,
Why is action split used by qtp?
What is Virtual object wizard in QTP?
Explain different types of action in qtp?
How to handle run time errors?
In application have 2 list box oppsite list box two edit box is there.so now through using DP how can we select 3 opption in first list box and 2box semect 4 opption.in edit box also we have to write 25 ,28.how can we do this
what is diff b/w function and action?
How to "Turn Off" QTP results after running a Script?