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
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 |
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 |
Where we can use the analog mode and where we can use the low – level mode?
How will you handle the situation when object is not captured during record?
some times we write user define functions.where we write main and sub program,how,where to insert the functions in qtp?
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all..
what are the areas that cannot be tested using an automated tool? list a few
I am using DataTable.ImportSheet method to import the data from an excel sheet to the Runtime DataTable of QTP. here is my piece of code DataTable.import("c:\DataSheet.xls","Members","Members") The first row headings of Members sheet of DataSheet.xls and Members sheet of QTp are matched. but the QTP is taking very long time(approximately half an hour) to import the data into runtime datatable even though the DataSheet.xls has one or two rows in it. Please let me know why this is happening and is there any alternative for impoting the data into runtime datatable of qtp ?
Hi, How to export the Checkpoints and Output values(Test area output values) from Object Repository to Excel
When ‘option explicit’ keyword is used in qtp?
What is the Difference between Environment variable and Globle variable,.. anybody can give me answer..Thanks in advance...
write a script for get the following result: username password frm the string1="A=username" string2="B=password"
can u tell me website address of VBscript with examples.
Basically why we need testing?