Selenium – New User

This test checks the interface to create new users. First it creates a user. Then it tries to create the same user again.

open test/selenium/prepare.php?what=newUserStart
open index.php?state=logout
clickAndWait name=newuser
verifyElementPresent name=buttonNewUser
clickAndWait buttonNewUser
verifyElementPresent name=buttonNewUser
type txtName Bastl Geier
type mail email
type pass test
clickAndWait buttonNewUser
verifyElementPresent name=buttonNewUser
type mail test@ea-geier.at
clickAndWait buttonNewUser
verifyElementPresent name=buttonLogin
open .
clickAndWait name=newuser
type txtName Bastl Geier
type mail test@ea-geier.at
type pass test
clickAndWait buttonNewUser
verifyElementPresent name=buttonNewUser
open test/selenium/prepare.php?what=newUserStop