Test Case Control
Control |
Description |
Example |
Unknown |
Default control when creating a new control |
|
getPageSource |
Force the page source to be retrieved and stored to be checked for detailed analysis. |
|
takeScreenshot |
Force to take a screenshot. Image can be automatically crop when taking the screenshot allowing to automatize clean application or web site screenshot (without Operating system header or footer elements). |
|
verifyElementClickable |
OK if Element is clickable. |
|
verifyElementChecked |
OK if Checkbox is checked. |
|
verifyElementNotChecked |
OK if Checkbox is not checked. |
|
verifyElementDifferent |
TBD |
|
verifyElementEquals |
TBD |
|
verifyElementinElement |
OK if Sub Element is inside Master Element. That can be used to check if an option is available inside a select box. |
|
verifyElementNotClickable |
OK if Element is not clickable. |
|
verifyElementNotPresent |
OK if Element is not found (from the page source code) on the current page. in case of a Web application, that control will wait for the timeout until it confirm that element is not present on page. |
|
verifyElementNotVisible |
OK if Element is found but not visible (according to rendering) on the current page. |
|
verifyElementNumericDifferent |
OK if Element is found on the current page and its content has a numeric value that is different from Numeric Value indicated. |
|
verifyElementNumericEqual |
OK if Element is found on the current page and its content has a numeric value that is equal to Numeric Value indicated. |
|
verifyElementNumericGreater |
OK if Element is found on the current page and its content has a numeric value that is greater than the Numeric Value indicated. |
|
verifyElementNumericGreaterOrEqual |
OK if Element is found on the current page and its content has a numeric value that is greater or equal to Numeric Value indicated. |
|
verifyElementNumericMinor |
OK if Element is found on the current page and its content has a numeric value that is lower than the Numeric Value indicated. |
|
verifyElementNumericMinorOrEqual |
OK if Element is found on the current page and its content has a numeric value that is lower or equal than Numeric Value indicated. |
|
verifyElementPresent |
OK if Element is found on the current page. |
|
verifyElementTextDifferent |
OK if the text found in Element is not equal to the Text indicated |
Element : //StatusCode Text : KO |
verifyElementTextEqual |
OK if the text found in Element is equal to the Text indicated |
Element : //StatusCode Text : OK |
verifyElementTextContains |
OK if the text found in Element contains the Text indicated. |
|
VerifyElementTextMatchRegex |
OK if a Regex match the content of an Element. |
|
verifyElementVisible |
OK if Element is visible on the current page. |
|
verifyElementTextArrayContains |
OK if Text value is found in the Array (retrieved by JSONPath or Xpath) which contains strings. |
|
verifyElementNumericArrayContains |
OK if Number value is found in Array (retrieved by JSONPath or Xpath) which contains numbers (integers or floats). |
|
verifyNumericDifferent |
OK if the Integer1 is different from the Integer2. |
|
verifyNumericEquals |
OK if the Integer1 is equal to the Integer2. |
|
verifyNumericGreater |
OK if the Integer1 is greater than the Integer2. |
|
verifyNumericGreaterOrEqual |
OK if the Integer1 is greater than the Integer2. |
|
verifyNumericMinor |
OK if the Integer1 is lower than the Integer2. |
|
verifyNumericMinorOrEqual |
OK if the Integer1 is lower than the Integer2. |
|
verifyNumericArrayContains |
OK if Array contains the Number. |
|
verifyStringContains |
OK if String1 contains the String2. |
|
verifyStringDifferent |
OK if String1 is different from String2. |
|
verifyStringEqual |
OK if String1 is equal to String2. |
|
verifyStringGreater |
OK if String1 is greater than String2 (using alphabetical order) |
String1 : ZZZ String2 : AAA |
verifyStringMinor |
OK if the String1 is minor than to the String2 (using alphabetical order) |
String1 : AAA String2 : ZZZ |
verifyStringNotContains |
OK if String1 does not contains the String2. |
|
verifyStringArrayContains |
OK if Array contains the String. |
|
verifyTextInDialog |
OK if Text is inside the browser dialog box |
|
verifyTextInPage |
TBD |
|
verifyTextNotInPage |
TBD |
|
verifyTitle |
TBD |
|
verifyUrl |
OK if the URL of the current page equal to the URL indicated . |
|
verifyXmlTreeStructure |
TBD |
|
Tip
|
In order to define your regex, you can use the following online tester: https://www.regexplanet.com/advanced/java/index.html |