I would like to ask experts a question.
I am using the “UiPath Flex Automation Developer Named User” with a closed environment in UiPath Studio.
I want to search for specific text and press the download button next to it, but how can I do that?
When searching online, I come across terms like “text activity” or “find text position”, but I can’t find the “find text position” activity in the Studio I’m using. I have checked both modern and classic activities in my search, but I couldn’t locate it.
If I can find the position of the text, I believe I could identify the coordinates and click to press the download button. However, if there is a better method, I would appreciate your guidance.
The basic approach would be to identify attributes of the selector, such as the tableRow attribute, if the target is a table, and then use that to perform a click. Can you obtain the information using Data Scraping? If so, it would be good to confirm the relationship between the position of the target row and the selector’s tableRow, and from there, determine the target.
Thank you for your prompt response. Since there is no data scraping icon on the Studio ribbon, I searched for scraping activities, but I’m unsure which activity to use, so could you please let me know?
Also, even though it’s a table, there are about 100 entries, and the older file names are not displayed on the screen unless you scroll. Will using this scraping allow me to import the data into a table, and once I specify the location, will the elements with the specified values be clickable automatically?
Are you using the Community version?
In that case, you can install the UiPath.UIAutomation.Activities package from “Package Management,” and the data scraping menu will become available for you to use.
Also, even though it’s a table, there are about 100 entries, and the older file names aren’t displayed on the screen unless you scroll. If I use this scraping to convert the data into a table and specify the position, will it be possible to automatically click on the elements with the specified values?
It depends on the target system. If the data is loaded into memory in the browser, it may be possible to retrieve and click on it without scrolling (although we won’t know for sure until we try).
The “Extract Table” icon that was displayed on the ribbon seems to correspond to data scraping, and I was able to successfully extract the data table from the browser! Thank you very much.
The button to click has tableCol=‘7’, so I think I just need to change the tableRow to set it to the click button, but how can I get the coordinates: X from the extracted data table…?.
For the horizontal direction, it’s sufficient to identify the column number, whether it is tableCol or columnName, so for now, I think it’s okay to adopt tableCol=‘7’.
The problem lies in the vertical direction (row number), so we need to understand in advance the relationship between the row numbers in the DataTable and the selector’s tableRow attribute. (You can use UiExplorer or similar tools to understand it in advance.)
→ Use the ForEachRow activity to scan the DataTable from the top and identify the relevant row number.
From the relationships you’ve identified beforehand, calculate the tableRow attribute → set it dynamically.