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

What is environment variable in qtp and why to use it?

543


How to get the particular property value?

608


How to handle the exceptions using recovery secnario manager in quicktest professional?

626


What is the extension of the recovery scenario file in qtp?

534


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

1496






why text area checkpoints cannot used for web applications

1878


Explain about Test Fusion Report of QTP?

609


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3048


whare exactly we have to use functions and sub routain

1840


Hi,All How to create a link in excel sheet using qtp

2995


When should I use smart identification?

597


what type of framework u r using in ur organization

1640


what is the difference between IE & Netscape in web testing on a log in page

1788


Can we run multiple QTP scripts one after the other without manual intervention? How?

590


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

1858