VERIFY SELECTED VALUE DROPDOWN WS
Description
Verify selected values of drop-down with the result of running WS
NOTE: Only use for [Select] drop-down
This keyword is used after running [RUN SOAPUI] keyword
– Locator(*): Locator of [Select] drop-down
– Value 1(*): xpath (xml) / jsonPath (json) is defined in [locator.properties]
– Value 2(*): Type of result (STRING/NUMBER/DATE)
– Value 3: 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 4: Default value if WS does not return value
– Value 5: Order the result (ASC/DESC). Default is ASC
– Value 6: Aggregate the result (SUM/AVG/MIN/MAX/COUNT)
– Value 7: 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]
– Value 8: Prefix value – a letter or group of letters added to the beginning of the result
Ex: The result = [25], Value 8 = [$]. The final result will be [$25]
– Value 9: Suffix value – a letter or group of letters added to the end of the result
Ex: The result = [25], Value 9 = [ VND]. The final result will be [25 VND]
Example