Testing Dynamic Data Easily with Functionize Operators
Functionize operators allow a user to test dynamic data in a number of ways, without complex coding or scripting. Operators in Functionize are called on in plain English and can handle almost limitless scenarios including testing number ranges and partial text verifications They can even refer back to previous steps in the test to ensure the value is equal to, or not equal to, the current step.
Below are operators that can be used in the NLP system. These can be used when writing test cases for NLP processing. This list has some, but not all available operators that can be used.
|Operator||Use of Operator||Example of Usage of Operator|
|Equals||Used when an element value has to fully match.||Verify the button text equals ‘Save and Continue’|
|Not equals||Used when an element value should not match.||The calendar header should not equal empty.|
|Contains||Used when part of an element value should be verified or commonly used with dynamic data.||Verify the full name field is present and contains text characters.|
|Does not contain||Used when part of an element should not explicitly include a certain value.||Verify the calendar drop-down does not include weekends.|
|Less than||When an element or verification should be less than a particular value.||The benefits premium amount should be less than 3000.|
|Greater than||When an element or verification should be greater than a particular value.||The total employee count should be greater than 5.|
|Less than or equals||When an element or verification should be less than or equal to a particular value.||Verify the financial calculator result is less than or equal to 62.5.|
|Greater than or equals||When an element or verification should be greater than or equal to a particular value.||Verify the total count in the image carousel is greater than or equal to 7.|
|Range||Used when elements or values should fall between an explicitly determined range.||Click on the submit button and verify the page transition time is within the 2 and 5-second range.|
|Equals step value||The value in this step should be equal to the value in a previous step.||Verify the handbag in the shopping cart selected equals the step value in step 2.|
|Not equals step value||The value in this step should not be equal to the value in a previous step.||Verify the username selected does not equal the step value in step 5.|
|Contains step value||The value in this step should contain the full value of a previous step.||Verify the button states ‘hello’ as the first word and contains step value 15.|