Skip to main content
Question

Get list from xpath with object cloning

  • September 1, 2022
  • 1 reply
  • 89 views

Forum|alt.badge.img+4

Hello,

i try to get ouput (list) from xpath with object cloning . i Don't know how i can ​do it.

please i need all assistance .

In example below we have two output of xpath request. My goal is to get all and put it in variable.

 i use AAE V11.3

 

Capture d’écran 2022-09-01 120917

1 reply

Ashwin A.K
Forum|alt.badge.img+10
  • Navigator | Tier 3
  • September 2, 2022

Hi @Isaiah OLOYEDE​ ,

 

Try using the Recorder: Capture Action and toggle the operation to Get Property -> HTML InnerText.

This will save the text to a string variable, but you have to refine the XPath before passing it into the DOMXpath field.

 

if you are still stuck, then we'd appreciate it if you could share a screenshot of the inspected element(Ctrl+Shift+I).

 

Kind Regards,

Ashwin A.K