Giter VIP home page Giter VIP logo

Comments (3)

Snooz82 avatar Snooz82 commented on July 30, 2024

You can create your own DataReader. It is quite easy.

https://github.com/Snooz82/robotframework-datadriver/blob/master/Readme.rst#custom-datareader-classes

When you want to have a XLS-Reader that does not require variable syntax, you have to override/implement the method _analyse_header in your custom reader.

You can copy it from Abstract_Data_Reader .
And not use the _is_variable() method.

For CSV there is the generic_csv_reader.py .
This one requires nothing. It just takes all columns as Variables.

I prefer the variable syntax, because the link is clear.
In the future @ and & will also be available to support lists and dictionaries.

Regards.

from robotframework-datadriver.

Snooz82 avatar Snooz82 commented on July 30, 2024

If you have implemented a generic_xls_reader, please create a pull request, then i will include it into the project

from robotframework-datadriver.

DoanhPoPu avatar DoanhPoPu commented on July 30, 2024

Thanks Snooz82. So I will keep the variable pattern as current, I will modify the old xlsx data sources into new pattern as the lib required.
Thanks for your valuable lib ;)

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.