Skip to content

Instantly share code, notes, and snippets.

@els-pnw
Created September 18, 2012 18:25
Show Gist options
  • Save els-pnw/3744849 to your computer and use it in GitHub Desktop.
Save els-pnw/3744849 to your computer and use it in GitHub Desktop.
if acct["type"] == "ec2":
self.send_text(acct["account_number"], *self.locators.prov_acct_number_field)
time.sleep(10)
#self.send_text(acct["key_file"], *self.locators.prov_acct_key_file_locator)
self.send_text('/This/is/a/test/file', *self.locators.prov_acct_key_file_locator) <- Worked
time.sleep(10)
self.send_text(acct["key_cert_file"], *self.locators.prov_acct_cert_file_locator) <- Failed
time.sleep(10)
self.send_text(acct["provider_account_priority"], *self.locators.prov_acct_prior_field) <- Failed
time.sleep(10)
self.send_text(acct["provider_account_quota"], *self.locators.prov_acct_quota_field) <- unchanged
time.sleep(10)
self.selenium.find_element(*self.locators.prov_acct_save_locator).click()
return self.get_text(*self.locators.response)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment