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

How to test login page by using QTP

Answer Posted / jason

Assuming its an web based application :

1) Invoke the application thru your browser
2) Add objects to OR
3) You can next copy this current action to another one,
can do that by using " Copy the existing Action "
4) In expert view u have 2 actions
5) The first action in keyword view, should be like this :
if ( Browser(..).Page(..).exist) then
{
type ehat do u wanna do in ur login page ;
}
else
In the action column of keyword view for second action,
choose "Activate".
In your expert view , it wiill look like this.
{
Browser(..).Page(..).Activate
// rest of the statements.
}

Next u can check for Username and passwords fields,
handling the negative scenarios also.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use reporter.report event in qtp ?

1036


why you have standardized functions? plzzz guys with real time exp. do answer

1849


How to find operating system information using the qtp script?

1091


What are the differences between quicktest professional and winrunner?

1003


unique properties of button,edit box, radio button,check box?

4508


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

2077


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

1205


How many types of recording facility are available in quicktest professional (qtp)?

1064


Explain the features and benefits of quick test pro(qtp)?

970


how to i add the values using the check points property?( i.e valid data(for valid data it's giving the footer message:value is added) and for invalid data: special chars, spaces,Duplicates and null values (in my page when ever we enter special chars, spaces and null values, it's giving the proper warning message and for Duplicates it's giving the footer message:"value already exists)?

1900


What is system testing and what are the different types of tests you perform in system testing?

1157


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

1111


How do I get the QTP scripts result in xml format by using vb script function?

2273


Should have experience in framework means?

1884


Does quicktest professional (qtp) is unicode compatible?

1014