Giter VIP home page Giter VIP logo

Comments (8)

Snooz82 avatar Snooz82 commented on July 30, 2024

Hi @hbirkdale,

can you put you console output here?
What are the names you get?

from robotframework-datadriver.

hbirkdale avatar hbirkdale commented on July 30, 2024

Sorry @Snooz82 - just realized i had posted some pws....here is the update

image

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
*** Test Cases *** Register with user '${username}', password '${password}' and outcome '${url_complete}' Default UserData

from robotframework-datadriver.

hbirkdale avatar hbirkdale commented on July 30, 2024

FYI - when I debug the robot, I took a look at &Datadriver_DATA_DICT, and here is what it shows.
{"Register with user ...": {'arguments': {...}, 'documentation': '', 'tags': [...], 'test_case_name': "Register with user ..."}, "Register with user ...": {'arguments': {...}, 'documentation': '', 'tags': [...], 'test_case_name': "Register with user ..."}, "Register with user ...": {'arguments': {...}, 'documentation': 'Manually confirm thi...st already', 'tags': [...], 'test_case_name': "Register with user ..."}, "Register with user ...": {'arguments': {...}, 'documentation': '', 'tags': [...], 'test_case_name': "Register with user ..."}}

I am not seeing any of the data that I put in the first column.

from robotframework-datadriver.

Snooz82 avatar Snooz82 commented on July 30, 2024

That is interesting and not as designed/intended.

i will check that

from robotframework-datadriver.

hbirkdale avatar hbirkdale commented on July 30, 2024

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.

from robotframework-datadriver.

Snooz82 avatar Snooz82 commented on July 30, 2024

@hbirkdale

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.
You can fix that by selecting the correct encoding.

Library           DataDriver    Deals.csv    dialect=userdefined    delimiter=,    encoding=utf_8_sig

Cheers

from robotframework-datadriver.

hbirkdale avatar hbirkdale commented on July 30, 2024

Hi @Snooz82 - I guess its possible. All I did was create the file in Excel and Save As with
image
However, there is an option to save with :
image
So let me try that and see if it works.
and I will also try changing the encoding too....:)

from robotframework-datadriver.

hbirkdale avatar hbirkdale commented on July 30, 2024

@Snooz82 You were right - that was it. As soon as I changed the encoding it the test case names came from the CSV. Thanks!

from robotframework-datadriver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.