RPA - Drag and drop problem that mouse doesn't drag text
The contents which I need to capture have variant rows property and it not be in HTML table form.
At first I have idea to use ‘Read from screen’ comply with variables for Field offset, but i can’t find that optional. Then I move to use another solution as ‘Drag & Drop’ for copy text on screen into variable and put into logical process. I facing a problem while debug, the cursor mouse has properly movement to target as setting but sometime no any highlight appearance on trace as below photos.
Then I tried to optimizing variant of delay time both Before Drag and Before Drop resulting better but can’t eliminate to zero. (setting condition from 0 until to max 2,000 ms)
Do you have any suggestion or advise on this problem or another solution to capture content on flexible rows population ?
Page 1 / 1
Hey @Qootaro ,
Can you please share the table type?
@Eli_Shteinberg the type is Java or may be else that not be HTML code and I can’t use command such as ‘Get HTML table’ and ‘Get UI table’ to get data in the table.
I not sure how to get the table type from IE ? Please advise.
Update, I have used these 4 commands but can’t choose this table during selection step.
@Qootaro try to use the following approach:
Use “Get HTML object text or value” command and select a field in the first row of the table, after capturing the field click on the button shown in the below screenshot:
The choose “Don’t Match using Text”, and capture the data of the field as shown in the below screenshot:
Click “Cancel” and then capture the same field in the second row of the table and capture the same data in the same way.
Try to notice a pattern between the first row and second row (if needed capture a third row), probably you will find that there is a number incrementing in a specific pattern.
After knowing the pattern, then you can have a loop and a variable that it is incrementing in the same way as the pattern that you noticed.
In the loop you can capture the field using the “Get HTML object text or value” and replace the number that is changing with the variable, same as in the below screenshot:
You can do the same for each column in the table and end the loop if “the object is not found”.
By the way, you can apply the same method in Java and UI components.
Hope this helps
@TarekMostafa Thank you so much for your kindly suggestion. But it doesn’t work. Because this online system doesn’t be in HTML coding form as below.
By the way I already found solution to solve my problem. Thank you :)
@Qootaro would you please share the solution you found. It would be great to share with the community and other users. Thanks
@Qootaro Please share your solution with us for the benefit of other users! :)