Unable to take screenshot for SQL Server


I need to take screenshot of SQL Server query editor screen for a requirement.
I used Application->WindowsApps->SQL Server. While setting up the environment, the setup is on loading, its not getting completed.
If I cancel that and do the Test Run, the ‘Connect’ button the authentication pop up is not getting clicked though it was selected while identifying the elements.
Also, the same issue is there while I am trying to write query in the query editor.

Attached screenshots for reference.


In order to take a screenshot of the SQL Server Connect window, try using the Focus Window activity first with title=title of the screen , SQL in your case, which will get the SQL application in focus and below it use the Print Screen activity.