07-08-2022 04:43 AM
Hii,
I want to check the validity of the data entered in a Messagebox with Regex ??
Best
Akshay
07-08-2022 07:03 AM
Hi Akshay,
if you are generally asking about how to use regular expressions in TestStand:
As far is I know, TestStand still does not support regex directly.
However you can use the Windows Regex Library for that by calling it in a .Net Action Step like this:
As for accessing the text entered by the user into the Message Popup, you can access it via Step.Result.Response.
Stefan
07-11-2022 03:24 AM - edited 07-11-2022 03:26 AM
Akshay/Stefan,
TestStand does support regular expressions directly in TestStand. It can be done in the following ways:
-Shashidhar
07-11-2022 04:08 AM
Hello Shashidhar,
from what I read here:
these functions are "recent" additions in TestStand 2020.
Thanks for the update.
Stefan
07-12-2022 11:54 AM
Thanks guys,
I used a .Net Call and made Regex Test from it.