I wanted to create Data Driven test for login page
(loginname,password). Password is same for all the
loginnames.
I recorded the script for one user. I mentioned all the
user names in the global excel sheet with the column name
as "Loginname". I mentioned 5 loginnames. I selected tools-
>datadriver and select loginname. Select parameterize and
select parameter all option.Changed the parameter name
to "loginname" which i mentioned in the global excel sheet.
I executed the script. For the users 2 and 4 only, the
script is failing... can anybody explain why the script is
failing for users 2 and 4.

Answers were Sorted based on User's Feedback



I wanted to create Data Driven test for login page (loginname,password). Password is same for all ..

Answer / raju

HI can u provide some more info on this...
If length of the username is less than 4 chars then we get
the error message.
That may be one case....pls verify and let me know..

Is This Answer Correct ?    0 Yes 0 No

I wanted to create Data Driven test for login page (loginname,password). Password is same for all ..

Answer / less than you

From best of my sense you no need to go for "for All"
options because in that case password will also be
parameterize which is not intended and click on next till
the finish. if still you are facing issue I will be
required more details.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?

4 Answers   TCS,


Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?

7 Answers   IBM,


what is key word driven frame work how to use keyword driven frame in QTP in a project

1 Answers   AppLabs,


what is Compile Module in QTP? what exactly it contains Functions or Actions?

2 Answers   GE,


pls tell me different type of automation frame works in QTP and which one need to select in client server application

7 Answers   Syntel,






Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.

0 Answers   Logix,


w is fragmentation and paging

1 Answers   MBT,


How to use Regular Expressions in QTP? give an example.

10 Answers   ABC, Accenture, Ordain Solutions, SCL,


Thanks Rag... One more question, How we test the dynamic images which frequently changed?Using the bitmap checkpoint r any other options available.... Can u give the steps pls... Thanks

1 Answers  


if there r 10 windows open in QTP write a command to close all 10 windows at a time ?

10 Answers   Wipro,


how you will do cookie testing using QTP?

2 Answers  


How many test scripts are prapare in ur project(HeathCare Insurance).

1 Answers   Virtusa,


Categories