Forum Discussion
Himikef , Thanks for replying.
There are series of values for a particular number
Number =1 Value=12345.89
Number=2 Value=34556.76
These values change each time. So, wanted to validate the value for one of the numbers.
Wanted to check how can we do it with regular expressions using python
How are you validating the value, where is the expected value being referenced from?
- Shrijith3 years agoNew Contributor
Hi mikef , The values that will be in a particular range for a particular number, say for example, for number one it will be around 12000-13000 in that range.
- mikef3 years agoStaff
I'm just not entirely sure of how the app-under-test looks; whether you are trying to find a specific element in a group of elements, or just validate a single value exists in a text block.
This example shows how to loop through a set of elements to find a specific block, including using regular expressions:
If you could share a screenshot or a more detailed description it may help.
Thanks!
Related Content
Recent Discussions
- 32 minutes agotorus
- 7 hours agomegha_phophalia
- 7 hours agomegha_phophalia