@CompileStatic class WebUiBuiltInKeywords extends BuiltinKeywords
Constructor and description |
---|
WebUiBuiltInKeywords
() |
Type Params | Return Type | Name and description |
---|---|---|
|
static void |
acceptAlert(FailureHandling flowControl) Simulate users clicking on "OK" button of alert class (alert, confirmation popup, prompt popup) |
|
static void |
acceptAlert() Simulate users clicking on "OK" button of alert class (alert, confirmation popup, prompt popup) |
|
static void |
authenticate(String url, String userName, String password, int timeout, FailureHandling flowControl) Navigate to a page that requires authentication. |
|
static void |
authenticate(String url, String userName, String password, int timeout) Navigate to a page that requires authentication. |
|
static void |
back(FailureHandling flowControl) Simulate users clicking "back" button on their browser |
|
static void |
back() Simulate users clicking "back" button on their browser |
|
static void |
check(TestObject to, FailureHandling flowControl) Check a toggle-button (check-box/radio-button) |
|
static void |
check(TestObject to) Check a toggle-button (check-box/radio-button) |
|
static boolean |
clearText(TestObject to, FailureHandling flowControl) Clear all text of the test object. |
|
static boolean |
clearText(TestObject to) Clear all text of the test object. |
|
static void |
click(TestObject to, FailureHandling flowControl) Click on the given element |
|
static void |
click(TestObject to) Click on the given element |
|
static void |
clickImage(TestObject to, FailureHandling flowControl) Click on an image on the web page |
|
static void |
clickImage(TestObject to) Click on an image on the web page |
|
static void |
clickOffset(TestObject to, int offsetX, int offsetY, FailureHandling flowControl) Click on the given element with the relative position (x, y) from the top-left corner of that element |
|
static void |
clickOffset(TestObject to, int offsetX, int offsetY) Click on the given element with the relative position (x, y) from the top-left corner of that element |
|
static void |
closeBrowser(FailureHandling flowControl) Close the browser. |
|
static void |
closeBrowser() Close the browser. |
|
static void |
closeWindowIndex(Object index, FailureHandling flowControl) Close window with the given index. |
|
static void |
closeWindowIndex(Object index) Close window with the given index. |
|
static void |
closeWindowTitle(String title, FailureHandling flowControl) Close the window with given title. |
|
static void |
closeWindowTitle(String title) Close the window with given title. |
|
static void |
closeWindowUrl(String url, FailureHandling flowControl) Close the window with given url. |
|
static void |
closeWindowUrl(String url) Close the window with given url. |
|
static TestObject |
convertWebElementToTestObject(WebElement webElement, FailureHandling flowControl) Convert a WebElement to a TestObject. |
|
static TestObject |
convertWebElementToTestObject(WebElement webElement) Convert a WebElement to a TestObject. |
|
static void |
deleteAllCookies(FailureHandling flowControl) Delete all cookies of all windows. |
|
static void |
deleteAllCookies() Delete all cookies of all windows. |
|
static void |
deselectAllOption(TestObject to, FailureHandling flowControl) Deselect all options |
|
static void |
deselectAllOption(TestObject to) Deselect all options |
|
static void |
deselectOptionByIndex(TestObject to, Object range, FailureHandling flowControl) Deselect the options at the given indices. |
|
static void |
deselectOptionByIndex(TestObject to, Object range) Deselect the options at the given indices. |
|
static void |
deselectOptionByLabel(TestObject to, String labelText, boolean isRegex, FailureHandling flowControl) Deselect the options with the given label (displayed text) |
|
static void |
deselectOptionByLabel(TestObject to, String labelText, boolean isRegex) Deselect the options with the given label (displayed text) |
|
static void |
deselectOptionByValue(TestObject to, String value, boolean isRegex, FailureHandling flowControl) Deselect all options with the given value |
|
static void |
deselectOptionByValue(TestObject to, String value, boolean isRegex) Deselect all options with the given value |
|
static void |
disableSmartWait() Disable smart wait functionality. |
|
static void |
dismissAlert(FailureHandling flowControl) Simulate users clicking on "Cancel" button of alert class (alert, confirmation popup, prompt popup). |
|
static void |
dismissAlert() Simulate users clicking on "Cancel" button of alert class (alert, confirmation popup, prompt popup). |
|
static void |
doubleClick(TestObject to, FailureHandling flowControl) Double click on the given web element |
|
static void |
doubleClick(TestObject to) Double click on the given web element |
|
static void |
dragAndDropByOffset(TestObject sourceObject, int xOffset, int yOffset, FailureHandling flowControl) Drag an object and drop it to an offset location |
|
static void |
dragAndDropByOffset(TestObject sourceObject, int xOffset, int yOffset) Drag an object and drop it to an offset location |
|
static void |
dragAndDropToObject(TestObject sourceObject, TestObject destinationObject, FailureHandling flowControl) Drag an object and drop it to another object |
|
static void |
dragAndDropToObject(TestObject sourceObject, TestObject destinationObject) Drag an object and drop it to another object |
|
static void |
enableSmartWait() Enable smart wait functionality. |
|
static void |
enhancedClick(TestObject to, FailureHandling flowControl) Click on the given element using various trial-and-error methods |
|
static void |
enhancedClick(TestObject to) Click on the given element using various trial-and-error methods |
|
static Object |
executeJavaScript(String script, List arguments, FailureHandling flowControl) Execute JavaScript on the currently selected frame or window. |
|
static Object |
executeJavaScript(String script, List arguments) Execute JavaScript on the currently selected frame or window. |
|
static WebElement |
findWebElement(TestObject to, int timeout) Find web element by test object |
|
static WebElement |
findWebElement(TestObject to, int timeout, FailureHandling flowControl) Find web element by test object |
|
static List<WebElement> |
findWebElements(TestObject to, int timeout) Find to find web elements by test object |
|
static List<WebElement> |
findWebElements(TestObject to, int timeout, FailureHandling flowControl) Find to find web elements by test object |
|
static void |
focus(TestObject to, FailureHandling flowControl) Move the focus to the specified element; for example, if the element is an input field, move the cursor to that field |
|
static void |
focus(TestObject to) Move the focus to the specified element; for example, if the element is an input field, move the cursor to that field |
|
static void |
forward(FailureHandling flowControl) Simulate users clicking "forward" button on their browser |
|
static void |
forward() Simulate users clicking "forward" button on their browser |
|
static String |
getAlertText(FailureHandling flowControl) Get displayed text of the alert class (alert, confirmation popup, prompt popup). |
|
static String |
getAlertText() Get displayed text of the alert class (alert, confirmation popup, prompt popup). |
|
static List |
getAllLinksOnCurrentPage(boolean isIncludedExternalLinks, List excludedLinks, FailureHandling flowControl) Get all links on current page |
|
static List |
getAllLinksOnCurrentPage(boolean isIncludedExternalLinks, List excludedLinks) Get all links on current page |
|
static String |
getAttribute(TestObject to, String attribute, FailureHandling flowControl) Get attribute value of a web element |
|
static String |
getAttribute(TestObject to, String attribute) Get attribute value of a web element |
|
static String |
getCSSValue(TestObject to, String css) Get CSS value of a web element |
|
static String |
getCSSValue(TestObject to, String css, FailureHandling flowControl) Get CSS value of a web element |
|
static int |
getElementHeight(TestObject to, FailureHandling flowControl) Get height of web element |
|
static int |
getElementHeight(TestObject to) Get height of web element |
|
static int |
getElementLeftPosition(TestObject to, FailureHandling flowControl) Get left position of web element |
|
static int |
getElementLeftPosition(TestObject to) Get the left position of web element |
|
static int |
getElementWidth(TestObject to, FailureHandling flowControl) Get width of web element |
|
static int |
getElementWidth(TestObject to) Get width of web element |
|
static int |
getNumberOfSelectedOption(TestObject to, FailureHandling flowControl) Count the number of options which are being selected the given web element has. |
|
static int |
getNumberOfSelectedOption(TestObject to) Count the number of options which are being selected the given web element has. |
|
static int |
getNumberOfTotalOption(TestObject to, FailureHandling flowControl) Count the total number of options the given web element has |
|
static int |
getNumberOfTotalOption(TestObject to) Count the total number of options the given web element has |
|
static int |
getPageHeight(FailureHandling flowControl) Get current web page's height |
|
static int |
getPageHeight() Get current web page's height |
|
static int |
getPageWidth(FailureHandling flowControl) Get current web page's width |
|
static int |
getPageWidth() Get current web page's width |
|
static String |
getText(TestObject to, FailureHandling flowControl) Get the visible (i.e. not hidden by CSS) innerText of the web element, including sub-elements, without any leading or trailing whitespace. |
|
static String |
getText(TestObject to) Get the visible (i.e. not hidden by CSS) innerText of the web element, including sub-elements, without any leading or trailing whitespace. |
|
static String |
getUrl(FailureHandling flowControl) Get url of the current window |
|
static String |
getUrl() Get url of the current window |
|
static int |
getViewportHeight(FailureHandling flowControl) Get current viewport's height value |
|
static int |
getViewportHeight() Get current viewport's height value |
|
static int |
getViewportLeftPosition(FailureHandling flowControl) Get current view port left (x) position relatively to the web page |
|
static int |
getViewportLeftPosition() Get current view port left (x) position relatively to the web page |
|
static int |
getViewportTopPosition(FailureHandling flowControl) Get current view port top (y) position relatively to the web page |
|
static int |
getViewportTopPosition() Get current view port top (y) position relatively to the web page |
|
static int |
getViewportWidth(FailureHandling flowControl) Get current viewport's width value |
|
static int |
getViewportWidth() Get current viewport's width value |
|
static int |
getWindowIndex(FailureHandling flowControl) Get index of the current window |
|
static int |
getWindowIndex() Get index of the current window |
|
static String |
getWindowTitle(FailureHandling flowControl) Get title of the current window |
|
static String |
getWindowTitle() Get title of the current window |
|
static void |
maximizeWindow(FailureHandling flowControl) Resize current window to take up the entire screen |
|
static void |
maximizeWindow() Resize current window to take up the entire screen |
|
static TestObject |
modifyObjectProperty(TestObject testObject, String propertyName, String matchCondition, String modifyValue, boolean isActive, FailureHandling flowControl) Modify property of test object. |
|
static TestObject |
modifyObjectProperty(TestObject testObject, String propertyName, String matchCondition, String modifyValue, boolean isActive) Modify property of test object. |
|
static void |
mouseOver(TestObject to, FailureHandling flowControl) Simulate users hovering a mouse over the given element |
|
static void |
mouseOver(TestObject to) Simulate users hovering a mouse over the given element |
|
static void |
mouseOverOffset(TestObject to, int offsetX, int offsetY, FailureHandling flowControl) Simulate users hovering a mouse over the given element with the relative position (x, y) from the top-left corner of that element |
|
static void |
mouseOverOffset(TestObject to, int offsetX, int offsetY) Simulate users hovering a mouse over the given element with the relative position (x, y) from the top-left corner of that element |
|
static void |
navigateToMaskedUrl(String rawUrl, FailureHandling flowControl) Navigate to the specified web page. |
|
static void |
navigateToMaskedUrl(String rawUrl) Navigate to the specified web page. |
|
static void |
navigateToUrl(String rawUrl, FailureHandling flowControl) Navigate to the specified web page |
|
static void |
navigateToUrl(String rawUrl) Navigate to the specified web page |
|
static void |
openBrowser(String rawUrl, FailureHandling flowControl) Open browser and navigate to the specified url; if url is left empty then just open browser |
|
static void |
openBrowser(String rawUrl) Open browser and navigate to the specified url; if url is left empty then just open browser |
|
static void |
refresh(FailureHandling flowControl) Simulate users clicking "refresh" button on their browser |
|
static void |
refresh() Simulate users clicking "refresh" button on their browser |
|
static TestObject |
removeObjectProperty(TestObject testObject, String propertyName, FailureHandling flowControl) Remove existing property of test object. |
|
static TestObject |
removeObjectProperty(TestObject testObject, String propertyName) Remove existing property of test object. |
|
static void |
rightClick(TestObject to, FailureHandling flowControl) Right click on the given web element |
|
static void |
rightClick(TestObject to) Right click on the given web element |
|
static void |
rightClickOffset(TestObject to, int offsetX, int offsetY, FailureHandling flowControl) Right click on the given element with the relative position (x, y) from the top-left corner of that element |
|
static void |
rightClickOffset(TestObject to, int offsetX, int offsetY) Right click on the given element with the relative position (x, y) from the top-left corner of that element |
|
static void |
scrollToElement(TestObject to, int timeOut, FailureHandling flowControl) scrolls a element into the visible area of the browser window |
|
static void |
scrollToElement(TestObject to, int timeOut) scrolls a element into the visible area of the browser window |
|
static void |
scrollToPosition(int x, int y, FailureHandling flowControl) Scroll the viewport to a specific position |
|
static void |
scrollToPosition(int x, int y) Scroll the viewport to a specific position |
|
static void |
selectAllOption(TestObject to, FailureHandling flowControl) Selection all options of an object. |
|
static void |
selectAllOption(TestObject to) Selection all options of an object. |
|
static void |
selectOptionByIndex(TestObject to, Object range, FailureHandling flowControl) Select the options at the given indices. |
|
static void |
selectOptionByIndex(TestObject to, Object range) Select the options at the given indices. |
|
static void |
selectOptionByLabel(TestObject to, String labelText, boolean isRegex, FailureHandling flowControl) Select all options with the given label (displayed text) |
|
static void |
selectOptionByLabel(TestObject to, String labelText, boolean isRegex) Select all options with the given label (displayed text) |
|
static void |
selectOptionByValue(TestObject to, String value, boolean isRegex, FailureHandling flowControl) Select all options that have a value matching the "value" argument. |
|
static void |
selectOptionByValue(TestObject to, String value, boolean isRegex) Select all options that have a value matching the "value" argument. |
|
static void |
sendKeys(TestObject to, String strKeys, FailureHandling flowControl) Simulates keystroke events on the specified element, as though you typed the value key-by-key |
|
static void |
sendKeys(TestObject to, String strKeys) Simulates keystroke events on the specified element, as though you typed the value key-by-key |
|
static void |
setAlertText(String text, FailureHandling flowControl) Simulate users typing text into prompt popup. |
|
static void |
setAlertText(String text) Simulate users typing text into prompt popup. |
|
static void |
setEncryptedText(TestObject to, String encryptedText, FailureHandling flowControl) Set encrypted text into an input field. |
|
static void |
setEncryptedText(TestObject to, String encryptedText) Set encrypted text into an input field. |
|
static void |
setMaskedText(TestObject to, String text) Set the value of an input field, as though you type it in. |
|
static void |
setMaskedText(TestObject to, String text, FailureHandling flowControl) Set the value of an input field, as though you type it in. |
|
static void |
setText(TestObject to, String text, FailureHandling flowControl) Set the value of an input field, as though you type it in. |
|
static void |
setText(TestObject to, String text) Set the value of an input field, as though you type it in. |
|
static void |
setViewPortSize(int width, int height, FailureHandling flowControl) Set the size of the current window. |
|
static void |
setViewPortSize(int width, int height) Set the size of the current window. |
|
static void |
submit(TestObject to, FailureHandling flowControl) If this current element is a form, or an element within a form, then this will be submitted. |
|
static void |
submit(TestObject to) If this current element is a form, or an element within a form, then this will be submitted. |
|
static void |
switchToDefaultContent(FailureHandling flowControl) Use this keyword to switch back to default Window, after deal with some framed element |
|
static void |
switchToDefaultContent() Use this keyword to switch back to default Window, after deal with some framed element |
|
static boolean |
switchToFrame(TestObject to, int timeOut, FailureHandling flowControl) Switch the current context into an iframe |
|
static boolean |
switchToFrame(TestObject to, int timeOut) Switch the current context into an iframe |
|
static void |
switchToWindowIndex(Object index, FailureHandling flowControl) Switch to the window with given index. |
|
static void |
switchToWindowIndex(Object index) Switch to the window with given index. |
|
static void |
switchToWindowTitle(String title, FailureHandling flowControl) Switch to the window with given title. |
|
static void |
switchToWindowTitle(String title) Switch to the window with given title. |
|
static void |
switchToWindowUrl(String url, FailureHandling flowControl) Switch to the window with given url. |
|
static void |
switchToWindowUrl(String url) Switch to the window with given url. |
|
static String |
takeAreaScreenshot(String fileName, Rectangle rect, List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of the specific Rectangle in current view-port. |
|
static String |
takeAreaScreenshot(String fileName, Rectangle rect, List<TestObject> hideElements, Color hideColor) Take screenshot of the specific Rectangle in current view-port. |
|
static String |
takeAreaScreenshot(String fileName, Rectangle rect, List<TestObject> hideElements, FailureHandling flowControl) Take screenshot of the specific Rectangle in current view-port. |
|
static String |
takeAreaScreenshot(String fileName, Rectangle rect, List<TestObject> hideElements) Take screenshot of the specific Rectangle in current view-port. |
|
static String |
takeAreaScreenshot(Rectangle rect, List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of the specific Rectangle in current view-port. |
|
static String |
takeAreaScreenshot(Rectangle rect, List<TestObject> hideElements, Color hideColor) Take screenshot of the specific Rectangle in current view-port. |
|
static String |
takeAreaScreenshot(Rectangle rect, List<TestObject> hideElements, FailureHandling flowControl) Take screenshot of the specific Rectangle in current view-port. |
|
static String |
takeAreaScreenshot(Rectangle rect, List<TestObject> hideElements) Take screenshot of the specific Rectangle in current view-port. |
|
static String |
takeAreaScreenshot(String fileName, Rectangle rect, FailureHandling flowControl) |
|
static String |
takeAreaScreenshot(String fileName, Rectangle rect) Take screenshot of the specific area. |
|
static String |
takeAreaScreenshot(Rectangle rect) Take screenshot of the specific area with default filename and default FailureHandling |
|
static String |
takeAreaScreenshot(Rectangle rect, FailureHandling flowControl) Take screenshot of the specific area with default filename |
|
static String |
takeAreaScreenshotAsCheckpoint(String checkpointName, Rectangle rect, List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of the specific area within current view-port to send to TestOps Vision. |
|
static String |
takeAreaScreenshotAsCheckpoint(String checkpointName, Rectangle rect, List<TestObject> hideElements, Color hideColor) Take screenshot of the specific area within current view-port to send to TestOps Vision. |
|
static String |
takeAreaScreenshotAsCheckpoint(String checkpointName, Rectangle rect, List<TestObject> hideElements, FailureHandling flowControl) Take screenshot of the specific area within current view-port to send to TestOps Vision. |
|
static String |
takeAreaScreenshotAsCheckpoint(String checkpointName, Rectangle rect, List<TestObject> hideElements) Take screenshot of the specific area within current view-port to send to TestOps Vision. |
|
static String |
takeAreaScreenshotAsCheckpoint(String checkpointName, Rectangle rect, FailureHandling flowControl) |
|
static String |
takeAreaScreenshotAsCheckpoint(String checkpointName, Rectangle rect) Take screenshot of the specific area within current view-port to send to TestOps Vision. |
|
static String |
takeElementScreenshot(String fileName, TestObject to, List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of the specific web element. |
|
static String |
takeElementScreenshot(String fileName, TestObject to, List<TestObject> hideElements, Color hideColor) Take screenshot of the specific web element. |
|
static String |
takeElementScreenshot(String fileName, TestObject to, List<TestObject> hideElements, FailureHandling flowControl) Take screenshot of the specific web element. |
|
static String |
takeElementScreenshot(String fileName, TestObject to, List<TestObject> hideElements) Take screenshot of the specific web element. |
|
static String |
takeElementScreenshot(TestObject to, List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of the specific web element. |
|
static String |
takeElementScreenshot(TestObject to, List<TestObject> hideElements, Color hideColor) Take screenshot of the specific web element. |
|
static String |
takeElementScreenshot(TestObject to, List<TestObject> hideElements, FailureHandling flowControl) Take screenshot of the specific web element. |
|
static String |
takeElementScreenshot(TestObject to, List<TestObject> hideElements) Take screenshot of the specific web element. |
|
static String |
takeElementScreenshot(String fileName, TestObject to, FailureHandling flowControl) Take screenshot of the specific web element. |
|
static String |
takeElementScreenshot(String fileName, TestObject to) Take screenshot of the specific element. |
|
static String |
takeElementScreenshot(TestObject to) Take screenshot of the specific element with default FailureHandling and default file name. |
|
static String |
takeElementScreenshot(TestObject to, FailureHandling flowControl) Take screenshot of the specific element with default file name. |
|
static String |
takeElementScreenshotAsCheckpoint(String checkpointName, TestObject to, List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of the specific web element to send to TestOps Vision. |
|
static String |
takeElementScreenshotAsCheckpoint(String checkpointName, TestObject to, List<TestObject> hideElements, Color hideColor) Take screenshot of the specific web element to send to TestOps Vision. |
|
static String |
takeElementScreenshotAsCheckpoint(String checkpointName, TestObject to, List<TestObject> hideElements, FailureHandling flowControl) Take screenshot of the specific web element to send to TestOps Vision. |
|
static String |
takeElementScreenshotAsCheckpoint(String checkpointName, TestObject to, List<TestObject> hideElements) Take screenshot of the specific web element to send to TestOps Vision. |
|
static String |
takeElementScreenshotAsCheckpoint(String checkpointName, TestObject to, FailureHandling flowControl) Take screenshot of the specific web element to send to TestOps Vision. |
|
static String |
takeElementScreenshotAsCheckpoint(String checkpointName, TestObject to) Take screenshot of the specific web element to check with TestOps Vision. |
|
static String |
takeFullPageScreenshot(String fileName, List<TestObject> hideElements, Color hideColor, List<TestObject> ignoredElements, FailureHandling flowControl) Take screenshot of entire page. |
|
static String |
takeFullPageScreenshot(String fileName, List<TestObject> hideElements, Color hideColor, List<TestObject> ignoredElements) Take screenshot of entire page. |
|
static String |
takeFullPageScreenshot(String fileName, List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of entire page. |
|
static String |
takeFullPageScreenshot(String fileName, List<TestObject> hideElements, Color hideColor) Take screenshot of entire page. |
|
static String |
takeFullPageScreenshot(List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of entire page. |
|
static String |
takeFullPageScreenshot(List<TestObject> hideElements, Color hideColor) Take screenshot of entire page. |
|
static String |
takeFullPageScreenshot(String fileName, List<TestObject> ignoredElements, FailureHandling flowControl) Take screenshot of entire page. |
|
static String |
takeFullPageScreenshot(String fileName, List<TestObject> ignoredElements) Take screenshot of entire page with ignored elements. |
|
static String |
takeFullPageScreenshot(String fileName) Take screenshot of entire page. |
|
static String |
takeFullPageScreenshot(String fileName, FailureHandling flowControl) Take screenshot of entire page. |
|
static String |
takeFullPageScreenshot(List<TestObject> ignoredElements) Take screenshot of entire page with ignored elements . |
|
static String |
takeFullPageScreenshot(List<TestObject> ignoredElements, FailureHandling flowControl) Take screenshot of entire page with ignored elements . |
|
static String |
takeFullPageScreenshot() Take screenshot of entire page with default FailureHandling and default image name. |
|
static String |
takeFullPageScreenshot(FailureHandling flowControl) Take screenshot of entire page with default image name. |
|
static String |
takeFullPageScreenshotAsCheckpoint(String checkpointName, List<TestObject> hideElements, Color hideColor, List<TestObject> ignoredElements, FailureHandling flowControl) Take screenshot of entire page to send to TestOps Vision. |
|
static String |
takeFullPageScreenshotAsCheckpoint(String checkpointName, List<TestObject> hideElements, Color hideColor, List<TestObject> ignoredElements) Take screenshot of entire page to send to TestOps Vision. |
|
static String |
takeFullPageScreenshotAsCheckpoint(String checkpointName, List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of entire page to send to TestOps Vision. |
|
static String |
takeFullPageScreenshotAsCheckpoint(String checkpointName, List<TestObject> hideElements, Color hideColor) Take screenshot of entire page to send to TestOps Vision. |
|
static String |
takeFullPageScreenshotAsCheckpoint(String checkpointName, List<TestObject> ignoredElements, FailureHandling flowControl) Take screenshot of entire page to send to TestOps Vision. |
|
static String |
takeFullPageScreenshotAsCheckpoint(String checkpointName, List<TestObject> ignoredElements) Take screenshot of entire page to send to TestOps Vision. |
|
static String |
takeFullPageScreenshotAsCheckpoint(String checkpointName, FailureHandling flowControl) Take screenshot of entire page to send to TestOps Vision without hiding any web elements. |
|
static String |
takeFullPageScreenshotAsCheckpoint(String checkPointName) Take screenshot of entire page to send to TestOps Vision without hiding any web elements. |
|
static String |
takeScreenshot(String fileName, Map screenshotOptions, FailureHandling flowControl) Take screenshot of the browser and add text to that screenshot. |
|
static String |
takeScreenshot(String fileName) Take screenshot of the browser |
|
static String |
takeScreenshot(String fileName, FailureHandling flowControl) Take screenshot of the browser |
|
static String |
takeScreenshot(FailureHandling flowControl) Take screenshot of the browser |
|
static String |
takeScreenshot() Take screenshot of the browser. |
|
static String |
takeScreenshot(String fileName, Map<String, Object> screenshotOptions) Take screenshot of the browser and add text to that screenshot. |
|
static String |
takeScreenshot(Map<String, Object> screenshotOptions, FailureHandling flowControl) Take screenshot of the browser and add text to that screenshot. |
|
static String |
takeScreenshot(Map<String, Object> screenshotOptions) Take screenshot of the browser and add text to that screenshot. |
|
static String |
takeScreenshotAsCheckpoint(String checkpointName, List<TestObject> hideElements, Color hideColor, FailureHandling flowControl) Take screenshot of current view-port to send to TestOps Vision. |
|
static String |
takeScreenshotAsCheckpoint(String checkpointName, List<TestObject> hideElements, Color hideColor) Take screenshot of current view-port to send to TestOps Vision. |
|
static String |
takeScreenshotAsCheckpoint(String checkpointName, List<TestObject> hideElements, FailureHandling flowControl) Take screenshot of current view-port to send to TestOps Vision. |
|
static String |
takeScreenshotAsCheckpoint(String checkpointName, List<TestObject> hideElements) Take screenshot of current view-port to send to TestOps Vision. |
|
static String |
takeScreenshotAsCheckpoint(String checkpointName, FailureHandling flowControl) Take screenshot of current view-port to send to TestOps Vision. |
|
static String |
takeScreenshotAsCheckpoint(String checkpointName) Take screenshot of current view-port to send to TestOps Vision. |
|
static void |
typeOnImage(TestObject to, String text, FailureHandling flowControl) Type on an image on the web page |
|
static void |
typeOnImage(TestObject to, String text) Type on an image on the web page |
|
static void |
uncheck(TestObject to, FailureHandling flowControl) Uncheck a toggle-button (check-box/radio-button) |
|
static void |
uncheck(TestObject to) Uncheck a toggle-button (check-box/radio-button) |
|
static void |
uploadFile(TestObject to, String fileAbsolutePath, FailureHandling flowControl) Upload file to an input html element with type = "file" |
|
static void |
uploadFile(TestObject to, String fileAbsolutePath) Upload file to an input html element with type = "file" |
|
static void |
uploadFileWithDragAndDrop(TestObject to, String filePath, FailureHandling flowControl) Inject an input that will disappear by the end of this method. |
|
static void |
uploadFileWithDragAndDrop(TestObject to, String filePath) Inject an input that will disappear by the end of this method. |
|
static void |
uploadFileWithDragAndDrop(String filePath) Inject an input that will disappear by the end of this method. |
|
static void |
uploadFileWithDragAndDrop(String filePath, FailureHandling flowControl) Inject an input that will disappear by the end of this method. |
|
static boolean |
verifyAlertNotPresent(int timeOut, FailureHandling flowControl) Verify if alert does not present |
|
static boolean |
verifyAlertNotPresent(int timeOut) Verify if alert does not present |
|
static boolean |
verifyAlertPresent(int timeOut, FailureHandling flowControl) Verify if alert presents |
|
static boolean |
verifyAlertPresent(int timeOut) Verify if alert presents |
|
static boolean |
verifyAllLinksOnCurrentPageAccessible(boolean isIncludedExternalLinks, List excludedLinks, FailureHandling flowControl) Verify all links (URLs) on the current page are accessible |
|
static boolean |
verifyAllLinksOnCurrentPageAccessible(boolean isIncludedExternalLinks, List excludedLinks) Verify all links (URLs) on the current page are accessible |
|
static boolean |
verifyElementAttributeValue(TestObject to, String attributeName, String attributeValue, int timeOut, FailureHandling flowControl) Verify if the web element has an attribute with the specific name and value |
|
static boolean |
verifyElementAttributeValue(TestObject to, String attributeName, String attributeValue, int timeOut) Verify if the web element has an attribute with the specific name and value |
|
static boolean |
verifyElementChecked(TestObject to, int timeOut, FailureHandling flowControl) Verify if the given web element is checked. |
|
static boolean |
verifyElementChecked(TestObject to, int timeOut) Verify if the given web element is checked. |
|
static boolean |
verifyElementClickable(TestObject to, FailureHandling flowControl) Verify if the given element is clickable |
|
static boolean |
verifyElementClickable(TestObject to) Verify if the given element is clickable |
|
static boolean |
verifyElementHasAttribute(TestObject to, String attributeName, int timeOut, FailureHandling flowControl) Verify if the web element has an attribute with the specific name |
|
static boolean |
verifyElementHasAttribute(TestObject to, String attributeName, int timeOut) Verify if the web element has an attribute with the specific name |
|
static boolean |
verifyElementInViewport(TestObject to, int timeOut, FailureHandling flowControl) Verify if the web element is visible in current view port |
|
static boolean |
verifyElementInViewport(TestObject to, int timeOut) Deprecated. |
|
static boolean |
verifyElementNotChecked(TestObject to, int timeOut, FailureHandling flowControl) Verify if the given web element is NOT checked. |
|
static boolean |
verifyElementNotChecked(TestObject to, int timeOut) Verify if the given web element is NOT checked. |
|
static boolean |
verifyElementNotClickable(TestObject to, FailureHandling flowControl) Verify if the given element is NOT clickable |
|
static boolean |
verifyElementNotClickable(TestObject to) Verify if the given element is NOT clickable |
|
static boolean |
verifyElementNotHasAttribute(TestObject to, String attributeName, int timeOut, FailureHandling flowControl) Verify if the web element doesn't have an attribute with the specific name |
|
static boolean |
verifyElementNotHasAttribute(TestObject to, String attributeName, int timeOut) Verify if the web element doesn't have an attribute with the specific name |
|
static boolean |
verifyElementNotInViewport(TestObject to, int timeOut, FailureHandling flowControl) Verify if the web element is NOT visible in current view port |
|
static boolean |
verifyElementNotInViewport(TestObject to, int timeOut) Verify if the web element is NOT visible in current view port |
|
static boolean |
verifyElementNotPresent(TestObject to, int timeOut, FailureHandling flowControl) Verify if the given web element does NOT present on the DOM |
|
static boolean |
verifyElementNotPresent(TestObject to, int timeOut) Verify if the given web element does NOT present on the DOM |
|
static boolean |
verifyElementNotVisible(TestObject to, FailureHandling flowControl) Verify if given web element is NOT visible |
|
static boolean |
verifyElementNotVisible(TestObject to) Verify if given web element is NOT visible |
|
static boolean |
verifyElementNotVisibleInViewport(TestObject to, int timeOut, FailureHandling flowControl) Deprecated. |
|
static boolean |
verifyElementNotVisibleInViewport(TestObject to, int timeOut) Deprecated. |
|
static boolean |
verifyElementPresent(TestObject to, int timeOut, FailureHandling flowControl) Verify if the given web element presents on the DOM |
|
static boolean |
verifyElementPresent(TestObject to, int timeOut) Verify if the given web element presents on the DOM |
|
static boolean |
verifyElementText(TestObject to, String expectedText, FailureHandling flowControl) Verify text of an element. |
|
static boolean |
verifyElementText(TestObject to, String expectedText) Verify text of an element. |
|
static boolean |
verifyElementVisible(TestObject to, FailureHandling flowControl) Verify if given web element is visible |
|
static boolean |
verifyElementVisible(TestObject to) Verify if given web element is visible |
|
static boolean |
verifyElementVisibleInViewport(TestObject to, int timeOut, FailureHandling flowControl) Deprecated. |
|
static boolean |
verifyElementVisibleInViewport(TestObject to, int timeOut) Deprecated. |
|
static boolean |
verifyImagePresent(TestObject to, FailureHandling flowControl) Verify if an image is present on page |
|
static boolean |
verifyImagePresent(TestObject to) Verify if an image is present on page |
|
static boolean |
verifyLinksAccessible(List links, FailureHandling flowControl) Verify a list of links (URLs) are accessible |
|
static boolean |
verifyLinksAccessible(List links) Verify a list of links (URLs) are accessible |
|
static boolean |
verifyOptionNotPresentByLabel(TestObject to, String label, boolean isRegex, int timeOut, FailureHandling flowControl) Verify if the options with the given displayed texts do not exist. |
|
static boolean |
verifyOptionNotPresentByLabel(TestObject to, String label, boolean isRegex, int timeOut) Verify if the options with the given displayed texts do not exist. |
|
static boolean |
verifyOptionNotPresentByValue(TestObject to, String value, boolean isRegex, int timeOut, FailureHandling flowControl) Verify if the options with the given value do not present. |
|
static boolean |
verifyOptionNotPresentByValue(TestObject to, String value, boolean isRegex, int timeOut) Verify if the options with the given value do not present. |
|
static boolean |
verifyOptionNotSelectedByIndex(TestObject to, Object range, int timeOut, FailureHandling flowControl) Verify if the options at the given indices are not selected |
|
static boolean |
verifyOptionNotSelectedByIndex(TestObject to, Object range, int timeOut) Verify if the options at the given indices are not selected |
|
static boolean |
verifyOptionNotSelectedByLabel(TestObject to, String label, boolean isRegex, int timeOut, FailureHandling flowControl) Verify if the options with the given displayed texts are not selected. |
|
static boolean |
verifyOptionNotSelectedByLabel(TestObject to, String label, boolean isRegex, int timeOut) Verify if the options with the given displayed texts are not selected. |
|
static boolean |
verifyOptionNotSelectedByValue(TestObject to, String value, boolean isRegex, int timeOut, FailureHandling flowControl) Verify if the options with the given value are not selected. |
|
static boolean |
verifyOptionNotSelectedByValue(TestObject to, String value, boolean isRegex, int timeOut) Verify if the options with the given value are not selected. |
|
static boolean |
verifyOptionPresentByLabel(TestObject to, String label, boolean isRegex, int timeOut, FailureHandling flowControl) Verify if the option with the given label (displayed text) presents |
|
static boolean |
verifyOptionPresentByLabel(TestObject to, String label, boolean isRegex, int timeOut) Verify if the option with the given label (displayed text) presents |
|
static boolean |
verifyOptionPresentByValue(TestObject to, String value, boolean isRegex, int timeOut, FailureHandling flowControl) Verify if the options with the given value present. |
|
static boolean |
verifyOptionPresentByValue(TestObject to, String value, boolean isRegex, int timeOut) Verify if the options with the given value present. |
|
static boolean |
verifyOptionSelectedByIndex(TestObject to, Object range, int timeOut, FailureHandling flowControl) Verify if the options at the given indices are selected. |
|
static boolean |
verifyOptionSelectedByIndex(TestObject to, Object range, int timeOut) Verify if the options at the given indices are selected. |
|
static boolean |
verifyOptionSelectedByLabel(TestObject to, String label, boolean isRegex, int timeOut, FailureHandling flowControl) Verify if the options with the given displayed texts are selected. |
|
static boolean |
verifyOptionSelectedByLabel(TestObject to, String label, boolean isRegex, int timeOut) Verify if the options with the given displayed texts are selected. |
|
static boolean |
verifyOptionSelectedByValue(TestObject to, String value, boolean isRegex, int timeOut, FailureHandling flowControl) Verify if the options with the given value are selected. |
|
static boolean |
verifyOptionSelectedByValue(TestObject to, String value, boolean isRegex, int timeOut) Verify if the options with the given value are selected. |
|
static boolean |
verifyOptionsPresent(TestObject to, List expectedOptions, FailureHandling flowControl) Verify if all expected options are present within the given test object. |
|
static boolean |
verifyOptionsPresent(TestObject to, List expectedOptions) Verify if all expected options are present within the given test object. |
|
static boolean |
verifyTextNotPresent(String text, boolean isRegex, FailureHandling flowControl) Verify if the given texts do NOT present anywhere in the page source |
|
static boolean |
verifyTextNotPresent(String text, boolean isRegex) Verify if the given texts do NOT present anywhere in the page source |
|
static boolean |
verifyTextPresent(String text, boolean isRegex, FailureHandling flowControl) Verify if the given texts present anywhere in the page source |
|
static boolean |
verifyTextPresent(String text, boolean isRegex) Verify if the given texts present anywhere in the page source |
|
static boolean |
waitForAlert(int timeOut, FailureHandling flowControl) Wait for alert to present |
|
static boolean |
waitForAlert(int timeOut) Wait for alert to present |
|
static boolean |
waitForAngularLoad(int seconds) Wait for Angular/AJAX to load within the given time in second unit. |
|
static boolean |
waitForAngularLoad(int seconds, FailureHandling flowControl) Wait for Angular/AJAX call to load within the given time in second unit. |
|
static boolean |
waitForElementAttributeValue(TestObject to, String attributeName, String attributeValue, int timeOut, FailureHandling flowControl) Wait until the given web element has an attribute with the specific name and value |
|
static boolean |
waitForElementAttributeValue(TestObject to, String attributeName, String attributeValue, int timeOut) Wait until the given web element has an attribute with the specific name and value |
|
static boolean |
waitForElementClickable(TestObject to, int timeOut, FailureHandling flowControl) Wait for the given element to be clickable within the given time in second |
|
static boolean |
waitForElementClickable(TestObject to, int timeOut) Wait for the given element to be clickable within the given time in second |
|
static boolean |
waitForElementHasAttribute(TestObject to, String attributeName, int timeOut, FailureHandling flowControl) Wait until the given web element has an attribute with the specific name |
|
static boolean |
waitForElementHasAttribute(TestObject to, String attributeName, int timeOut) Wait until the given web element has an attribute with the specific name |
|
static boolean |
waitForElementNotClickable(TestObject to, int timeOut, FailureHandling flowControl) Wait for the given element to be not clickable within the given time in second |
|
static boolean |
waitForElementNotClickable(TestObject to, int timeOut) Wait for the given element to be not clickable within the given time in second |
|
static boolean |
waitForElementNotHasAttribute(TestObject to, String attributeName, int timeOut, FailureHandling flowControl) Wait until the given web element doesn't have an attribute with the specific name |
|
static boolean |
waitForElementNotHasAttribute(TestObject to, String attributeName, int timeOut) Wait until the given web element doesn't have an attribute with the specific name |
|
static boolean |
waitForElementNotPresent(TestObject to, int timeOut, FailureHandling flowControl) Wait for the given element to NOT present (disappear) within the given time in second unit |
|
static boolean |
waitForElementNotPresent(TestObject to, int timeOut) Wait for the given element to NOT present (disappear) within the given time in second unit |
|
static boolean |
waitForElementNotVisible(TestObject to, int timeOut, FailureHandling flowControl) Wait until the given web element is NOT visible within timeout. |
|
static boolean |
waitForElementNotVisible(TestObject to, int timeOut) Wait until the given web element is NOT visible within timeout. |
|
static boolean |
waitForElementPresent(TestObject to, int timeOut, FailureHandling flowControl) Wait for the given element to present (appear) within the given time in second unit |
|
static boolean |
waitForElementPresent(TestObject to, int timeOut) Wait for the given element to present (appear) within the given time in second unit |
|
static boolean |
waitForElementVisible(TestObject to, int timeOut, FailureHandling flowControl) Wait until the given web element is visible within timeout. |
|
static boolean |
waitForElementVisible(TestObject to, int timeOut) Wait until the given web element is visible within timeout. |
|
static boolean |
waitForImagePresent(TestObject to, int timeOutInSeconds, FailureHandling flowControl) Wait for an image to be presented on page |
|
static boolean |
waitForImagePresent(TestObject to, int timeOutInSeconds) Wait for an image to be presented on page |
|
static boolean |
waitForJQueryLoad(int seconds) Wait for jQuery to load within the given time in second unit. |
|
static boolean |
waitForJQueryLoad(int seconds, FailureHandling flowControl) Wait for jQuery to load within the given time in second unit. |
|
static void |
waitForPageLoad(int seconds, FailureHandling flowControl) Wait for the web page to load within the given time in second unit. |
|
static void |
waitForPageLoad(int seconds) Wait for the web page to load within the given time in second unit. |
Methods inherited from class | Name |
---|---|
class BuiltinKeywords |
callTestCase, callTestCase, comment, concatenate, concatenate, delay, delay, verifyCheckpoint, verifyCheckpoint, verifyEqual, verifyEqual, verifyGreaterThan, verifyGreaterThan, verifyGreaterThanOrEqual, verifyGreaterThanOrEqual, verifyLessThan, verifyLessThan, verifyLessThanOrEqual, verifyLessThanOrEqual, verifyMatch, verifyMatch, verifyNotEqual, verifyNotEqual, verifyNotMatch, verifyNotMatch |
Simulate users clicking on "OK" button of alert class (alert, confirmation popup, prompt popup)
Simulate users clicking on "OK" button of alert class (alert, confirmation popup, prompt popup)
Navigate to a page that requires authentication. System will enter username and password
url
- url of the page to navigate (optional)userName
- username to authenticatepassword
- password to authenticatetimeout
-
time to wait since navigating to the page until entering usernameNavigate to a page that requires authentication. System will enter username and password
url
- url of the page to navigate (optional)userName
- username to authenticatepassword
- password to authenticatetimeout
- time to wait since navigating to the page until entering usernameSimulate users clicking "back" button on their browser
Simulate users clicking "back" button on their browser
Check a toggle-button (check-box/radio-button)
to
- represent a web elementCheck a toggle-button (check-box/radio-button)
to
- represent a web elementClear all text of the test object.
to
- represent a web element.flowControl
- FailureHandlingClear all text of the test object.
to
- represent a web element.Click on the given element
to
- represent a web elementClick on the given element
to
- represent a web elementClick on an image on the web page
to
- represent an imageClick on an image on the web page
to
- represent an imageClick on the given element with the relative position (x, y) from the top-left corner of that element
to
- represent a web elementoffsetX
- x position in relative to the elementoffsetY
- y position in relative to the elementClick on the given element with the relative position (x, y) from the top-left corner of that element
to
- represent a web elementoffsetX
- x position in relative to the elementoffsetY
- y position in relative to the elementClose the browser. This action will close all windows of the browser.
Close the browser. This action will close all windows of the browser.
Close window with the given index.
index
- the index of the window to close, index is 0-based numberClose window with the given index.
index
- the index of the window to close, index is 0-based numberClose the window with given title.
title
- title of the window to closeClose the window with given title.
title
- title of the window to closeClose the window with given url.
url
- url of the window to closeClose the window with given url.
url
- url of the window to closeConvert a WebElement to a TestObject. It will create a Test Object with no name that wraps around the given WebElement. When the Test Object is used by built-in keywords, it is unwrapped and the given WebElement will be used
webElement
- the WebElement retrieved by Selenium or other APIsflowControl
- failureHandlingConvert a WebElement to a TestObject. It will create a Test Object with no name that wraps around the given WebElement. When the Test Object is used by built-in keywords, it is unwrapped and the given WebElement will be used
webElement
- the WebElement retrieved by Selenium or other APIsDelete all cookies of all windows.
Delete all cookies of all windows.
Deselect all options
to
- represent a web elementDeselect all options
to
- represent a web elementDeselect the options at the given indices. Index starts from 0.
to
- represent a web elementindex
- index range of the options to be deselected
Example:
2 - index 2
"2,3" - index 2 and 3
"2-5" - index 2 to 5 (2, 3, 4, 5)
Deselect the options at the given indices. Index starts from 0.
to
- represent a web elementindex
- index range of the options to be deselected
Example:
2 - index 2
"2,3" - index 2 and 3
"2-5" - index 2 to 5 (2, 3, 4, 5)
Deselect the options with the given label (displayed text)
to
- represent a web elementlabelText
- displayed text of the options to be deselectedisRegex
- true if label is regular expression, false if notDeselect the options with the given label (displayed text)
to
- represent a web elementlabelText
- displayed text of the options to be deselectedisRegex
- true if label is regular expression, false if notDeselect all options with the given value
to
- represent a web elementvalue
- value of the options to be deselectedisRegex
- true if value is regular expression, false if notDeselect all options with the given value
to
- represent a web elementvalue
- value of the options to be deselectedisRegex
- true if value is regular expression, false if notDisable smart wait functionality. If global smart wait option is enabled, then this keyword will turn off the smart wait functionality until the end of the calling test case or until the keyword WebUiBuiltinKeywords#enableSmartWait#enableSmartWait is called.
Simulate users clicking on "Cancel" button of alert class (alert, confirmation popup, prompt popup).
Simulate users clicking on "Cancel" button of alert class (alert, confirmation popup, prompt popup).
Double click on the given web element
to
- represent a web elementDouble click on the given web element
to
- represent a web elementDrag an object and drop it to an offset location
sourceObject
- the source objectxOffset
- x offsetyOffset
- y offsetDrag an object and drop it to an offset location
sourceObject
- the source objectxOffset
- x offsetyOffset
- y offsetDrag an object and drop it to another object
sourceObject
- the source objectdestinationObject
- the destination objectDrag an object and drop it to another object
sourceObject
- the source objectdestinationObject
- the destination objectEnable smart wait functionality. Katalon will precede actions on elements by waiting activities to ensure that the page is not loading elements or executing AJAX calls. Such waiting activities greatly increase the chance that elements are available or interactable.
It is recommended to always enable smart wait functionality globally in project setting.
Click on the given element using various trial-and-error methods
to
- represent a web elementClick on the given element using various trial-and-error methods
to
- represent a web elementExecute JavaScript on the currently selected frame or window. The provided script fragment will be executed as the body of an anonymous function.
script
- The JavaScript to execute.arguments
- The arguments to the script. May be empty or null.flowControl
- FailureHandling.Execute JavaScript on the currently selected frame or window. The provided script fragment will be executed as the body of an anonymous function.
script
- The JavaScript to execute.arguments
- The arguments to the script. May be empty or null.Find web element by test object
to
- represent a test objecttimeout
- system will wait at most timeout (seconds) to return resultFind web element by test object
to
- represent a test objecttimeout
- system will wait at most timeout (seconds) to return resultflowControl
- the FailureHandling defines how the test case is run in case this step failed.
If it is null, default value will be used.Find to find web elements by test object
to
- represent a test objecttimeout
- system will wait at most timeout (seconds) to return resultFind to find web elements by test object
to
- represent a test objecttimeout
- system will wait at most timeout (seconds) to return resultflowControl
- the FailureHandling defines how the test case is run in case this step failed.
If it is null, default value will be used.Move the focus to the specified element; for example, if the element is an input field, move the cursor to that field
to
- represent a web elementMove the focus to the specified element; for example, if the element is an input field, move the cursor to that field
to
- represent a web elementSimulate users clicking "forward" button on their browser
Simulate users clicking "forward" button on their browser
Get displayed text of the alert class (alert, confirmation popup, prompt popup).
Get displayed text of the alert class (alert, confirmation popup, prompt popup).
Get all links on current page
isIncludedExternalLinks
- If false, only target to links on the same HOST. Otherwise, target to all links.excludedLinks
- A list of excluded links (URLs)flowControl
- FailureHandlingGet all links on current page
isIncludedExternalLinks
- If false, only target to links on the same HOST. Otherwise, target to all links.excludedLinks
- A list of excluded links (URLs)Get attribute value of a web element
to
- represent a web elementattribute
- name of the attributeGet attribute value of a web element
to
- represent a web elementattribute
- name of the attributeGet CSS value of a web element
to
- represent the web elementcss
- represent the css property name of the elementGet CSS value of a web element
to
- represent the web elementcss
- represent the css property name of the elementGet height of web element
to
- represent the web elementGet height of web element
to
- represent the web elementGet left position of web element
to
- represent the web elementGet the left position of web element
to
- represent the web elementGet width of web element
to
- represent the web elementGet width of web element
to
- represent the web elementCount the number of options which are being selected the given web element has.
to
- represent a web elementCount the number of options which are being selected the given web element has.
to
- represent a web elementCount the total number of options the given web element has
to
- represent a web elementCount the total number of options the given web element has
to
- represent a web elementGet current web page's height
Get current web page's height
Get current web page's width
Get current web page's width
Get the visible (i.e. not hidden by CSS) innerText of the web element, including sub-elements, without any leading or trailing whitespace.
to
- represent a web elementGet the visible (i.e. not hidden by CSS) innerText of the web element, including sub-elements, without any leading or trailing whitespace.
to
- represent a web elementGet url of the current window
Get url of the current window
Get current viewport's height value
Get current viewport's height value
Get current view port left (x) position relatively to the web page
Get current view port left (x) position relatively to the web page
Get current view port top (y) position relatively to the web page
Get current view port top (y) position relatively to the web page
Get current viewport's width value
Get current viewport's width value
Get index of the current window
Get index of the current window
Get title of the current window
Get title of the current window
Resize current window to take up the entire screen
Resize current window to take up the entire screen
Modify property of test object. If the property is not existed then the property will be created. If the changed value is null then the existed value will not be changed. Use when test object has attributes changing in runtime. This keyword does not modify the object saved in Object Repository, instead, it creates another test object, modify and return this test object. Hence, users must use a variable to get the returned object.
testObject
- represent a web elementpropertyName
- name of the property, for example, xpath, id, name,...
If the property already exists in the object, the keyword will modify its related artifacts; if not, the keyword will add new property.
matchCondition
- condition to match property name with property value, for example, equals, not equals,...
In case the property already exists, input null to this argument to keep the old value of match condition.
modifyValue
- value of the property.
In case the property already exists, input null to this argument to keep the old property value.
isActive
- true if the property is checked (used to find the test object); otherwise, false.
In case the property already exists, input null to this argument to keep the old value.
Modify property of test object. If the property is not existed then the property will be created. If the changed value is null then the existed value will not be changed. Use when test object has attributes changing in runtime. This keyword does not modify the object saved in Object Repository, instead, it creates another test object, modify and return this test object. Hence, users must use a variable to get the returned object.
testObject
- represent a web elementpropertyName
- name of the property, for example, xpath, id, name,...
If the property already exists in the object, the keyword will modify its related artifacts if not, the keyword will add new property.
matchCondition
- condition to match property name with property value, for example, equals, not equals,...
In case the property already exists, input null to this argument to keep the old value of match condition.
modifyValue
- value of the property.
In case the property already exists, input null to this argument to keep the old property value.
isActive
- true if the property is checked (used to find the test object); otherwise, false.
In case the property already exists, input null to this argument to keep the old value.
Simulate users hovering a mouse over the given element
to
- represent a web elementSimulate users hovering a mouse over the given element
to
- represent a web elementSimulate users hovering a mouse over the given element with the relative position (x, y) from the top-left corner of that element
to
- represent a web elementoffsetX
- x position in relative to the elementoffsetY
- y position in relative to the elementSimulate users hovering a mouse over the given element with the relative position (x, y) from the top-left corner of that element
to
- represent a web elementoffsetX
- x position in relative to the elementoffsetY
- y position in relative to the elementNavigate to the specified web page. The raw URL value will be masked.
rawUrl
- url of the web page to navigate to. If rawUrl doesn't contain protocol prefix, then the protocol will be http://
.
Example:
Navigate to the specified web page. The raw URL value will be masked.
rawUrl
- url of the web page to navigate to. If rawUrl doesn't contain protocol prefix, then the protocol will be http://
.
Example:
Navigate to the specified web page
rawUrl
- url of the web page to navigate to. If rawUrl doesn't contain protocol prefix, then the protocol will be http://
.
Example:
Navigate to the specified web page
rawUrl
- url of the web page to navigate to. If rawUrl doesn't contain protocol prefix, then the protocol will be http://
.
Example:
Open browser and navigate to the specified url; if url is left empty then just open browser
rawUrl
- url of the web page to be opened, can be left empty or null. If rawUrl doesn't contain protocol prefix,
then the protocol will be http://
.
Example:
Open browser and navigate to the specified url; if url is left empty then just open browser
rawUrl
- url of the web page to be opened, can be left empty or null. If rawUrl doesn't contain protocol prefix,
then the protocol will be http://
.
Example:
Simulate users clicking "refresh" button on their browser
Simulate users clicking "refresh" button on their browser
Remove existing property of test object. Use when test object has attributes changing in runtime. This keyword does not modify the object saved in Object Repository, instead, it creates another test object, modify and return this test object. Hence, users must use a variable to store the returned object.
testObject
- represent a web elementpropertyName
- name of the property, for example, xpath, id, name,...Remove existing property of test object. Use when test object has attributes changing in runtime. This keyword does not modify the object saved in Object Repository, instead, it creates another test object, modify and return this test object. Hence, users must use a variable to store the returned object.
testObject
- represent a web elementpropertyName
- name of the property, for example, xpath, id, name,...Right click on the given web element
to
- represent a web elementRight click on the given web element
to
- represent a web elementRight click on the given element with the relative position (x, y) from the top-left corner of that element
to
- represent a web elementoffsetX
- x position in relative to the elementoffsetY
- y position in relative to the elementRight click on the given element with the relative position (x, y) from the top-left corner of that element
to
- represent a web elementoffsetX
- x position in relative to the elementoffsetY
- y position in relative to the elementscrolls a element into the visible area of the browser window
to
- represent a web elementtimeOut
- maximum period of time (in seconds) that system will wait to find the elementflowControl
- flow controlscrolls a element into the visible area of the browser window
to
- represent a web elementtimeOut
- maximum period of time (in seconds) that system will wait to find the elementScroll the viewport to a specific position
x
- x positiony
- y positionScroll the viewport to a specific position
x
- x positiony
- y positionSelection all options of an object.
to
- represent a web elementSelection all options of an object.
to
- represent a web elementSelect the options at the given indices. Index starts from 0.
to
- represent a web elementrange
- index range of the options to select. Index starts from 0.
Example:
2 - index 2
"2,3" - index 2 and 3
"2-5" - index 2 to 5 (2, 3, 4, 5)
Select the options at the given indices. Index starts from 0.
to
- represent a web elementrange
- index range of the options to select. Index starts from 0.
Example:
2 - index 2
"2,3" - index 2 and 3
"2-5" - index 2 to 5 (2, 3, 4, 5)
Select all options with the given label (displayed text)
to
- represent a web elementlabelText
- displayed text of the options to selectisRegex
- true if label is regular expression, false if notSelect all options with the given label (displayed text)
to
- represent a web elementlabelText
- displayed text of the options to selectisRegex
- true if label is regular expression, false if notSelect all options that have a value matching the "value" argument.
to
- represent a web elementvalue
- value of the options to selectisRegex
- true if value is regular expression, false if notSelect all options that have a value matching the "value" argument.
to
- represent a web elementvalue
- value of the options to selectisRegex
- true if value is regular expression, false if notSimulates keystroke events on the specified element, as though you typed the value key-by-key
to
- represent a web elementstrKeys
- the combination of keys to typeSimulates keystroke events on the specified element, as though you typed the value key-by-key
to
- represent a web elementstrKeys
- the combination of keys to typeSimulate users typing text into prompt popup.
text
- text to type into the prompt popupSimulate users typing text into prompt popup.
text
- text to type into the prompt popupSet encrypted text into an input field. It also clears the previous value of the input field. To encrypt raw text, go to Help/Encrypt Text
to
- represent a web elementencryptedText
- the encrypted textSet encrypted text into an input field. It also clears the previous value of the input field. To encrypt raw text, go to Help/Encrypt Text
to
- represent a web elementencryptedText
- the encrypted textSet the value of an input field, as though you type it in. It also clears the previous value of the input field. The text value will be masked.
to
- represent a web elementtext
- the text to typeSet the value of an input field, as though you type it in. It also clears the previous value of the input field. The text value will be masked.
to
- represent a web elementtext
- the text to typeSet the value of an input field, as though you type it in. It also clears the previous value of the input field
to
- represent a web elementtext
- the text to typeSet the value of an input field, as though you type it in. It also clears the previous value of the input field
to
- represent a web elementtext
- the text to typeSet the size of the current window. This will change the outer window dimension and the viewport, synonymous to window.resizeTo() in JS.
width
- the target viewport widthheight
- the target viewport heightSet the size of the current window. This will change the outer window dimension and the viewport, synonymous to window.resizeTo() in JS.
width
- the target viewport widthheight
- the target viewport heightIf this current element is a form, or an element within a form, then this will be submitted. If this causes the current page to change, then this method will block until the new page is loaded.
to
- represent a web elementIf this current element is a form, or an element within a form, then this will be submitted. If this causes the current page to change, then this method will block until the new page is loaded.
to
- represent a web elementUse this keyword to switch back to default Window, after deal with some framed element
Use this keyword to switch back to default Window, after deal with some framed element
Switch the current context into an iframe
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultSwitch the current context into an iframe
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultSwitch to the window with given index.
index
- the index of the window to switch to, index is 0-based numberSwitch to the window with given index.
index
- the index of the window to switch to, index is 0-based numberSwitch to the window with given title.
title
- title of the window to switch toSwitch to the window with given title.
title
- title of the window to switch toSwitch to the window with given url.
url
- url of the window to switch toSwitch to the window with given url.
url
- url of the window to switch toTake screenshot of the specific Rectangle in current view-port. If the rectangle is not located within the view-port, this method will fail.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific Rectangle in current view-port. If the rectangle is not located within the view-port, this method will fail.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.Take screenshot of the specific Rectangle in current view-port. If the rectangle is not located within the view-port, this method will fail.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific Rectangle in current view-port. If the rectangle is not located within the view-port, this method will fail.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.Take screenshot of the specific Rectangle in current view-port. If the rectangle is not located within the view-port, this method will fail.
rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific Rectangle in current view-port. If the rectangle is not located within the view-port, this method will fail.
rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.Take screenshot of the specific Rectangle in current view-port. If the rectangle is not located within the view-port, this method will fail.
rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific Rectangle in current view-port. If the rectangle is not located within the view-port, this method will fail.
rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.
Take screenshot of the specific Rectangle in current view-port. If the rectangle is not located within the view-port, this method will fail. You have to use Script mode to create the Rectangle object.
import org.openqa.selenium.Rectangle as Rectangle
WebUI.takeAreaScreenshotAsCheckpoint('screenshot_area_demo.png', new Rectangle(x, y, height, width))
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific area. Default FailureHandling is used.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.Take screenshot of the specific area with default filename and default FailureHandling
rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.Take screenshot of the specific area with default filename
rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific area within current view-port to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific area within current view-port to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.Take screenshot of the specific area within current view-port to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific area within current view-port to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.
Take screenshot of the specific area within current view-port to send to TestOps Vision. You have to use Script mode to create the Rectangle object.
import org.openqa.selenium.Rectangle as Rectangle
WebUI.takeAreaScreenshotAsCheckpoint('screenshot_area_demo.png', new Rectangle(x, y, height, width))
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific area within current view-port to send to TestOps Vision. Default FailureHandling is used.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.rect
- The declared rectangle area that will be captured. The declare rectangle must be inside the current view-port, otherwise this step will fail.
This cannot be null.Take screenshot of the specific web element.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific web element.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.Take screenshot of the specific web element.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific web element.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.Take screenshot of the specific web element.
to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific web element.
to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.Take screenshot of the specific web element.
to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific web element.
to
- Absolute path to the captured file. If fileName if null, default file will be used.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.Take screenshot of the specific web element. If the element doesn't exist then this method will fail.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific element. Default FailureHandling is used.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.Take screenshot of the specific element with default FailureHandling and default file name.
to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.Take screenshot of the specific element with default file name.
to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific web element to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific web element to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.Take screenshot of the specific web element to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific web element to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.Take screenshot of the specific web element to send to TestOps Vision. If the element doesn't exist then this method will fail.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of the specific web element to check with TestOps Vision. Default FailureHandling is used.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.to
- TestObject got from WebSpy and findTestObject(String to) function.
This parameter cannot be null.Take screenshot of entire page. For chromium-based browser, take entire page screenshot api of developer tools will be used. Otherwise uses scroll-and-shot method instead.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.ignoredElements
- List of TestObject that will be hidden using JavaScript. Can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page. For chromium-based browser, take entire page screenshot api of developer tools will be used. Otherwise uses scroll-and-shot method instead.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.ignoredElements
- List of TestObject that will be hidden using JavaScript. Can be null or empty.Take screenshot of entire page. For chromium-based browser, take entire page screenshot api of developer tools will be used. Otherwise uses scroll-and-shot method instead.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page. For chromium-based browser, take entire page screenshot api of developer tools will be used. Otherwise uses scroll-and-shot method instead.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.Take screenshot of entire page. For chromium-based browser, take entire page screenshot api of developer tools will be used. Otherwise uses scroll-and-shot method instead.
hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page. For chromium-based browser, take entire page screenshot api of developer tools will be used. Otherwise uses scroll-and-shot method instead.
hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.Take screenshot of entire page. This function simulates scroll actions to take numbers of shots then merge them together. As a result this method will not support pages that using infinity scrolling. This method uses JavaScript to hide scroll-bar and ignored elements so that JavaScript must be enabled on the test browser.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.ignoredElements
- List of TestObject that will be hidden using JavaScript. Use Variables to create a list of TestObject or
use Groovy List in Script mode to pass this argument. The list can be null or empty.
Example of using groovy list:
WebUI.takeFullPageScreenshotAsCheckpoint('fullpage', [findTestObject('EX/EX_Header'), findTestObject('EX/EX_Footer')])
flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page with ignored elements. Default FailureHandling is used.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.ignoredElements
- List of TestObject that will be hidden using JavaScript. The list can be null or empty.Take screenshot of entire page. Default FailureHandling is used. No element is going to be ignored.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.Take screenshot of entire page. No element is going to be ignored.
fileName
- Absolute path to the captured file. If fileName if null, default file will be used.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page with ignored elements . Default FailureHandling and default file name are used.
ignoredElements
- List of TestObject that will be hidden using JavaScript. The list can be null or empty.Take screenshot of entire page with ignored elements . Default file name is used.
ignoredElements
- List of TestObject that will be hidden using JavaScript. The list can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page with default FailureHandling and default image name.
Take screenshot of entire page with default image name.
flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.ignoredElements
- List of TestObject that will be hidden using JavaScript. The list can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.ignoredElements
- List of TestObject that will be hidden using JavaScript. The list can be null or empty.Take screenshot of entire page to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page to send to TestOps Vision.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY. Take screenshot of entire page to send to TestOps Vision.
This method is a wrapper method of takeFullPageScreenshot(String fileName, List
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.ignoredElements
- List of TestObject that will be hidden using JavaScript. The list can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page to send to TestOps Vision. Default FailureHadling is used.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.ignoredElements
- List of TestObject that will be hidden using JavaScript. The list can be null or empty.Take screenshot of entire page to send to TestOps Vision without hiding any web elements.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of entire page to send to TestOps Vision without hiding any web elements. Default FailureHandling is used.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.Take screenshot of the browser and add text to that screenshot.
fileName
- the absolute path of the saved screenshot image filescreenshotOptions
- options for the text needed adding to the screenshot.
Example: ["text" : "Katalon Studio", "x" : 10, "y" : 20, "font" : "Courier", "fontSize" : 24, "fontColor": "#808080"]Take screenshot of the browser
fileName
- the absolute path of the saved screenshot image fileTake screenshot of the browser
fileName
- the absolute path of the saved screenshot image fileTake screenshot of the browser
Take screenshot of the browser.
Take screenshot of the browser and add text to that screenshot.
fileName
- the absolute path of the saved screenshot image filescreenshotOptions
- options for the text needed adding to the screenshot.
Example: ["text" : "Katalon Studio", "x" : 10, "y" : 20, "font" : "Courier", "fontSize" : 24, "fontColor": "#808080"]Take screenshot of the browser and add text to that screenshot.
screenshotOptions
- options for the text needed adding to the screenshot.
Example: ["text" : "Katalon Studio", "x" : 10, "y" : 20, "font" : "Courier", "fontSize" : 24, "fontColor": "#808080"]Take screenshot of the browser and add text to that screenshot.
screenshotOptions
- options for the text needed adding to the screenshot.
Example: ["text" : "Katalon Studio", "x" : 10, "y" : 20, "font" : "Courier", "fontSize" : 24, "fontColor": "#808080"]Take screenshot of current view-port to send to TestOps Vision. The captured image will be saved in '.png' format.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of current view-port to send to TestOps Vision. The captured image will be saved in '.png' format.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.hideColor
- Color used to draw the overlap layer. Can be null. Default is Color.GRAY.Take screenshot of current view-port to send to TestOps Vision. The captured image will be saved in '.png' format.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of current view-port to send to TestOps Vision. The captured image will be saved in '.png' format.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.hideElements
- List of TestObject that will be hidden by drawing an overlap color layer after taking screenshot. Can be null or empty.Take screenshot of current view-port to send to TestOps Vision. The captured image will be saved in '.png' format.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.flowControl
- the FailureHandling defines how the test case is run in case this step failed. If it is null, default value will be used.Take screenshot of current view-port to send to TestOps Vision. Default FailureHandling is used.
checkpointName
- Name of the checkpoint which will be appended with TestOps Vision prefix to complete the saved file name.
Checkpoint will be saved in 'keyes' folder in report folder.
Checkpoint's name will be used by TestOps Vision to detect what baseline image this shot is compared with.Type on an image on the web page
to
- represent an imagetext
- text to type on the imageType on an image on the web page
to
- represent an imagetext
- text to type on the imageUncheck a toggle-button (check-box/radio-button)
to
- represent a web elementUncheck a toggle-button (check-box/radio-button)
to
- represent a web elementUpload file to an input html element with type = "file"
to
-
represent a web element.fileAbsolutePath
- absolute path of the file on local machineflowControl
- flow controlUpload file to an input html element with type = "file"
to
- represent a web element.fileAbsolutePath
- absolute path of the file on local machineInject an input that will disappear by the end of this method. This keyword set files to the input and then emit dragenter, dragover, drop events that carry the files to the provided drop zone.
To upload multiple files, please provide the string of the format: pathToFile 1 + "\n" + pathToFile2 + "\n" + pathToFile3
to
- TestObject The drop zone on which drag-and-drop can be donefilePath
- The absolute path to the file to be uploadedflowControl
- failureHandlingInject an input that will disappear by the end of this method. This keyword set files to the input and then emit dragenter, dragover, drop events that carry the files to the provided drop zone.
To upload multiple files, please provide the string of the format: pathToFile 1 + "\n" + pathToFile2 + "\n" + pathToFile3
to
- TestObject The drop zone on which drag-and-drop can be donefilePath
- String The absolute path to the file to be uploadedInject an input that will disappear by the end of this method. This keyword set files to the input and then emit dragenter, dragover, drop events that carry the files to the drop zone which is defaulted to the body element. To specify your own drop zone, refer to other variations of this keyword
To upload multiple files, please provide the string of the format: pathToFile 1 + "\n" + pathToFile2 + "\n" + pathToFile3
filePath
- String The absolute path to the file to be uploadedInject an input that will disappear by the end of this method. This keyword set files to the input and then emit dragenter, dragover, drop events that carry the files to the drop zone which is defaulted to the body element. To specify your own drop zone, refer to other variations of this keyword
To upload multiple files, please provide the string of the format: pathToFile 1 + "\n" + pathToFile2 + "\n" + pathToFile3
filePath
- String The absolute path to the file to be uploadedflowControl
- failureHandlingVerify if alert does not present
timeout
- timeout waiting for alert to not presentVerify if alert does not present
timeout
- timeout waiting for alert to not presentVerify if alert presents
timeout
- timeout waiting for alert to presentVerify if alert presents
timeout
- timeout waiting for alert to presentVerify all links (URLs) on the current page are accessible
isIncludedExternalLinks
- If false, only target to links on the same HOST. Otherwise, target to all links.excludedLinks
- A list of excluded links (URLs)flowControl
- FailureHandlingVerify all links (URLs) on the current page are accessible
isIncludedExternalLinks
- If false, only target to links on the same HOST. Otherwise, target to all links.excludedLinks
- A list of excluded links (URLs)Verify if the web element has an attribute with the specific name and value
to
- represent a web elementattributeName
- the name of the attribute to verifyattributeValue
- the value of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if the web element has an attribute with the specific name and value
to
- represent a web elementattributeName
- the name of the attribute to verifyattributeValue
- the value of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given web element is checked.
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given web element is checked.
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given element is clickable
to
- represent a web elementVerify if the given element is clickable
to
- represent a web elementVerify if the web element has an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if the web element has an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if the web element is visible in current view port
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultDeprecated. As of Katalon version 3.7.0.0, replaced by keyword com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.verifyElementInViewport. Verify if the web element is visible in current view port
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given web element is NOT checked.
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given web element is NOT checked.
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given element is NOT clickable
to
- represent a web elementVerify if the given element is NOT clickable
to
- represent a web elementVerify if the web element doesn't have an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if the web element doesn't have an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to verifytimeOut
- system will wait at most timeout (seconds) to return resultVerify if the web element is NOT visible in current view port
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the web element is NOT visible in current view port
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given web element does NOT present on the DOM
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given web element does NOT present on the DOM
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if given web element is NOT visible
to
- represent a web elementVerify if given web element is NOT visible
to
- represent a web elementDeprecated. As of Katalon version 3.7.0.0, replaced by keyword com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.verifyElementNotInViewport. Verify if the web element is NOT visible in current view port
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultDeprecated. As of Katalon version 3.7.0.0, replaced by keyword com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.verifyElementNotInViewport. Verify if the web element is NOT visible in current view port
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given web element presents on the DOM
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the given web element presents on the DOM
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify text of an element.
to
- represent a web element.expectedText
- text of the element to verify.Verify text of an element.
to
- represent a web element.expectedText
- text of the element to verify.Verify if given web element is visible
to
- represent a web elementVerify if given web element is visible
to
- represent a web elementDeprecated. As of Katalon version 3.7.0.0, replaced by keyword com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.verifyElementInViewport. Verify if the web element is visible in current view port
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultDeprecated. As of Katalon version 3.7.0.0, replaced by keyword com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.verifyElementInViewport. Verify if the web element is visible in current view port
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultVerify if an image is present on page
to
- represent an imageVerify if an image is present on page
to
- represent an imageVerify a list of links (URLs) are accessible
links
- A list of links (URLs)flowControl
- FailureHandlingVerify a list of links (URLs) are accessible
links
- A list of links (URLs)Verify if the options with the given displayed texts do not exist.
to
- represent a web elementlabel
- displayed texts of the options to be verified if not existingisRegex
- true if label is regular expression, false by defaulttimeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given displayed texts do not exist.
to
- represent a web elementlabel
- displayed texts of the options to be verified if not existingisRegex
- true if label is regular expression, false by defaulttimeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given value do not present.
to
- represent a web elementvalue
- value of the options to be verified if NOT presenting.isRegex
- true if label is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given value do not present.
to
- represent a web elementvalue
- value of the options to be verified if NOT presenting.isRegex
- true if label is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options at the given indices are not selected
to
- represent a web elementindexes
- the indexes of the options to be verified if not being
selectedtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the options at the given indices are not selected
to
- represent a web elementindexes
- the indexes of the options to be verified if not being
selectedtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given displayed texts are not selected.
to
- represent a web elementlabel
- labels displayed texts of the options to be verified if not being selected.isRegex
- true if label is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given displayed texts are not selected.
to
- represent a web elementlabel
- labels displayed texts of the options to be verified if not being selected.isRegex
- true if label is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given value are not selected.
to
- represent a web elementvalue
- value of the options to be verified if not being selected.isRegex
- true if label is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given value are not selected.
to
- represent a web elementvalue
- value of the options to be verified if not being selected.isRegex
- true if label is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the option with the given label (displayed text) presents
to
- represent a web elementlabel
- displayed texts of the options to be verified if existingisRegex
- true if label is regular expression, false if nottimeOut
- system will wait at most timeout (seconds) to return resultVerify if the option with the given label (displayed text) presents
to
- represent a web elementlabel
- displayed texts of the options to be verified if existingisRegex
- true if label is regular expression, false if nottimeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given value present.
to
- represent a web element.value
- value of the options to be verified if presenting.isRegex
- true if value is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given value present.
to
- represent a web element.value
- value of the options to be verified if presenting.isRegex
- true if value is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options at the given indices are selected.
to
- represent a web elementrange
- list of indexes of the options to be verified if being
selectedtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the options at the given indices are selected.
to
- represent a web elementrange
- list of indexes of the options to be verified if being
selectedtimeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given displayed texts are selected.
to
- represent a web elementlabel
- displayed text of the option to be verified if being selectedisRegex
- true if value is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given displayed texts are selected.
to
- represent a web elementlabel
- displayed text of the option to be verified if being selectedisRegex
- true if value is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given value are selected.
to
- represent a web elementvalue
- value of the options to be verified if being selected.isRegex
- true if value is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if the options with the given value are selected.
to
- represent a web elementvalue
- value of the options to be verified if being selected.isRegex
- true if value is regular expression, false by default.timeOut
- system will wait at most timeout (seconds) to return resultVerify if all expected options are present within the given test object.
to
- represent a web elementexpectedOptions
- the list of all expected options for the given web elementVerify if all expected options are present within the given test object.
to
- represent a web elementexpectedOptions
- the list of all expected options for the given web elementVerify if the given texts do NOT present anywhere in the page source
text
- text to be verified if NOT presenting anywhere in the page sourceisRegex
- true if text is regular expression; otherwise, falseVerify if the given texts do NOT present anywhere in the page source
text
- text to be verified if NOT presenting anywhere in the page sourceisRegex
- true if text is regular expression; otherwise, falseVerify if the given texts present anywhere in the page source
text
- to be verified if existing anywhere in page sourceisRegex
- true if text is regular expression; otherwise, falseVerify if the given texts present anywhere in the page source
text
- to be verified if existing anywhere in page sourceisRegex
- true if text is regular expression; otherwise, falseWait for alert to present
timeout
- timeout waiting for alert to presentWait for alert to present
timeout
- timeout waiting for alert to presentWait for Angular/AJAX to load within the given time in second unit.
seconds
- the number of seconds to waitWait for Angular/AJAX call to load within the given time in second unit.
seconds
- the number of seconds to waitWait until the given web element has an attribute with the specific name and value
to
- represent a web elementattributeName
- the name of the attribute to wait forattributeValue
- the value of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element has an attribute with the specific name and value
to
- represent a web elementattributeName
- the name of the attribute to wait forattributeValue
- the value of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait for the given element to be clickable within the given time in second
to
- represent a web elementtimeOut
- how many seconds to waitWait for the given element to be clickable within the given time in second
to
- represent a web elementtimeOut
- how many seconds to waitWait until the given web element has an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element has an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait for the given element to be not clickable within the given time in second
to
- represent a web elementtimeOut
- how many seconds to waitWait for the given element to be not clickable within the given time in second
to
- represent a web elementtimeOut
- how many seconds to waitWait until the given web element doesn't have an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element doesn't have an attribute with the specific name
to
- represent a web elementattributeName
- the name of the attribute to wait fortimeOut
- system will wait at most timeout (seconds) to return resultWait for the given element to NOT present (disappear) within the given time in second unit
to
-
represent a web elementtimeOut
-
system will wait at most timeout (seconds) to return resultWait for the given element to NOT present (disappear) within the given time in second unit
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element is NOT visible within timeout.
to
- represent a web elementtimeOut
- how many seconds to wait (maximum)Wait until the given web element is NOT visible within timeout.
to
- represent a web elementtimeOut
- how many seconds to wait (maximum)Wait for the given element to present (appear) within the given time in second unit
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultWait for the given element to present (appear) within the given time in second unit
to
- represent a web elementtimeOut
- system will wait at most timeout (seconds) to return resultWait until the given web element is visible within timeout.
to
-
represent a web elementtimeOut
- how many seconds to wait (maximum)Wait until the given web element is visible within timeout.
to
- represent a web elementtimeOut
- how many seconds to wait (maximum)Wait for an image to be presented on page
to
- represent an imagetimeOutInSeconds
-
system will wait at most timeout (seconds) to return resultWait for an image to be presented on page
to
- represent an imagetimeOutInSeconds
- system will wait at most timeout (seconds) to return resultWait for jQuery to load within the given time in second unit.
seconds
- the number of seconds to waitWait for jQuery to load within the given time in second unit.
seconds
- the number of seconds to waitWait for the web page to load within the given time in second unit.
seconds
- the number of seconds to waitWait for the web page to load within the given time in second unit.
seconds
- the number of seconds to wait