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.
capture Dynamic variables
Hi all,
one cuestion.
How to capture dynamics of session variables.
Ejem.
_popup("filtrarPacientesAlfabeticaAdmision_1288092672625")
one cuestion.
How to capture dynamics of session variables.
Ejem.
_popup("filtrarPacientesAlfabeticaAdmision_1288092672625")
This discussion has been closed.
Comments
2 ejem.
_popup("filtrarPacientesAlfabeticaAdmision_1288092672625")
_popup("filtrarPacientesAlfabeticaAdmision_[SESION]")
=======
_popup("cerrarSesion_1288094440875")._click(_link("Aceptar"));
_popup("cerrarSesion_[SESION]")._click(_link("Aceptar"));
thank you very much.
You can use regular expression.
Example:
_popup(/filtrarPacientesAlfabeticaAdmision_/)
_popup(/cerrarSesion_/)._click(_link("Aceptar"));
Regards,
Narayan
Thank you very much for the information.
I am using the following regular expression and does not work.
Example2
_popup("/filtrarPacientesAlfabeticaAdmision_^(\d*)/")._click(_link("Buscar"));
Example2
_popup("/filtrarPacientesAlfabeticaAdmision_{1,14}/")._click(_link("Buscar"));
what am I doing wrong?
thank you very much.
You can just use
_popup(/filtrarPacientesAlfabeticaAdmision_/) and it should work.
In your case, the regular expressions you use are incorrect.
_popup("/filtrarPacientesAlfabeticaAdmision_^(\d*)/") should be
_popup("/filtrarPacientesAlfabeticaAdmision_\\d*/") or
_popup(/filtrarPacientesAlfabeticaAdmision_\d*/)
Search for javascript regular expressions on google to get more information.
Regards,
Narayan
Perfect.
Thank you very much.