18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Can we pass reg exp in Popup window name?
Hi Team,
In my application i have few popup windows whose names are dynamic.
For Ex: _popup("lsApp1269259857996")._setValue(_textbox("txtUsername"), "xyz");
So when i simulate the scripts again, the popup name won't be the same. In the popup name 'laApp' is constant. i tried to use 'lsApp*', but i was not able to execute the script. i was getting an error "popuwindowname not found." The title of my window's do not change.
1) Is it possible to pass popup window using regular expressions?
2) Is it possible to invoke the actions using window title?
Regards,
Chandra
In my application i have few popup windows whose names are dynamic.
For Ex: _popup("lsApp1269259857996")._setValue(_textbox("txtUsername"), "xyz");
So when i simulate the scripts again, the popup name won't be the same. In the popup name 'laApp' is constant. i tried to use 'lsApp*', but i was not able to execute the script. i was getting an error "popuwindowname not found." The title of my window's do not change.
1) Is it possible to pass popup window using regular expressions?
2) Is it possible to invoke the actions using window title?
Regards,
Chandra
Comments
i need to use
_popup(/lsApp.*/)