How can I verify rediffmail page is correct one or not
[b]Question asked by visitor Rbabu[/b]
HI All,
I login to rediffmail and enter username and password in login page, click 'Login' button. After clicking login button it's opening rediff mail page with inbox etc.
My question is Through winrunner script, How can I verify rediffmail page is correct one or not? Plz explain with script, is it possible.
Re: How can I verify rediffmail page is correct one or not
Dear Friend!
First answer me "How you will test it manually?"
Actually testing tool is nothing but to make your testing fast for the purpose of regression testing, otherwise the concept is same.
If you can test it manually , then you can do it using testing tool also.You have the option of checkpoint in winrunner, use them to test the scenario.
Re: How can I verify rediffmail page is correct one or not
In QTP you can easily do this using Check Points or GETROProperty.
Is there any similar wayout in WinRunner???
Re: How can I verify rediffmail page is correct one or not
Hi, ya u can done it in winrunner with the help of checkpoints. Regards sunny singh
Re: How can I verify rediffmail page is correct one or not
Hi,
Before U use this script make sure that u have an web addin manager
And also make sure that all the desired objects are recognized in [B]GUI Map [/B]
Editor
change the objects as it may varies in the GUI Map Editor when u recognize the objects
# RediffMail Page - User name
set_window("Browser Name");
edit_set("UserName","xxxxx");
# RediffMail Page - password
set_window("Browser Name");
password_set("Password","Encrypted password");
if (obj_exists("Login")==E_OK) then
{
# Click Login
set_window("Browser Name");
button_press("Login");
wait(5);
if (win_exists("[B]Browser name1[/B]")==E_OK) then
{
set_window("[B]Browser Name1[/B]");
tl_step("Browser window is Changed",0,"");
}
else
{
set_window("Browser Name");
tl_step("Browser window remains same",1,"");
}
}