lists-of-links
open admin_linkslists_html
type id listoflinks
type title links list
clickAndWait //input[@value='Add']
verifyTextPresent links list
clickAndWait link=links list
type document.forms[4].title link1
type description link1
type url www.google.com
select permission label=Delete content
clickAndWait //input[@value='Add']
click ids
click ids
clickAndWait link=link1
verifyValue title links list
verifyValue document.forms[4].title link1
verifyValue description link1
verifyValue url www.google.com
verifyValue relative off
verifyValue order 0
click relative
clickAndWait //div[@id='center_content']/form[2]/fieldset/table/tbody/tr[8]/td[2]/input
verifyTextPresent exact:http://10.0.0.102:8080/davidwww.google.c..
clickAndWait link=link1
verifyValue title links list
verifyValue document.forms[4].title link1
verifyValue description link1
verifyValue url www.google.com
verifyValue order 0
verifyValue relative on
click relative
clickAndWait //div[@id='center_content']/form[2]/fieldset/table/tbody/tr[8]/td[2]/input
verifyTextPresent exact:www.google.com
clickAndWait link=link1
verifyValue title links list
verifyValue document.forms[4].title link1
verifyValue description link1
verifyValue url www.google.com
verifyValue order 0
verifyValue relative off
type title links list 0
type document.forms[4].title link10
type description link10
type url www.google0.ro
select permission label=Manage Users
type order 1
clickAndWait //div[@id='center_content']/form[2]/fieldset/table/tbody/tr[8]/td[2]/input
verifyTextPresent link10
verifyTextPresent www.google0.ro
clickAndWait link=link10
verifyValue document.forms[4].title link10
verifyValue description link10
verifyValue url www.google0.ro
verifyValue order 1
verifyValue relative off
type title links list0
clickAndWait //input[@value='Update']
verifyTextPresent Saved changes.
verifyValue title links list0
verifyTextPresent www.google0.ro
click ids
clickAndWait delete
clickAndWait link=Back to the list of links
verifyTextPresent links list
open index_html
verifyTextNotPresent links list0
open admin_frontportlets_html
addSelection available label=links list (Links list)
click //input[@value='Add ->']
addSelection portlets label=links list (Links list)
clickAndWait //input[@value='Save changes']
open index_html
verifyTextPresent links list0
open admin_linkslists_html
click document.forms[2].ids[2]
clickAndWait //input[@value='Delete']
open index_html
verifyTextNotPresent links list0