Solved

How to retrieve list of elements from browser?

  • 22 January 2024
  • 9 replies
  • 122 views

Badge +3

Hi developers,

I have been working as UiPath developer and switched to AA.

I want to extract all div elements (innerText) as a List and then loop over it.

The alike functionality is given in UiPath as Find Children activity.

How can I achieve the same in AA360?

 

 

Thanks

icon

Best answer by aakash 2100 22 January 2024, 10:10

View original

9 replies

Userlevel 7
Badge +13

Hi @aakash 2100 ,

 

Could you please share the screenshot of this Web page and the also highlight the elements which you need to loop through?

 
Badge +3

Hi,

From linkedin, I want to extract all Author post content loaded in DOM after scrolling.

Or probably, I need to extract whole post Div and while looping, I can extract name, date, post content etc..

Userlevel 7
Badge +13

Hi,

From linkedin, I want to extract all Author post content loaded in DOM after scrolling.

Or probably, I need to extract whole post Div and while looping, I can extract name, date, post content etc..

 

Have you tried using the Get All Children values?

 
Userlevel 6
Badge +15

Hi @aakash 2100 ,

Please find the below,

After capturing the object, specify the action for the bot to do to the object at runtime.

Get all children names: retrieves the names of all the child elements of the captured control.

The child elements are the elements or controls that are available under the parent control and are only visible when you use spy tools like AccChecker

Get all children values: retrieves the values of all the child elements of the captured control.

 

 

 

Badge +3

You mean in capture action??

If yes, the capture will output only an element in an string varialbe??

I want all elements as List.

Userlevel 7
Badge +13

You mean in capture action??

If yes, the capture will output only an element in an string varialbe??

I want all elements as List.

 

 

Get All children values will save the result into a List variable only.

 
Userlevel 6
Badge +15

You mean in capture action??

Yes, Capture Action.

If yes, the capture will output only an element in an string variable??

For getting the Children Names/Values, you can store it as List.

Badge +3

Ohhhhh, got it guys,

Thank you so much for your help.

Badge

There was a problem at line 6

This may be due to the following reason: The input entered in 'sourceString' is incorrect. Location: Auction Sniper final (line 6)

To continue, edit the bot and fix the error. Then, try again. If you continue to see this message, please contact your system administrator.

Code: bot.execution.error 

can u plz help me i unable to do it (auction sniper) automation

 

Reply