htian
(Htian)
February 2, 2024, 5:22pm
1
I am confused with term of “Background execution”
in document
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
It take me time notice it is no related with Background process, the background process will not allow to use UIAutomation.Activity at all.
So, what this background execute means? The click, type into can still work on a minimized window? or covered by other windows? I had try, it will not work under these case when I set input method in Simulate/Message, at least not work correct.
And if Simulate is suggested, why in Process setting, the default input mothed is set as Hardware for Windows?
rlgandu
(Rlgandu)
February 2, 2024, 5:31pm
2
@htian
Background execution in UiPath refers to running processes without active UI interaction.
It’s suitable for tasks not requiring UI elements or when UI is minimized/unavailable.
UI Automation activities like Click and Type Into interact with visible UI elements.
These activities may not function correctly when UI elements aren’t visible or interactable.
However, some activities like Type Into can work on minimized windows if allowed by the app.
Default input method in UiPath is Hardware for reliable interaction with applications.
Simulate input method is faster but may not work well with all applications.
It’s suggested when hardware events are restricted or for faster execution.
Adjustment of input method depends on the application’s response and automation requirements.
Background execution prioritizes non-UI-related actions for seamless automation.
Hi
Welcome to UiPath forum
When you want to run a process in background with UI interaction then go for Unattended bots
Have a view on this for details
We can’t use background process as we won’t be able to interact with UI elements when background process template is used
Background processes must not make use of interactive activities, like Click or Type Into found in the UiPath.UIAutomation.Activities package. Check out the Background Process Automation page to read more about how …
Please refer the above thread
htian
(Htian)
February 2, 2024, 6:15pm
4
Yes, UI Automation activity like click and Type Into interact with visible UI element, So, it would not support background execution, right?
but on document, why Input Method of Click/ Type Into as Simulate / Windows Message is said support “Background Execution”?
Capability Method
Compatibility
Background Execution
Speed
Hotkey Support
Auto Empty Field
Design experience
Hardware Events
100%
no
50%
yes
no
Classic
/Modern
SendWindowMessages
80%
yes
50%
yes
no
Classic
/Modern
Simulate Type/Click
99% - web apps
60% - desktop apps|yes|100%|no|yes|Classic
/Modern
|
|Chromium API |100% - Chrome, Edge browsers|yes|50%|yes|yes|Modern
|
Anil_G
(Anil Gorthi)
February 2, 2024, 6:51pm
5
@htian
The simulate method will work even when the active window is not the window that you want the data to be sent…
it works when the target pplication fully supports it
to test try with the testacme webside of UiPath you would see it would work even when the page is not on the foreground
https://acme-test.uipath.com/login
When it says background it means that when it is not visible on screen but is on the html loaded
cheers
1 Like
htian
(Htian)
February 2, 2024, 7:48pm
6
thank you
Background execution on Input Method is means the window is activated/visiable/focused
1 Like
system
(system)
Closed
February 5, 2024, 7:48pm
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.