Ask a Question

How to compare web values

SOLVED
olosunsira12
Occasional Contributor

How to compare web values

How can I check if a number on the webpage (ex:numbers of hotels found ) is less than before. (after applying some search filters)

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: How to compare web values

You can save the original value in a local variable and then when you check the second time, compare the new value to the local variable.  A Property Checkpoint would be helpful for this:

https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/property/about.html

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

1 REPLY 1
Marsha_R
Community Hero

Re: How to compare web values

You can save the original value in a local variable and then when you check the second time, compare the new value to the local variable.  A Property Checkpoint would be helpful for this:

https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/property/about.html

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: