Data-Driven Soure file -- CSV
-
Thursday, August 16, 2012 11:14 PM
Hi Friends,
I am facing a issue in Data Driven using .csv file for test user login function.
I have several different value sets in the file.
But I do not know how to input a 'space' value into the password field?
Thanks for your help.
DQ
- Edited by David_Qin Thursday, August 16, 2012 11:17 PM
All Replies
-
Friday, August 17, 2012 1:09 AM
Hi,
If you are not worried about password security then you can treat the password field as a normal edit field(change the Type property from Password to SingleLine) and then use the password from the csv. I am not sure if I understood the problem. Please share more details about what issue you are facing when you send the space to the edit box.
Regards,
Pankaj
Utility to run CUIT Ordered Tests for multiple iterations (Now with automated result mailing) @ http://cuitbatchrunner.codeplex.com/
-
Friday, August 17, 2012 4:35 PM
Thanks Pankaj,
In my CSV file, I have 3 columns: UserName, Password, Result
And I added some scenaros, like : Name1 , PWD1, Result1
Name2, PWD2,Result2
These all works fine.
Now I want add one more scenaro, I just want to input a space in the password field, but I do not know how to do it in the CSV file.
DQ
-
Friday, August 17, 2012 10:35 PM
Hi,
I am also finding it hard to input only spaces using csv. Trying my hands on it. Will update if I get any solution. In the meanwhile try formatting the csv using excel and save it with the password column formatted as Text.
Regards,
Pankaj
Utility to run CUIT Ordered Tests for multiple iterations (Now with automated result mailing) @ http://cuitbatchrunner.codeplex.com/
- Proposed As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Tuesday, August 21, 2012 9:45 AM
- Marked As Answer by Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator Friday, August 24, 2012 5:22 AM

