Screenshot
Last updated
Last updated
Description: This keyword or action instructs Avo Assure Client to capture the screenshot (the current screen in the foreground on the desktop will be captured).
Keyword | Input Syntax | Output Syntax | Supported Input Formats |
captureScreenshot | <Input file path> | NA |
|
Note:
This keyword captures the screenshot of the current screen, which is in the foreground. Hence make sure that the AUT is on top.
If the input is not specified or invalid, the tool will save the screenshot in the path specified in the server's configuration file.
Find the snippet of the keyword below:
In the above example, after the test case debug, the image “Test.png” will be saved in the location “D:\CaptureScreenshot” and “True” will be stored in {result} variable, else {False}.