Create User
open | /Login.aspx |
type | id=email | Selenium
type | id=password | pan1potito
clickAndWait | css=button.btn.ibless-button |
clickAndWait | link=Create User |
pause | 1000 |
click | xpath=(//button[@type='button'])[7] |
pause | 1000 |
type | id=userName | javascript{"joe+" + Math.floor(Math.random()*11111);}
type | id=employeeID | javascript{Math.floor(Math.random()*11111);}
type | id=firstName | dsadasd
type | id=lastName | dsadas
type | id=email | javascript{"joe+" + Math.floor(Math.random()*11111) + "@gmail.com";}
type | id=phone | javascript{"" + Math.floor(Math.random()*10) + Math.floor(Math.random()*10) + Math.floor(Math.random()*10) + Math.floor(Math.random()*10) + Math.floor(Math.random()*10) + Math.floor(Math.random()*10) + Math.floor(Math.random()*10) + Math.floor(Math.random()*10) + Math.floor(Math.random()*10) + Math.floor(Math.random()*10);}
type | id=location | Miami
type | id=title | f
select | id=roles | label=joe+8467
click | css=button.bootbox-close-button.close |
clickAndWait | id=welcome |