-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datadriver not picking up test case name from CSV #62
Comments
Hi @hbirkdale, can you put you console output here? |
Sorry @Snooz82 - just realized i had posted some pws....here is the update As you can see, the test cases are being named from my one and only test case in robot.task - "Register with user {something}, password {somethingelse} and outcome {someurl}" This is what was in robot.task |
FYI - when I debug the robot, I took a look at &Datadriver_DATA_DICT, and here is what it shows. I am not seeing any of the data that I put in the first column. |
That is interesting and not as designed/intended. i will check that |
FYI -- I am using RPA Framework in VS Code for running and debugging. |
Can it be, that your CSV file is not really UTF-8, but UTF-8 with BOM (Byte Order Mark)? Because in that case i can reproduce your behaviour.
Cheers |
Hi @Snooz82 - I guess its possible. All I did was create the file in Excel and Save As with |
@Snooz82 You were right - that was it. As soon as I changed the encoding it the test case names came from the CSV. Thanks! |
I thought I saw in tutorials that DataDriver would pick up test case names from the CSV file, but that doesn't seem to be happening for me. The tests are definitely running, and the [Documentation] data is being picked up. Here is my setup:
DATA
TASKS.ROBOT
followed by the "Register as a deals user" keyword - which does execute.
Am I missing something?
The text was updated successfully, but these errors were encountered: