Screenshot capture of a chrome browser tab in studiox

Hello all,
So my page takes some time to load for which I am planning to add delay of seconds post which I want to take screenshot of a table.(Also does StudioX have navigate to url option instead)?
However the screenshot is always captured after the browser is closed again(thus capturing my desktop screenshot instead). How do I fix this?

@omkar.n.shinde
After Delay
Use check app state activity in that target Appears use Take screen shot activity whenever the target appears then the screen shot will be taken.
Or use On element appear also it is fine to choose any one of the activity.
Or use Element Exists also if it is True then the bot has to take screenshot of that

Hi @omkar.n.shinde

Use Check App State activity and indicate the screen where the table is present and in Target Appears use Take Screen Shot activity to capture he screen.

Just note that since you find only Modern activities in Studio X Check App State is the only way to check whether is table is visible as UI Element.

Hope it helps!!

Hi @omkar.n.shinde ,

Step-by-Step Solution

  1. Open Browser and Navigate to URL:
  • Use the “Use Application/Browser” activity to open the browser and navigate to the desired URL.
  • In StudioX, you can use the “Use Browser” activity to specify the browser and URL.
  1. Wait for Page to Load:
  • Use a combination of “Delay” or “Wait for Element” activities to ensure the page has fully loaded.
  1. Take Screenshot:
  • Use the “Take Screenshot” activity to capture the screenshot of the table.
  1. Close Browser:
  • Ensure the browser is not closed before the screenshot is taken. You can use the “Use Application/Browser” activity to manage the browser instance.

Regards
Kiran

Hi @omkar.n.shinde

Use the Get active window activity and indicate on the application which you want to bring it to foreground. Inside of this activity you can use the Take screenshot activity to take the screenshot of the required window.

Follow the below steps for better understanding
→ Use the Use application/browser activity and indicate on the screen in which application you want to work on.
→ Inside use application/browser activity insert the Get active window activity and indicate on the window which you want to take the screenshot.
→ Inside of Get active window activity insert the take screenshot activity to take the screenshot of the required application.

Hope it helps!!