How to improve unattended mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-11-23 12:15 PM
Hi,
My automation is working fine on attended mode that is running inside a VDI. Most of the time i have failures on unattended mode where at random different elements will fail. I use the screenshot method and mostly i can see a white screen. Not sure if the application is in a hang state when unattended. Mostly i used UIA mode on my project. Any pointers on how i can improve it?
------------------------------
K T
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-11-23 01:16 PM
Hi KT,
First you need to identify the root acsue of issue.
1) I would suggest to check whether conditional wait stages are present when navigating to the new screen.
2) if you are writing or reading any screen add validation for example reading employer name then validate employer name should not be empty or it has 16 characters some thing like that.
3) if there any failures in unattended identify the element where it is taking time to load the whole page and respond the element in different mode or change the attributes in the element. Since uts unattended I will spy all the different ways before testing and put everything in such a order. Most successful to failure elements.
4) open the logs and also check the screnshot is working in all the cases.
------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"
Harish Mogulluri
Lead developer
America/New_York TX
------------------------------
If I answered your query. Please mark it as the Best Answer
Harish Mogulluri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-11-23 05:31 PM
Hi Harish,
thanks for the feedback. a bit new in BP. Can you give me an example of changing the attributes? For most of them i have only checked what is needed.
what is oops. what can cause a screenshot to not work?
------------------------------
K T
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-11-23 06:44 PM
In general if I use UIA mode
I will check UIA Name and UIA Control type and match index but no one can able to tell 100% with out playing around the application you are working.
Sorry I mean to ask you to check Logs there is typo in my previous response
Not sure whether you are using screenshot code from Digital exchange. If not check digital exchange for that.
------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"
Harish Mogulluri
Lead developer
America/New_York TX
------------------------------
If I answered your query. Please mark it as the Best Answer
Harish Mogulluri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-11-23 12:20 AM
Thanks Harish,
Would it be possible that the elements i have chosen works differently on unattended?
I also read about screen resolution. Does this affect UIA mode as well?
------------------------------
K T
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-11-23 03:34 PM
Hi K T,
I dont think it will be different attended vs unattended as long as your screen resolution and browser settings are same.
Its ideal to use same screen resolution and other browser settings.
------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"
Harish Mogulluri
Lead developer
America/New_York TX
------------------------------
If I answered your query. Please mark it as the Best Answer
Harish Mogulluri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-11-23 01:14 AM
Hi KT,
Check these 2 articles, apparently similar to what is happening to you:
Regards
------------------------------
Leonardo Soares
Desenvolvedor RPA Líder Técnico
Bridge Consulting
América/Brasil
--------- ---------------------
