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
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 |
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 |
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 |
can i able to connect any version of qtp to any version qc
For Usability testing, which is preferable Automation or Manual?
How u perform exception handling in QTp,what is other name for ths?
How to record right click of a context menu and click on the selection ?
Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding in the middle of TEst...what u will do.
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
How may types of defects identify application or your currently working application?pls give me answer..
what is difference between application testing and product testing?
How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?
what is the difference between link and hyperlink?
What is the difference between client server application and web based application?
What are Add-ins availble in licensed version QTP8.2