# Test KVM

testkvm
phantomRender | webrequest1.png |
assertElementPresent | link=Order a KVM now |
clickAndWait | link=Order a KVM now |
phantomRender | webrequest2.png |
assertElementPresent | //div[text()="Your instance is under creation. Please wait few minutes for partitions to appear."] |
storeLocation | hosting_subscription_url |
echo | ${hosting_subscription_url} |
pause | 60000 |
open | ${hosting_subscription_url} |
assertElementPresent | link=Vifib KVM* |
clickAndWait | link=Vifib KVM* |
storeLocation | software_instance_url |
storeEval | window.location.pathname | software_instance_path
echo | ${software_instance_path} |
pause | 5400000 |
open | ${software_instance_url} |
assertElementPresent | css=span:contains("Started") |
assertElementPresent | css=td:contains("url") |
assertElementPresent | css=td:contains("password") |
storeText | css=td:contains('url') + td | ip
storeText | css=td:contains('password') + td | password