open |
https://www.google.com.ua/ |
|
gotoIf |
(selenium.isElementPresent('id=gb_70')==true) |
LogIn1 |
storeEval |
alert ('Test stopped! There is no login button. You are not logged in. Do a logout and play back the test again.') |
|
assertText |
id=gb_70 |
Увійти |
label |
LogIn1 |
|
clickAndWait |
id=gb_70 |
|
gotoIf |
(selenium.isElementPresent('id=gaia_loginform')==true) |
LogIn |
storeEval |
alert ('Test stopped! There is no login form. You are not logged in.') |
|
assertText |
id=gb_70 |
Увійти |
clickAndWait |
id=signIn |
|
label |
LogIn |
|
type |
id=Email |
ksju2017@gmail.com |
pause |
2000 |
|
click |
id=signIn |
|
pause |
2000 |
|
type |
id=Passwd |
2009rn |
clickAndWait |
id=signIn |
|
assertText |
id=errormsg_0_Passwd |
Введені електронна адреса та пароль не збігаються. |
storeEval |
alert('Test executed successfully! You are not logged in! Author: Soyko O.S.') |
|