Select Checkboxes based on xlxs

Best practices, code snippets for common functionality, examples, and guidelines.
cs97jjm3
Posts: 15
Joined: Mon Jan 14, 2019 4:30 pm

Select Checkboxes based on xlxs

Post by cs97jjm3 » Fri Sep 27, 2019 2:54 pm

Hello I am doing a web app and have a screen with a few Checkboxes (see attachment)
Annotation 2019-09-27 144810.png
Annotation 2019-09-27 144810.png (10.72 KiB) Viewed 104 times
i am only looking at ones highlighted.

I have a excel file which i am building which will have a row of what should be selected
ie:
chkAllowTSEditAfterInvoice chkAllowTSEditAfterPayroll chkAllowTSEditAfterProforma chkAllowTSEditAfterCreditNote
TRUE FALSE FALSE FALSE
FALSE TRUE FALSE TRUE
FALSE FALSE FALSE FALSE

any ideas on best way to code, i will have over hundred rows if i get it working

ps. I am not a coder,

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

Re: Select Checkboxes based on xlxs

Post by odklizec » Fri Sep 27, 2019 2:58 pm

Hi,

Please post a Ranorex snapshot (NOT screenshot) of the screen with checkboxes. Thanks.
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

cs97jjm3
Posts: 15
Joined: Mon Jan 14, 2019 4:30 pm

Re: Select Checkboxes based on xlxs

Post by cs97jjm3 » Mon Sep 30, 2019 8:50 am

Sorry for the delay: left early Friday.

I have managed to solve this by using Set Value > Checked >$<fieldname>

everything is working

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

Re: Select Checkboxes based on xlxs

Post by odklizec » Mon Sep 30, 2019 8:56 am

Hi,

Good to hear that! ;)
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