Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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???



There is one login screen,after accepting valid username and apassword, it will show the next scre..

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

Post New Answer

More QTP Interview Questions

Explain more about the Test Fusion Report of QTP?

0 Answers  


What is the difference between Client/Server application and Web application ?

2 Answers   ArisGlobal,


What are the benefits of quick test pro(qtp)?

0 Answers  


What are the enhancements u did after recording ur script?

1 Answers  


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?

0 Answers  


What is Virtual object wizard in QTP?

4 Answers  


Explain different types of action in qtp?

0 Answers  


How to handle run time errors?

9 Answers  


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

1 Answers  


what is diff b/w function and action?

8 Answers   VSoft,


How to "Turn Off" QTP results after running a Script?

4 Answers  


Categories