Issue in screenshot image

uiautomation
studio

#1

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.


#2

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


#3

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.


#4

Can you attach your workflow.


#5

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:


#6

Hi,

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


#7

Hi,

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

if (System.Text.RegularExpressions.Regex.IsMatch(test_string, “^[a-zA-Z0-9\x20]+$”))
{
//Some activity.
}


#8

Thanks a lott…!