diff options
author | Patrick Brady <pb071s@att.com> | 2017-10-11 09:50:17 -0700 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-10-11 09:50:24 -0700 |
commit | 89254c108ed6a4a0a1e5866ed83f192d29836cb6 (patch) | |
tree | 9a772005e19de68e1420ceb34aac9b579e332a93 /test/csit/tests/appc/testsuite/LCM_VM_RESTART.robot | |
parent | 3dc76310f42db89b1ce438f98ac8832027f36198 (diff) |
APPC updated robot scripts
Change-Id: I992ba4db502b6da86fe8d54214265c3b045dc982
Signed-off-by: Patrick Brady <pb071s@att.com>
Signed-off-by: NGUYEN <pn8984@att.com>
Issue-id: APPC-113
Diffstat (limited to 'test/csit/tests/appc/testsuite/LCM_VM_RESTART.robot')
-rw-r--r-- | test/csit/tests/appc/testsuite/LCM_VM_RESTART.robot | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/test/csit/tests/appc/testsuite/LCM_VM_RESTART.robot b/test/csit/tests/appc/testsuite/LCM_VM_RESTART.robot deleted file mode 100644 index 997ba17a0..000000000 --- a/test/csit/tests/appc/testsuite/LCM_VM_RESTART.robot +++ /dev/null @@ -1,31 +0,0 @@ -*** Settings *** -Library Selenium2Library -Library OperatingSystem - -*** Variable *** -${ResponseCode} -${var} -${RequestJSON} /LearningSamples/Resources/VMRestart.json - - -*** Test Cases *** - -APPC API VM RESTART - [Documentation] APPC VM LCM Restart - Open Browser http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@104.130.138.49:8282/apidoc/explorer/index.html chrome - Click Element xpath=.//p[contains(text(),'If you have reason to expect the website is safe, select the I Accept the Risk button to continue.')]//following::img - Click Element xpath=//*[@id="resource_appc-provider-lcm(2016-01-08)"]/div/h2/a - Click Element xpath=//*[@id="appc-provider-lcm(2016-01-08)_restart_post_23"]/div[1]/h3/span[2]/a - ${VM_LCM_RESTART} Get File ${RequestJSON} - Input Text xpath=//*[@id="appc-provider-lcm(2016-01-08)_restart_post_23_content"]/form/table/tbody/tr/td[2]/textarea ${VM_LCM_RESTART} - Click Element xpath=//*[@id="appc-provider-lcm(2016-01-08)_restart_post_23_content"]/form/div[2]/input - # Get Text locator - ${ResponseCode} Get Text xpath=//*[@id="appc-provider-lcm(2016-01-08)_restart_post_23_content"]/div[2]/h4[contains(text(),'Response Code')]//following::div//pre - ${var} Get Value xpath=//*[@id="appc-provider-lcm(2016-01-08)_restart_post_23_content"]/div[2]/h4[contains(text(),'Response Code')]//following::div//pre - Log Value--> ${ResponseCode} - Log var--> ${var} - Element Text Should Be xpath=//*[@id="appc-provider-lcm(2016-01-08)_restart_post_23_content"]/div[2]/h4[contains(text(),'Response Code')]//following::div//pre 400 expected - -Tear Down - [Documentation] Close all browsers - Close All Browsers
\ No newline at end of file |