How to automate Import file from dialog using Data-Driven

Ranorex Spy, Recorder, and Studio.
jinncrazer
Posts: 1
Joined: Tue Sep 15, 2020 1:18 am

How to automate Import file from dialog using Data-Driven

Post by jinncrazer » Tue Sep 15, 2020 1:26 am

Hi guys!

How to automate import file using data driven?
Attachments
123.JPG
123.JPG (41.62 KiB) Viewed 18 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6180
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to automate Import file from dialog using Data-Driven

Post by odklizec » Fri Sep 18, 2020 7:49 am

Hi,

You can find everything about data driven testing here:
https://www.ranorex.com/help/latest/ran ... roduction/

Additionally, there is a webinar about mastering data driven testing:
https://www.ranorex.com/automated-testi ... n-testing/

Basically, you must create a data connector (csv, excel or db), containing the path/file name of the file you wish to load/apply somewhere in your test. And then connect this data connector to appropriate recording/code module, via module variable. And of course, the module variable must be applied somewhere in recording/code module.

Unfortunately, it;s impossible to tell how exactly you should implement all this in your solution, because we don't know any details about test case. So I would suggest you to start with some theory (from the links I posted) and then try to implement this approach in your scenario. Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration