Tick or skip Check boxes in data driven testing

Ask general questions here.
[email protected]
Posts: 15
Joined: Tue Jun 09, 2020 3:31 pm

Tick or skip Check boxes in data driven testing

Post by [email protected] » Thu Jun 18, 2020 8:48 pm

I have an action in my recording which ticks a check box. I would want to link this action to a column in my data source so that during tests it is either ticked or skipped based on the value in the data source. Is that possible
You do not have the required permissions to view the files attached to this post.

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

Re: Tick or skip Check boxes in data driven testing

Post by odklizec » Thu Jun 18, 2020 10:14 pm

Hi,

Please upload a Ranorex snapshot (not screenshot) of the checkbox in question. There is not much anyone here can do or suggest, without seeing the app under test, or, at very least, Ranorex snapshot.
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

[email protected]
Posts: 15
Joined: Tue Jun 09, 2020 3:31 pm

Re: Tick or skip Check boxes in data driven testing

Post by [email protected] » Fri Jun 19, 2020 8:26 am

Ok, I have attached the snapshort here. Thanks
You do not have the required permissions to view the files attached to this post.

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

Re: Tick or skip Check boxes in data driven testing

Post by odklizec » Fri Jun 19, 2020 8:42 am

Hi,

Thanks for the snapshot. So, what you can try is to use SetValue action, where you set Checked value via variable connected to data connector of your choice...
SetValue.png
You do not have the required permissions to view the files attached to this post.
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

[email protected]
Posts: 15
Joined: Tue Jun 09, 2020 3:31 pm

Re: Tick or skip Check boxes in data driven testing

Post by [email protected] » Tue Jun 30, 2020 10:48 am

Thank you so much