Skip to main content
Solved

Xpath is correct but not working in AA360 capture

  • Apr 13, 2023 7:34 AM UTC
  • 1 reply
  • 476 views

The following xpath works fine in inspect HTML elements but when we use in AA360 to capture element its not working exact.

//td[text()=' $userID$ ']/following-sibling::td[@class= 'word-break']//following-sibling::span[@class='dropdown admp-make-inline-block']

I need to capture a button where the user ID gets matched from the table multiple rows exists. Kindly Guide.

Best answer by amore17

Hi @farrukh 3229 ,


After reading the issue, I suspect the object you are capturing its under Iframe.

1)Try with AISense recorder or Universal recorder.

If it's still not working, then try 2nd option.

2)Capture any other object which is working fine and then use KEYSTROKE (like TAB or Down Arrow) to move the control on the button you want to click. 

Thanks

View original

1 reply

amore17
Most Valuable Pathfinder
Forum|alt.badge.img
  • Most Valuable Pathfinder
  • Answer
  • Apr 13, 2023 10:10 AM UTC

Hi @farrukh 3229 ,


After reading the issue, I suspect the object you are capturing its under Iframe.

1)Try with AISense recorder or Universal recorder.

If it's still not working, then try 2nd option.

2)Capture any other object which is working fine and then use KEYSTROKE (like TAB or Down Arrow) to move the control on the button you want to click. 

Thanks