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 |
In Developer view it is a high priority defect & in tester view it is a low severity defect what is that how to define with an example
How to capture a window in QTP?
plz can any one send me what is Automation Testing Frameworks.. Thanks in advance
If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...
Use of Multiple Actions in QTP?
how to load the *.vbs (or) test generating script in a new machine?
how to call a funtion in a script? i have saved the login scipt in notepad. with extension .vbs. But when i am calling the function with the keyword CALL <Function Name>. its not working out. can any one give me a clue how to call the external functions. with example.
How to retrieve the object properties at runtime without the usage of GetROProperty?
suppose i opened 6browsers and i want re-open the 4browser what is code for this..pls help me..
How we wil do data driven test using chkpts? Plz. give me complete navigation steps for this?
pls tell me how will you write the vb script in QTP for DataDriven test from Excel sheet for multiple userid and password explain with example
I want to install qtp software in my system, My operating system is vista . Anybody please suggest me how to get QTP software with licence key