TestProject Forum

Validate a text parameter range

Use Case

  • I execute a Get Text on an empty parameter
  • Then I check the text of the parameter and set it to contain n value
  • is it possible to create a range? the reason why is that the text is a number and it can vary from +1 to -1
  • I can’t find a convert text to number function
  • can someone tell me if there is such a thing as text parameter range?

Hi @gpaneda
You can use the get text action with 2 validation

  1. Less than or Equals 1
  2. Greater than or Equal -1


if in retrieved text conations more then just numbers you can use the convert string to number action and make the same validation on that action

Please let me know if that helped.

oh this is good thanks!!!