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


suppose i give valid user id and password to open an web
base application on qtp.how qtp will know itis a valid user
id and password

Answers were Sorted based on User's Feedback



suppose i give valid user id and password to open an web base application on qtp.how qtp will know ..

Answer / rajesh

Hello boss,
QTP does not know or need not know whether itis valid user
name or valid password.if u write the below written script
to open ur account it will just pass the values wat u have
given in the script and clicks on sign in (or)on submit
button .if ur username is valid u will automatically login
to ur account,if its not then u will not login to ur
account.here qtp just passes wat ever the values u have
given in the script thats it ,it cant know whether itis
valid user name or invalid username

ur script will be like this to login:
browser(" yahooo").page("yahoo").webedit("signin").click

hope u wil understand this

regards,
Rajesh

Is This Answer Correct ?    6 Yes 1 No

suppose i give valid user id and password to open an web base application on qtp.how qtp will know ..

Answer / pankajb

Very Good Question.

We have to mention in our Descriptive Programming the
accurate UserID and Password. And the We should Write the
scripting which will make validation for Wrong UserID and
Password. It is a lengthy process but, will work. There
will be around about 7 parameters in Data Table.
'Blank User Name & Blank Password
{Checked Client Side Validations}
'Blank User Name & Filled Password
{Checked Client Side Validations}
'Filled User Name & Blank Password
{Checked Client Side Validations}
'Wrong User Name & Right Password
{Checked Server Side validations)
'Right User Name & wrong Password
{Checked Server Side validations)
'Wrong User Name & wrong Password
{Checked Server Side validations)
'Right User Name & Right Password
{Checked Server Side validations)

Is This Answer Correct ?    5 Yes 1 No

suppose i give valid user id and password to open an web base application on qtp.how qtp will know ..

Answer / thomas

QTP cannot assume itself the given username and password
is correct.

1)May be the above said technique can used to achieve the
result

or

2)After entering username and password.verify the expected
window or page displays.

ex: Browser(**).page(**).webelement(**).exist = True

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More QTP Interview Questions

What are advantages of test automation?

0 Answers  


What are the Levels of Automation in QTP

2 Answers  


Hi Friends... What you are doing in Regression Testing and how many test cases you ran in regression testing... suppose there is 1000 test cases is there how many test cases again you run .. 1000 test caes r how many... thanx in advance..

6 Answers  


Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script

18 Answers   IBM,


Can any body explain me how to prepare QTP frame work with an example?? alexander.gdk@gmail.com

1 Answers  


object types is used for what?

1 Answers  


what is Compile Module in QTP? what exactly it contains Functions or Actions?

2 Answers   GE,


Plz give the vb script for the following scenerio I have faced one issues while doing test in QTP. I have described the scenario below. 1. I have to test web application.In that i want to select from the drop down values in the application. 2. Suppose Drop down has 5 value "A,B,C,D,E".I would like to give value from data table of QTP. 3. For every iliteration it should select A,then B and so on

0 Answers  


Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.

1 Answers  


How to save your test using quicktest professional?

0 Answers  


what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


What are the Features & Benefits of Quick Test Pro (QTP)..?

5 Answers  


Categories