VERIFY CHECKBOX WS
Description
Verify status of Check-box (Checked/ NOT Checked) with the result of running WS
NOTE: This keyword is used after running [RUN SOAPUI] keyword
– Locator(*): Locator of the check-box to be verified
– Value 1: The returned value when check-box is checked – Default is [true]
– Value 2: The returned value when check-box is NOT checked – Default is [false]
– Value 3(*): xpath (xml) / jsonPath (json) is defined in [locator.properties]
– Value 4(*): Type of result (STRING/NUMBER/DATE)
– Value 5: Format of result
Result with NUMBER format: Number of digits after the decimal point. Ex: With Value 2 = [NUMBER] and Value 3 = [2]. The result will be formatted as X.YY (2 digits after the decimal point)
Result with DATE format: Date format. Ex: MM/dd/yyyy
– Value 6: Default value if WS does not return value
– Value 7: Order the result (ASC/DESC). Default is ASC
– Value 8: Aggregate the result (SUM/AVG/MIN/MAX/COUNT)
– Value 9: The name of table in ‘Extension’ Sheet contains specified value list to be removed in the result
Ex: The result = [$2,500.50], the specified value list = [$] and [,]. The final result will be [2500.50]
Example