Вы находитесь на странице: 1из 1

EeS Dev1 PLM apsrt0074.uhc.

com:8080 ees-dev

EeS Dev1 EeS Dev2 The following commands are available within Selenium for processing Alerts: getAlert() assertAlert() assertAlertNotPresent() assertAlertPresent() storeAlert() storeAlertPresent() verifyAlert() verifyAlertNotPresent() verifyAlertPresent() waitForAlert() waitForAlertNotPresent() waitForAlertPresent() The AlertPresent() and AlertNotPresent() functions check for the existence or no t of an alert regardless of it s content. The Alert() functions allow the caller t o specify a pattern which should be matched. The getAlert() method also exists i n Selenium RC, and returns the text from the previous Alert displayed.