How to automate by looping files from a .csv file

Asked by Aldrin

My task is to create an automated testing for our web-based dashboard. I need to know how to loop and use .csv to avoid hard coded type of coding. Also I need to know how to automate by using text reading type of searching in Sikuli. Thank you!

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

scan this board for this very often asked questions and the faqs section and/or learn some basic Python.

Revision history for this message
RaiMan (raimund-hocke) said :
#2

Are you planning to use the Sikuli IDE to setup scripts using Python language?

What is your scripting/programming knowledge?

Did you already play around with EggPlant?

In every scripting and programming environment, there are modules/libraries available, that allow to read and write CSV files.
Python: https://docs.python.org/2/library/csv.html

SikuliX has a text search feature and an OCR read function based on Tesseract.
Read the docs about the possibilities
http://sikulix-2014.readthedocs.org/en/latest/index.html

and be aware: the text feature has many restrictions and quality issues (read about in this Q&A and the bugs)

Revision history for this message
Aldrin (aldrincartago) said :
#3

Yes, I'm planning to use Sikuli IDE.

I have a knowledge in Java and my team have tried EggPlant and they want me to research for another testing tool.

Thank you for helping me again Sir Raiman, I will read the links and will consult again. Thanks!

Regards,
Aldrin Cartago

Can you help with this problem?

Provide an answer of your own, or ask Aldrin for more information if necessary.

To post a message you must log in.