Establish connection with WebDriver for perform functional testing
All other SelAnt commands should be sub-tasks of driver command
Name | Description |
---|---|
Message | |
IndexTo | |
CloseAfter | Close browser window if test executed fine. Default "true" so the browser will be closed |
CloseOnError | Close browser window if test fails. Default "false" so the browser is still on the screen and you can exam the reason of the failure |
Maximize | Maximize Browser screen when connected to the driver (default - true) |
Restart | Restart the current driver (close it and re-open again) Do not add sub-tasks in this case |
SendEmail | Send email with test results Requires subset of standard Ant MailLogger parameters: MailLogger.mailhost={Mail server to use} MailLogger.port={SMTP Port for the Mail server} MailLogger.from={Mail "from" address} MailLogger.user={user name for SMTP auth} MailLogger.password={password for SMTP auth} MailLogger.failure.notify={boolean flag True/False should notification about failure be sent or not, default True} MailLogger.success.notify={boolean flag True/False should notification about success be sent or not, default True} MailLogger.success.subject={Subject of successful build} MailLogger.failure.subject={Subject of failed build} MailLogger.success.to={Address(es) to send success messages to, comma-separated} MailLogger.failure.to={Address(es) to send failure messages to, comma-separated} now-MailLogger parameters: MailLogger.debug=if True - show all SMPT debug info in Console MailLogger.success.screenshotstrue/false - flag to attache screenshots for successful test to the email. Default - true MailLogger.failure.screenshotstrue/false - flag to attache screenshots for failed test to the email. Default - true |
Timeout | Set default timeout for the whole session. Default 60 seconds. Timeout is used in "wait" command |
Go | URL to open after connection to the browser |
DriverClass | WebDriver class to use. Default - FireFox (org.openqa.selenium.firefox.FirefoxDriver) |