I have successfully connected and deployed robot on remote computer (virtual computer) using orchestrator. I have successfully publish one sample process (e.g. open browser and open application) to check and found working fine using robot on remote computer (remote computer opens the browser and open the application as well).
Now, I have one desktop application in that remote (virtual) computer which i already open by using start process and open .exe file in that.
After application open there is one text box in which i need to type static text which i successfully placed in screen scope. Now when i run this in debug mode it writes that static text in text box successfully but when i run my process using robot hosted on that virtual machine through orchestrator it is NOT typing in to the text box.
Please help.
Here i attached my application text box into which i want to write â8511â, my process from Ui Studio and Error when i run process through orchestrator.
Hi @kashyapvyas
Use some relative element to type the number in the text box. I guess Employee ID will be fine as the relative element to write any number in the text box.
Just like this
Hope it helps!
@kashyapvyas Just one thing want to know. Is it necessary to use Computer Vision Activities?
You can change OCR engine just try to use Google OCR and just try to change the Scale of the OCR.
Hope it will help.
@lakshman suggested me Computer Vision Activities and based on its documentation it looks like full filling my need as well.
I do not know very much about OCR. Please help me to understand.
I just read about Google OCR and found that it is only UI scrapping (extracting strings) but i need interaction with my desktop application as well (e.g enter userid in text box, press login button, coming in next screen again entering employee number and hit search button, extracting data here and etcâŚ
Does Google OCR can be used in replacement of Computer Vision?
Why everything (Computer Vision - CV Type Into Activity) is working fine while i am debugging from Ui Path Studio but not when running it from Robot?
The error you get is âCannot find UI element corresponding to this selectorâ, which means the actual window is not found by the Scope. Can you do a normal click (non ComputerVision) on that âLMIIgnitionâ window?
If you canât, it could be from the fact that the app is running with elevated privileges, while the robot is not, so it cannot control it in any way, CV or not.
I canât do a normal click on âLMIIgnitionâ window as it is running in remote computer (its a client application and it talks to the local server on that same machine) so i must have to use âComputer Vision Activitiesâ to interact with that. Please correct me if i am wrong.
BTW, Why it is running in debug mode and not running without debug?
From your screenshot, the Scope is looking for âLMIIgnitionâ window, so it must be accessible to do a normal click. See if you can click in it anywhere.
Could you send us the workflow, or just the relevant parts, so we can investigate?
âCV Screen Scope âLMIIgnition.exe SVR-1694ââ - It is just a auto generated display name (and non-relational name with my desktop app) when i select screen scope from Ui Path Studio. And I am unable to type/select anything without Computer Vision Activities.
This can happen if the user under which the robot runs on the virtual machine has less privileges than the target application.
Can you try running the robot as an admin or as the same user as the target application?
Can you paste the selector used by the CV Screen Scope?