Question

Is it possible to use OR condition verifying inner text?

  • 21 July 2023
  • 2 replies
  • 44 views

Userlevel 5
Badge +2
  • Head of Community
  • 47 replies

Hi,

I have the problem that I want to verify an InnerText result (string) and there can two possible anwsers be correct one. Is there a way to us an or condition verifying inner text?

Thank you


2 replies

Userlevel 4
Badge +2

You can use a regular expression, e.g.

{REGEX["value1|value2"]}

Userlevel 4
Badge +2

You can buffer the innertext value, then use TBox Evaluation to use AND/OR conditions to verify the buffered value

Reply