Skip to main content

Hi everyone,

 

I have developed a bot that exports an Excel template to a PDF file. One of the steps is to reset all page breaks, and then to set a page break in a specific line of the Excel file.

I have set a simulate keystrokes : alt down]pbaaalt up] then alt down]pbiialt up] (with a few seconds of wait time with the package delay)

It works correctly when I am connected to the virtual machine : the end of the page is blank, and then the rest of the text is in a new page.

When I am not connected to the virtual machine, it fails and the text follows immediately, without new page/page break.

I have no explanation on why that happens.

When I process a series of Excel files, if I am not connected it will fail until I connect, and then start working from that moment on.

What could be the reason behind that ?

I don’t know why, if I disable delays and set the keystroke duration to 15ms (instead of 10) it works in both cases...


Sending keystrokes too fast was the first error I made after joining Automation Anywhere.   😅

With many VMs, you’re using a fraction of the power of the host computer. Keep that in mind. Many companies also have the bot developers create the bots in the VM just to avoid these kinds of surprises.


Reply