setTimeout |
30000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium modifyNote |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jdoe |
|
click |
link=New |
|
waitForTextPresent |
Available document types |
|
clickAndWait |
link=Note |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
Note to be modified |
type |
//td[@class="fieldColumn"]/textarea |
description note to be modified |
clickAndWait |
//input[@value='Create'] |
|
verifyTextPresent |
Note to be modified |
|
verifyTextPresent |
description note to be modified |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=Note to be modified |
|
clickAndWait |
link=Edit |
|
type |
//td[@class="fieldColumn"]/textarea |
desc note modified |
select2Type |
css=div[id$='nxw_coverage_1_select2'] |
Algeria |
waitForSelect2 |
10000 |
|
clickAt |
css=.select2-result-selectable:contains('Algeria') |
|
click |
//input[@value="ACTION_INCREMENT_MINOR"] |
|
clickAndWait |
//input[@value="Save"] |
|
verifyTextPresent |
desc note modified |
|
verifyTextPresent |
0.1 |
|
clickAndWait |
link=Log out |
|