cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to get the values in the tree element into collection otr is it possible to convert the web element into list item

Miya
Level 5
Hi'

   I have list of items around 10000 camp names, i use BP6.8 version, it is a web application .

when i spy in browser mode i get it as web element , is there any way to convert it to list web from the web element so that i can use read stage  and get all the items into collection.  

when i spy the same same list of elements in UI mode i get is in tree view, is there any way to get all the elements in the tree into collection

------------------------------
Miya
------------------------------
2 REPLIES 2

TobiasArnold
Level 6
Hi Miya,

it is difficult to say. Is the information organized in an HTML table element? Then you will have a chance to grab it as a collection. If not, will have more effort:
In a read activity you can grab the html value with the "Get HTML" action. Parse this value with an appropriate regular expression, or use the "HTML agility pack" to extract the needed information: https://html-agility-pack.net/

------------------------------
Tobias Arnold
RPA Developer
ITERGO GmbH
Europe/Duesseldorf
------------------------------

Hi,

in case it is possible then spy the element one level above your list of items. Then you will get rid of the web element and you could choose from the list in App Modeller whatever element you want. But then you need to modify your HTML path accordingly so that it is recognized. 

I do this procedure in case I can't spy an HTML table as a table but I can spy the cells. Then I spy something close to the table so that I can see the HTML Path and modify it accordingly to get the web element Table.

Regards

Zdenek

------------------------------
Zdeněk Kabátek
Head of Professional Services
NEOOPS
http://www.neoops.com/
Europe/Prague
------------------------------