Buttons in Data Driven Testing
-
- Posts: 14
- Joined: Tue Jun 09, 2020 3:31 pm
Buttons in Data Driven Testing
Is it possible to use the attached buttons (see attached image) in Data Driven testing. So that in my data source file i can specify which button can be clicked while performing the test. Thank you
- Attachments
-
- Range Selection Buttons.png (7.99 KiB) Viewed 176 times
Re: Buttons in Data Driven Testing
Hi,
Could you please post a Ranorex snapshot of the panel with buttons? Without, at very least, Ranorex snapshot, it's hard to tell something definitive. But generally speaking, yes, it should be possible.
Basically, you need to create a repo element, with general xpath, pointing to buttons in given dialog, where the button name (ID, inner text, label, etc...) should be represented by variable, connected to data connector of your choice. And in this data connector, you can specify button names. Hope this helps?
Could you please post a Ranorex snapshot of the panel with buttons? Without, at very least, Ranorex snapshot, it's hard to tell something definitive. But generally speaking, yes, it should be possible.
Basically, you need to create a repo element, with general xpath, pointing to buttons in given dialog, where the button name (ID, inner text, label, etc...) should be represented by variable, connected to data connector of your choice. And in this data connector, you can specify button names. Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
-
- Posts: 14
- Joined: Tue Jun 09, 2020 3:31 pm
Re: Buttons in Data Driven Testing
It worked by using control text. Thank you