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.
How to display a variable value as a alert?
Hi Friends,
Can anyone help in displaying a variables value as a alert message. I was testing a login page with different username and password, tried displaying the value of Username and password each time before the value was fed into the username and password fields.
Regards,
Hari...
Can anyone help in displaying a variables value as a alert message. I was testing a login page with different username and password, tried displaying the value of Username and password each time before the value was fed into the username and password fields.
Regards,
Hari...
Comments
Are you keepinng $ in front of the variable name.??
Declare your variable like..
var $username;
var $password;
_set($username,"enter your user name here");
_set($password,"enter your password here");
_alert($username);
_alert($password);
I hope it will solve your problem...
Regards,
shrey
?