Here, I don't know what function / subroutine to use in order to capture the error message displayed in the application. Kindly assist.# use the module use Win32::IE::Mechanize; # open IE browser $IE = Win32::IE::Mechanize->new( visible => 1 ); # Navigate to specified URL $IE->get("<application url>" ); # Set value to the fields (correct username and wrong password) $IE->set_fields(txtUserName => 'anbu', txtPassword => '<wrong password +>'); # Click on the button - login $IE->click('btnSignIn'); # Get the error message "Incorrect password"
In reply to ow to read an error message in Win32::IE::Mechanize by saran_techie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |