Hello I have several tables in HTML that hold permission options
View Modify Create Delete
I can use a csv to select tick boxes on rest of website but it is not working for these tables... I have attached snapshot of problem i have also included csv and screen shoot...
Please not i am not a coder
Select tick box in table 4 per row
Select tick box in table 4 per row
You do not have the required permissions to view the files attached to this post.
Re: Select tick box in table 4 per row
Hi,
How did you create the CSV file? It seems that the format is changed for given table items?
How did you create the CSV file? It seems that the format is changed for given table items?
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 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
Re: Select tick box in table 4 per row
whoops wrong file...... that was one of my tests trying to change things sorry
You do not have the required permissions to view the files attached to this post.
Re: Select tick box in table 4 per row
OK. Now the table in snapshot you posted, shows items from 'Area' to 'GDPR'. But the csv contains much more rows? Does this means that the table is dynamically loaded while scrolling? Or the CSV simply contains items also for other tables?
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
Re: Select tick box in table 4 per row
it is holding everything for all the other tables: that are based on the drop-down at top of the page.
currently, I have them all together but happy to split themYou do not have the required permissions to view the files attached to this post.
Re: Select tick box in table 4 per row
Hi,
I think the goal is relative simple and does not even need user code. See the attached sample project. Basically, you must create a data connector from the csv file you posted. You don't even have to split it, just set the correct range. Then you must create a recording, with 5 variables, connected to data connector (accessRights, view, modify, create and delete). And also repository elements, which points to appropriate row (found via accessRights variable) and associated view, modify, create and delete celss, using following-sibling relationship operator... And of source, SetValue action, which should set the Checked attribute state to the one from data connector. As long as there is no "onmouse" event associated with each check, the SetValue action should happily set the appropriate value. Otherwise, you will have to use a Mouse Click action and a small piece of code, which would convert True/False strings from data connector to mouse clicks.
The attached sample should then go through the data connector rows (one by one), find correct row and from it go to the associated cell with checkboxes and set the Checked value, obtained from data connector.
Hope this helps?
I think the goal is relative simple and does not even need user code. See the attached sample project. Basically, you must create a data connector from the csv file you posted. You don't even have to split it, just set the correct range. Then you must create a recording, with 5 variables, connected to data connector (accessRights, view, modify, create and delete). And also repository elements, which points to appropriate row (found via accessRights variable) and associated view, modify, create and delete celss, using following-sibling relationship operator... And of source, SetValue action, which should set the Checked attribute state to the one from data connector. As long as there is no "onmouse" event associated with each check, the SetValue action should happily set the appropriate value. Otherwise, you will have to use a Mouse Click action and a small piece of code, which would convert True/False strings from data connector to mouse clicks.
The attached sample should then go through the data connector rows (one by one), find correct row and from it go to the associated cell with checkboxes and set the Checked value, obtained from data connector.
Hope this helps?
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 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
Re: Select tick box in table 4 per row
Wow thanks i understand this that: just run a quick test with data and it is ignoring if false: if i make blank everything works... Thank You for detailed help
Re: Select tick box in table 4 per row
Hi,
This should not happen. Unfortunately, without seeing your app, and exact implementation of test, it's impossible to tell what's wrong? Hence, I would suggest to recheck your test and if you feel that everything is OK, ask for help Ranorex support (via support form). They may eventually check what's wrong via remote session.
This should not happen. Unfortunately, without seeing your app, and exact implementation of test, it's impossible to tell what's wrong? Hence, I would suggest to recheck your test and if you feel that everything is OK, ask for help Ranorex support (via support form). They may eventually check what's wrong via remote session.
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