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


Please Help Members By Posting Answers For Below Questions

Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com

1864


Hybrid framework supports Descriptive programming. Is it true?

1236


What is the registration process and examination fees?

1162


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.

2217


can anyone tell me from where i can download qtp demo or crack version

2081


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

2479


Hi All, How to get repeated word in string . Thanks Balaji

1423


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3446


Tell some commonly used Excel VBA functions?

1130


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

2396


How to give a call to another action from one action?

1169


HOw to add the recovery file at runtime to the test file .

2291


write script for bitmap image?

2117


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

2022


When to use shared and local object repository?

1160