Issue in screenshot image

Scenario: Am trying to take screenshot in web page. In one web page am taking 2 screenshots while am taking first screenshot its working fine, but am taking second screenshot in same page am getting blank screen 80% of image. I have attached image for your reference. Please help me out.

Steps to reproduce:

Current Behavior:

Expected Behavior:

Studio/Robot/Orchestrator Version: Community Studio

Last stable behavior:
Last stable version:
OS Version:
Others if Relevant: (workflow, logs, .net version, service pack, etc):

EDIT (AK): Screenshot removed. Details in PM.

Hi,
Can you keep some delay when you going for second time screenShot and try.

Hi,

Thank you for your quick reply, but unfortunately its not working… same issue am getting.

I have tried 5 seconds and 10 seconds delay.

Can you attach your workflow.

Hi,

I got it, I sent page down key through hot key then tried to take screenshot… now it’s working fine for me.

Thank you. :slight_smile:

Hi,

Can you help me out in adding a try catch block In checking whether the expression contains special characters??

Hi,

String test_string = “tesintg#$234524@#”;

if (System.Text.RegularExpressions.Regex.IsMatch(test_string, “[1]+$”))
{
//Some activity.
}


  1. a-zA-Z0-9\x20 ↩︎

1 Like

Thanks a lott…!

Hi,

I am getting the same issue. Can you please let me know how to solve it?
The bot is taking screenshot of the whole screen when AS400 emulator instance is up and some process is going on.
But screenshots have the windows taskbar in the bottom and on the top, there’s title of the emulator. And rest all is white.

If I RDC into the machine while the process is running, the screenshots are coming fine.
If I RDC just once and then close it also it works.
But if I don’t and just leave it unattended, getting this issue.

Please let me know what the issue is and what I can do to fix it.

Thanks in advance.

@ShruthiSreedhar
I can’t get your properly, you can attach workflow and explain the same.

Thanks,

Hi,

I could solve the issue by adding a mouse click on the emulator window as soon as it loads. This ensured it is activated and proper screenshots are taken.

Thanks.

1 Like