How could I select only first element of a column.And all row value of the particular column are same.But I have to select only first value

886 views Asked by At

Please help me by selecting the above Success only.

I have tried the below:

Element Text Should Be  ${SUCCESS}    Success 

Variable.txt

${SUCCESS}    xpath =  //*[@id='ctl00_PageBody_ViewCommandsGrid']/tbody/tr[2]/td[4]  

Error in RIDE:
 FAIL : ValueError: Element locator 'xpath = //*[@id='ctl00_PageBody_ViewCommandsGrid']/tbody/tr[2]/td[4]' did not match any elements.
0

There are 0 answers