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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to call from one action to another action in qtp?

544


How many add-ins comes by default with quicktest professional (qtp)?

545


What is use of object spy?

599


Define object spy ?

548


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

1290






what is command for executing files?

1500


How is test case write?

566


Explain different types of action in qtp?

560


Explain in brief about the quicktest professional (qtp) automation object model?

548


How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..

1705


how to download mercury qtp9.2 ny internet ?

2942


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

1785


Explain the differences between table and db checkpoints?

560


can test automation improve test effectiveness?

1474


terminal services client

1774