Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description: This command compares values such as text, numbers, dates and images, etc. In order to make the comparison, you need to have the values stored in variables, data template fields and/or constant values.

...

See the Test Library path: subject7_samples/subject7_intermediate_suite/subject7_existing_communities_screenshot

The following video demonstrates how a comparison between two screenshots is done as part of execution of “subject7_existing_communities_screenshot” test case in “subject7_samples” folder:

...

2- Suppose we want to compare two dates, one is retrieved from the last time the profile was updated (added in Resume section of the profile) and the other is from the current system time.

...

See the Test Library path: subject7_samples/subject7_advanced_suite/subject7_modify_profile_information

...

3- Suppose we want to compare the status variable from a REST response to 200 to make sure that the request was successful.

...

See the Test Library path: subject7_samples/subject7_intermediate_suite/subject7_get_profile_by_id_using_rest

The video following video demonstrates how a comparison between a returned status code and “200” happens as part of execution of “subject7_get_profile_by_id_using_rest” test case in “subject7_samples” folder. If the status code is not “200”, this means that step 9 (Get_REST_Value) retrieved a different status code in which case the comparison step will fail.

...