Please explain me scrapoing methods in laymans words
Let’s summarize
Default
In this option UiPath tries different ways of reading text, starting with the simplest method and moving to more complex ones until it finds text to return. This is a good starting point when you’re not sure which method will work best.
Text Attribute
This method directly reads the text from the UI element’s text attribute. Good option when you know the text is stored in the element’s text attribute, which is common in web and desktop applications. It’s fast and reliable but only works if the text attribute contains the data you need.
Fulltext
It grabs everything, including text from the target element and any child elements it contains. This is ideal for extracting all the text from a section of an application or a webpage, especially when that section includes multiple types of content or when you need a comprehensive capture of all visible text.
Native
This method interacts with the application at a more integrated level to get visible text. Use this for applications where the text is not easily accessible through simpler methods, such as when dealing with custom controls or elements that do not expose their text content through standard properties.
→ Get Text activity extracts and copies the text form UI Element. It should be added within Use Application/Browser container.
→ We can use below four types to extract data:
-
Default: Goes through possible scraping methods (Text attribute, Fulltext, in that order) and stops at the first method that returns data.
-
Text Attribute: Extracts the text attribute value for the specified UI element.
-
Full Text:
→ Extracts the full text of the UI element including its child elements. This method is useful when you want to extract the full text of a container element that contains multiple child elements.
→ This method offers the option to Ignore hidden text , which can be activated by selecting its respective check box. -
Native:
→ Extracts the visible text for the specified UI element.
→ This method enables you to allow formatting and retrieve the screen coordinates of the words by selecting the check boxes for each of these features.
For more information you can follow below documentation:
Regards
text attributes mean fragments like class,title,div etc ?
we can also use get attributes acitivites?
What is difference between get attributes and using get text ?
Which one is peferrable ?
Get text helps in extracting the data from the page which is visible and Get Attribute helps in getting the data by using the attributes as mentioned above from HTML Code.
Regards
We can also get attributes by using get text and then selecting text attribute ?
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.