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

Hi Friends...this is surendra..recently i joined automation team ...Please send me some documents regarding VB script ...and where can i learn VB script... This is My mail id: surendra.mamilla@gmail.com... please send to my mail.... Thanx in advance surendra.

1 Answers  


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

0 Answers  


When we parameterise some field ex. Textbox is there any way that we can generate a specefic number of random values (For alphabetical values if possible) instead of manually entering values in the data table

2 Answers  


what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs

1 Answers  


We have opened three browser such as Facebook,Gmail,Amazon,I want to generate the script of Login of Amazon application, but while adding the object such as edit box(user id,password) in OR is not added.Could you please resolve my issue

1 Answers   IBM,






what is the advantages and disadvantages of using functions instead of re usable actions

0 Answers  


How to run a test using quicktest professional (qtp)?

0 Answers  


How to supress warnings from the "Test results page"?

4 Answers  


diff between winrunner and qtp

1 Answers   Wipro,


How many type of status messages are there ..explain?

5 Answers  


Key word driven framework

0 Answers   Wipro,


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

0 Answers   Virtusa,


Categories