Type | Name and description |
---|---|
static java.awt.Color |
ignoredColor |
static java.lang.String |
screenshotDir |
static int |
scrollTimeout |
Type | Name and description |
---|---|
static java.lang.String |
baselineImage(java.lang.String filename, java.lang.String baselineDir, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.OPTIONAL) Add the image into baseline folder, return full path of baseline image |
static void |
takeCuttingScreenshot(java.lang.String filename, int headerToCut, int footerToCut, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.OPTIONAL) Take screenshot of the whole screen and then cut off it's header & footer using AShot and save to screenshots folder in current working project |
static void |
takeElementScreenshotIgnoringAreas(com.kms.katalon.core.testobject.TestObject object, java.lang.String filename, java.util.List<com.kms.katalon.core.testobject.TestObject> ignoreObjs, int timeout = 10, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.OPTIONAL) Take the picture of a specific test element using AShot and save to screenshots folder in current working project |
static void |
takeEntirePageScreenshot(java.lang.String filename, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.OPTIONAL) Take screenshot of the entire page using AShot and save to screenshots folder in current working project |
static void |
takeScalingScreenshot(java.lang.String filename, float dpr, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.OPTIONAL) Take screenshot of the whole screen and then scale image according to device pixel ratio using AShot and save to screenshots folder in current working project |
static void |
takeScreenshot(java.lang.String filename, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.OPTIONAL) Take screenshot of the whole screen using AShot and save to screenshots folder in current working project |
static void |
takeWebElementScreenshot(com.kms.katalon.core.testobject.TestObject object, java.lang.String filename, int timeout = 10, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.OPTIONAL) Take the picture of a specific web element using AShot and save to screenshots folder in current working project |
static void |
takeWebElementsScreenshot(java.util.List<com.kms.katalon.core.testobject.TestObject> objects, java.lang.String filename, int timeout = 10, com.kms.katalon.core.model.FailureHandling flowControl = FailureHandling.OPTIONAL) take the picture of a specific test element using AShot and save to screenshots folder in current working project |
Methods inherited from class | Name |
---|---|
class BaseKeyword |
error, handleError, handleError, handleErrorIf, info, runsOnChrome, runsOnFirefox, runsOnIE, warning |
Add the image into baseline folder, return full path of baseline image
Take screenshot of the whole screen and then cut off it's header & footer using AShot and save to screenshots folder in current working project
filename
- the image will be save with the nameTake the picture of a specific test element using AShot and save to screenshots folder in current working project
object
- the web element need to take pictureignoreObjs
- the web elements will be excluded in the captured imagefilename
- the image will be save with the nameTake screenshot of the entire page using AShot and save to screenshots folder in current working project
filename
- the image will be save with the nameTake screenshot of the whole screen and then scale image according to device pixel ratio using AShot and save to screenshots folder in current working project
filename
- the image will be save with the nameTake screenshot of the whole screen using AShot and save to screenshots folder in current working project
filename
- the image will be save with the nameTake the picture of a specific web element using AShot and save to screenshots folder in current working project
object
- the web element need to take picturefilename
- the image will be save with the nametake the picture of a specific test element using AShot and save to screenshots folder in current working project
object
- the web element need to take picturefilename
- the image will be save with the name