Hello, we may be missing something but we have a tough time to figure out if and how we can write a selenium locator to get the values of a selected row. Any other ideas would also be helpful
For example
//ListGrid[ID="<someID>"]/body/row[0]/col[fieldName=<someField>]
Works well to get the value of somefield in the first row of that ListGrid
We tried stuff like
//ListGrid[ID="<someID>"]/body/row[activeRow=true]/col[fieldName=<someField>]
//ListGrid[ID="<someID>"]/body/row[selected=true]/col[fieldName=<someField>]
Without success
Is there something that could help us here?
For example
//ListGrid[ID="<someID>"]/body/row[0]/col[fieldName=<someField>]
Works well to get the value of somefield in the first row of that ListGrid
We tried stuff like
//ListGrid[ID="<someID>"]/body/row[activeRow=true]/col[fieldName=<someField>]
//ListGrid[ID="<someID>"]/body/row[selected=true]/col[fieldName=<someField>]
Without success
Is there something that could help us here?
Comment