MW_Didata
2 years agoRegular Contributor
Alternative for set_item in grids
For a test TC needs to enter a artikelnumber, then set 1 of the checkboxes to true,
I use set_item for this action.
On screen it looks like it is true but after saving the changes and reopening the grid, my grid is empty.
This is because if no checkbox is true then it removes these artikels.
So it does not change the checkbox to true, only the visual checkbox.
This action does works in other grids in my program.
Really my question is, are there alternatives other than selecting this checkbox and pressing [Enter]?
The Fix I applied it selecting the cell with "Select_7" and pressing [Enter] this toggles the checkbox but adds a lot of steps to my test.
It works but if anyone has a better fix let me know!