open |
/mmc/main.php?module=network&submod=network&action=index |
|
clickAndWait |
//a[contains(@href, '/mmc/main.php?module=network&submod=network&action=index')] |
|
pause |
2000 |
|
clickAndWait |
link=example.net |
|
pause |
2000 |
|
clickAndWait |
//a[contains(@href, 'main.php?module=network&submod=network&action=edithost&host=testhost1&zone=example.net')] |
|
type |
hostalias[0] |
alias1 |
click |
bhostalias |
|
pause |
2000 |
|
type |
hostalias[1] |
alias2 |
click |
bhostalias |
|
pause |
2000 |
|
click |
bhostalias |
|
pause |
2000 |
|
type |
hostalias[3] |
alias3 |
click |
bhostalias |
|
pause |
2000 |
|
clickAndWait |
bedit |
|
pause |
2000 |
|
verifyTextPresent |
DNS record successfully modified. |
|
verifyTextPresent |
alias3 (alias of testhost1) |
|
verifyTextPresent |
alias2 (alias of testhost1) |
|
verifyTextPresent |
alias1 (alias of testhost1) |
|
click |
//a[@onclick="PopupWindow(event,'main.php?module=network&submod=network&action=deletehost&host=alias3&zone=example.net&mod=', 300); return false;"] |
|
pause |
2000 |
|
clickAndWait |
bconfirm |
|
pause |
2000 |
|
verifyTextPresent |
The record has been deleted. |
|
verifyTextPresent |
alias2 (alias of testhost1) |
|
verifyTextPresent |
alias1 (alias of testhost1) |
|
click |
//a[@onclick="PopupWindow(event,'main.php?module=network&submod=network&action=deletehost&host=testhost1&zone=example.net&mod=', 300); return false;"] |
|
pause |
2000 |
|
verifyTextPresent |
The linked CNAME records will also be deleted: alias1 alias2 |
|
clickAndWait |
bconfirm |
|
pause |
2000 |
|
verifyTextPresent |
The record has been deleted. |
|