In our application, when I navigate between web pages, system is showing attached Browser Confirmation Alert. I am using Robot framework to automate. I tried accepting or Dismissing the alert using 'Handle Alert' keyword. But i am observing 'Alert not found' error in report. Also right click is disabled to find web element in the Alert window.
*** Settings ***
Library Selenium2Library
Test Teardown Close Application
*** Variables ***
*** Test Cases ***
Dismiss Alert
Open Aplication
Click WebElement ${serchXpath}
Click WebElement ${navigateXpath}
Wait Until Element Is Visible ${Inv_xpath_all_rows} timeout=60 seconds
Handle Alert action=DISMISS timeout=60 s
Fails with : Alert not found in 5 seconds. at the line Handle Alert action=DISMISS timeout=60 s
I am new to Automation world, Request you to help me. Thanks a lot.