Window Pop-up is disabled when I run the job on orchestrator

Hello,

I have to upload a file from a website. When I click the file upload icon, I get the file explorer pop up window to let me choose the file to upload. This works fine when I run the job in my local desktop. When I run job unattended on orchestrator using VM, after it clicks the file upload icon, it is not showing the pop-up window.

I have tried this with Edge and Chrome browser. I have the same issue.

The file upload process is as follows: There is a button on the top left corner of the page that when clicked, opens a file explorer window where you need to select the file.

Hi @MPAL ,

Have you checked any pop up blockers enabled in the VM browser .

Hi, There is no pop up blockers. I have this issue only when I run the workflow via orchestrator in VM. If I do not use the orchestrator and try to run in attended mode in VM or my local desktop, it works fine.

@MPAL

Can you give more details…like if you have tried to run attended on same vm too?

Alao how did you confirm that the pop up did not appear? Did you happen to check screenshot?

Cheers

you can try with some different input mode sometimes you can check simulate type , try with uncheck simulate type or send windows message as per below docs.


because in unattended mode application behaviour may get changes also you can add retry scope with 3 or 5 times until receiving the popup added with delay of 10 seconds because in unattended mode sometimes application behaviour may get slow so.

you can use as below sequeunce.

  1. you can use retry scope activity.
  2. you can assign boolean value
  3. you can use your click activity
  4. you can use get text activity on getting the text of typed folder path value
  5. you can use if condition to check value typed correctly or not
  6. in retry scope condition you can use check true boolean activity.
    Sequence1.xaml (10.6 KB)

mostly if you handle that particular click activity with retry scope it may chance to work.

hope it helps!!!

Hi Anil,

I have tried attended mode on the same VM. No issues with pop-up. Only issue is when I run in attended mode.

I have element exist activity for pop up. After Element exist activity, I have a log message. Log message is always False for the element activity. Also, I have a try catch block that catches the exception with screen shot and send it to my email. The screenshot never had the pop up window.

When VM was running in unattended mode, I opened the VM to check how the entire workflow was performing and I always see it get stuck after the click activity to open the pop up window. It clicks the folder icon to open the pop-up window but the pop-up window does not appear.

Hi Baskar,

Before I click the folder icon, I have a few click activities, and all these click activities are using input mode as Same as App/Browser. so, I am using the same input mode for click the folder icon. I have tried using different input modes a well, I could not get to work around.

I will definitely try retry scope. Although I do have an Element exist activity with boolean value and a delay of 60 seconds between Click folder icon and element exist activity. Boolean value is always false.

Whatever the steps we are getting an issue frequently we need to add retry scope activity, sometime increasing the wait time of element exist wont help sufficiently as expected, so better wherever we are getting an issue we can refresh or try to access same thing again.

Mostly our automation will go step by step based on our log in unattended mode which activities not working we can use retry scope or using any send hot key instead of click ( accessing the same process with any short cut key)

Could you share your log and workflow if possible.

@MPAL

try to change to hardware events and check for the click before element exists

cheers