create
open /
type id=username admin
type id=password admin
clickAndWait name=submit
assertText css=h3 Menu admin
clickAndWait //div[@id='menu-adm']/ul/li[3]/a/span
clickAndWait link=Manage allowed domains (TLD)
assertText css=#content > h3 Manage allowed domains (TLD)
clickAndWait link=Add a new TLD
assertText //div[@id='content']/h3[2] Add a new TLD
type id=tld vm1.alternc.eu
select id=mode label=Domain can be installed, no check at all
clickAndWait css=input.inb
assertText css=p.error The TLD has been successfully added
clickAndWait link=Add a domain
assertText css=#content > h3 Domain hosting
type id=newdomain test1.vm1.alternc.eu
clickAndWait name=submit
assertText css=#content > p Your new domain test1.vm1.alternc.eu has been successfully installed

Click here to continue
clickAndWait link=Click here to continue
clickAndWait link=test1.vm1.alternc.eu (1)
assertText css=#content > h3 Email addresses of the domain test1.vm1.alternc.eu :
clickAndWait link=Add a mailbox on test1.vm1.alternc.eu
assertText css=#content > h3 Add a mail to the domain test1.vm1.alternc.eu :
click id=pop1
type id=email user1
type id=pass poipoi
type id=passconf poipoi
clickAndWait name=submit
assertText css=p.error The email address user1@test1.vm1.alternc.eu has been successfully created
clickAndWait link=Add a mailbox on test1.vm1.alternc.eu
assertText css=#content > h3 Add a mail to the domain test1.vm1.alternc.eu :
type id=email user2
click id=pop0
type id=alias user1@test1.vm1.alternc.eu
clickAndWait name=submit
assertText css=p.error The email address user2@test1.vm1.alternc.eu has been successfully created
clickAndWait link=Add a mailbox on test1.vm1.alternc.eu
click id=pop1
type id=pass poipoi
type id=passconf poipoi
clickAndWait name=submit
assertText css=p.error The email address @test1.vm1.alternc.eu has been successfully created
clickAndWait link=File browser
assertText css=#content > h3 File browser
clickAndWait link=test1vm1alternceu/
type id=nomfich index.html
clickAndWait //input[@value='Create']
assertText link=index.html index.html
clickAndWait link=index.html
assertText css=#content > p File editing /test1vm1alternceu/index.html
type name=texte coin
clickAndWait name=saveret
assertText //form[@id='main']/table[2]/tbody/tr[2]/td[3] 4 Bytes
break