adspace
How to test login module with different username and password by using data driven testing in QTP?
Answer Posted / Sudhir Kumar Giri
To test a login module with different usernames and passwords using Data-Driven Testing (DDT) in QuickTest Professional (QTP), follow these steps:
1. Create an Excel spreadsheet containing multiple rows, each row representing a unique username and password combination.
2. In QTP, create a test script for the login process and place it in a test module.
3. Use the Test Object Spy tool to identify the objects (such as text boxes and buttons) used during the login process.
4. Use Data Table functionality in QTP to read the data from the Excel spreadsheet and input the username and password into the corresponding objects in the script.
5. Run the test script, which will execute the login process for each row of data in the Excel file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
Hybrid framework supports Descriptive programming. Is it true?
What is the registration process and examination fees?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
can anyone tell me from where i can download qtp demo or crack version
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
Hi All, How to get repeated word in string . Thanks Balaji
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
Tell some commonly used Excel VBA functions?
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
How to give a call to another action from one action?
HOw to add the recovery file at runtime to the test file .
write script for bitmap image?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
When to use shared and local object repository?