open |
/univention-management-console/index.php |
|
assertTitle |
Univention Management Console |
|
type |
//input[@id=//label[text()='Benutzername']/@for] |
Administrator |
type |
//input[@title='Bitte geben Sie Ihr Passwort ein.'] |
univention |
clickAndWait |
link=Anmeldung |
|
clickAndWait |
link=Virtuelle Maschinen (UVMM) |
|
clickAndWait |
//table[@id='treeview-table.Physikalische Server.xen5']//a[@title="Hinzufügen"]/span |
|
store |
Univention Corporate Server 2.4 |
profilName |
assertTextPresent |
Erstellen einer virtuellen Instanz |
|
type |
//input[@name=//label[text()='Profile']/@for]/preceding-sibling::input |
${profilName} |
keyPress |
//input[@name=//label[text()='Profile']/@for]/preceding-sibling::input |
. |
clickAndWait |
link=Weiter |
|
assertTextPresent |
Profil: ${profilName} |
|
store |
ucs24-123 |
vmName |
type |
//input[@id=//label[text()='Name']/@for] |
${vmName} |
verifyValue |
//input[@id=//label[text()='Speicher (in MB)']/@for] |
512MB |
verifyValue |
//input[@name=//label[text()='CPUs']/@for]/preceding-sibling::input |
1 |
verifyValue |
//tr[contains(td[2], 'Direktzugriff aktivieren')]/td[1]/div/input |
on |
clickAndWait |
link=Weiter |
|
assertTextPresent |
Laufwerk zu ${vmName} hinzufügen |
|
verifyValue |
//input[@name=//label[text()='Art des Laufwerks']/@for]/preceding-sibling::input |
Festplatte |
verifyValue |
//tr[contains(td[2], 'Einrichten als paravirtualisiertes Laufwerk')]/td[1]/div/input |
on |
clickAndWait |
link=Weiter |
|
assertTextPresent |
Laufwerk zu ${vmName} hinzufügen |
|
verifyValue |
//input[@name=//label[string-length(text())=1]/@for]/preceding-sibling::input |
Erstellen einer neuen Image-Datei |
clickAndWait |
link=Weiter |
|
assertTextPresent |
Laufwerk zu ${vmName} hinzufügen |
|
verifyValue |
//input[@name=//label[text()='Speicherbereich']/@for]/preceding-sibling::input |
Lokales Verzeichnis |
verifyValue |
//input[@name=//label[text()='Image-Format']/@for]/preceding-sibling::input |
*qcow2* |
verifyValue |
//input[@id=//label[text()='Dateiname']/@for] |
${vmName}-0.qcow2 |
verifyValue |
//input[@id=//label[text()='Größe (Standardeinheit MB)']/@for] |
8 GB |
clickAndWait |
link=Weiter |
|
verifyTextPresent |
Festplatte |
|
verifyTextPresent |
Pfad: /var/lib/libvirt/images |
|
verifyTextPresent |
${vmName}-0.qcow2 |
|
verifyTextPresent |
qcow2 |
|
verifyTextPresent |
8.0 GB |
|
clickAndWait |
//a[contains(text(),'Hinzufügen')] |
|
assertTextPresent |
Erstellen einer virtuellen Instanz ${vmName} |
|
verifyTextPresent |
Festplatte: 8.0 GB (Image-Datei ${vmName}-0.qcow2 im Speicherbereich default) |
|
clickAndWait |
link=Fertigstellen |
|
assertTextPresent |
Virtuelle Instanz ${vmName} |
|
clickAndWait |
link=Löschen |
|
verifyValue |
//tr[contains(td[2], 'Festplatte: ')]/td[1]/div/input |
on |
clickAndWait |
link=Löschen |
|
assertTextPresent |
Die virtuelle Instanz ${vmName} wurde erfolgreich gelöscht |
|
click |
//button[span[text()='OK']] |
|