Absolute Click
Posted: Thu Oct 10, 2019 2:07 pm
I am having issues with seeing a check box so it can be clicked.
This is a grid with headers
Currently what we do in a recording is
Get the Column: Searches the header for the name we select. In this case it's "Warehouse" (rawtext[@rawtext='Warehouse'])
Get the Row: We need to figure out which row based on the user which is the first column. In this case it's a variable. (rawtext[@column=$Column and @rawtext=$AssignedUser]
We then combine the 2 to either validate or click. (rawtext[@column=$Column and @row=$Row])
This works great in multiple situations and we use it a lot. It will find the row based on a user defined by a variable and the column based on the header name.
However, sometimes we have situations where there is a check box or a empty field and the repository doesn't find the cell. In the situation that brought on this post we need to click a checkbox that is either checked or unchecked but ranorex doesn't see it so it wont click.
My question is: I want to be able to click on a absolute position that doesn't rely on anything other than column + row.
Any help would be appreciated
This is a grid with headers
Currently what we do in a recording is
Get the Column: Searches the header for the name we select. In this case it's "Warehouse" (rawtext[@rawtext='Warehouse'])
Get the Row: We need to figure out which row based on the user which is the first column. In this case it's a variable. (rawtext[@column=$Column and @rawtext=$AssignedUser]
We then combine the 2 to either validate or click. (rawtext[@column=$Column and @row=$Row])
This works great in multiple situations and we use it a lot. It will find the row based on a user defined by a variable and the column based on the header name.
However, sometimes we have situations where there is a check box or a empty field and the repository doesn't find the cell. In the situation that brought on this post we need to click a checkbox that is either checked or unchecked but ranorex doesn't see it so it wont click.
My question is: I want to be able to click on a absolute position that doesn't rely on anything other than column + row.
Any help would be appreciated