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
What is environment variable in qtp and why to use it?
How to get the particular property value?
How to handle the exceptions using recovery secnario manager in quicktest professional?
What is the extension of the recovery scenario file in qtp?
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,,,,,,,
why text area checkpoints cannot used for web applications
Explain about Test Fusion Report of QTP?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
whare exactly we have to use functions and sub routain
Hi,All How to create a link in excel sheet using qtp
When should I use smart identification?
what type of framework u r using in ur organization
what is the difference between IE & Netscape in web testing on a log in page
Can we run multiple QTP scripts one after the other without manual intervention? How?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?