Wait stage in java automation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
18-11-20 08:55 AM
i read the document about java automation, I noticed that it is a very slow automation, also following best practices, i have to do with a java web app via iexplore, so my question is:it must always be used the "wait stage" to check that the java element is present before a click, reader, etc.?
How can i improve resilience and speed, any tips?
Thanks in advance
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-11-20 03:00 PM
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-11-20 03:56 PM
Try adding (without quotes) "descendtree,ignorenotshowing" to the additional options field in the application modeler.
Additionally, you may want to consider using some of the following filters:
- Match Index
- Ancestor Count
- aAncestor Count
- Ordinal
- Visible
- Hidden
- Parent Child Count
------------------------------
Ami Barrett
Automation Developer, Team Lead
Blue Prism
Plano, TX
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-11-20 09:04 PM
Below point will help you.
1. You can select only required attributes.
2. 1 object for 1 application screen along with attach page.
3.Use wait stage to validate you reach on correct screen or page is loaded successfully.
4.Try to avoid static wait.
5.Use wait stage after each attach action call.
------------------------------
Nilesh Jadhav
Senior RPA Specialist
ADP
India
------------------------------
Consultant
ADP,India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-11-20 08:57 AM
Thanks @AmiBarrett,
what will be the changes by inserting descendtree,ignorenotshowing, can you explain me, please?
For the second tip, and that is to use some filters, how it improves speed execution?
Thanks again.
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-11-20 09:00 AM
That's more or less what I did. multi-object design, avoid static wait stage, or in case only before the "wait dinamic" java element, like described in java automation guide.
But i've seen that loads the elements and performs the actions very slowly, even in "fast" mode.
Have a nice day
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-11-20 04:19 PM
As for the filters, regardless of spy type, you can think of them as parameters to narrow down a DOM search. The more reliably refined you make it, the fewer elements the software will need to search through in order to find what you're looking for.
------------------------------
Ami Barrett
Automation Developer, Team Lead
Blue Prism
Plano, TX
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-11-20 03:18 PM
i didn't find this field on my application modeler, how can i find it?
I don't know if it has anything to do with it, but is a web-based application so in application modeler i've selected browser web autiomation (internet explorer ) and not java automation, is that correct?
Many thanks
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-11-20 03:21 PM
Thx
------------------------------
Vrat Himbo
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-11-20 03:32 PM
------------------------------
Ami Barrett
Automation Developer, Team Lead
Blue Prism
Plano, TX
------------------------------
