ISAAR_edit_delete.html
clickAndWait link=Add/edit
clickAndWait //div[@id='header-bottom']/div[2]/ul/li[1]/ul/li[2]/a
clickAndWait link=Mr. Bean
clickAndWait link=Edit
click //td[5]/a/img
type editActorRelation_description Little Bean is Mr. Bean's doggy
select editActorRelation_categoryId label=hierarchical
click yui-gen0-button
click link=identity area
select entity_type_id label=Corporate body
click link=description area
type dates_of_existence
type history
type places
type legal_status
type functions
type mandates
type internal_structures
type general_context
clickAndWait //input[@value='Save']
verifyTextPresent Corporate body
verifyTextPresent hierarchical
verifyTextPresent Little Bean is Mr. Bean's doggy
clickAndWait link=Edit
click link=control area
type description_identifier
type institution_responsible_identifier
type rules
select description_status_id label=
select description_detail_id label=
type revision_history
clickAndWait //input[@value='Save']
clickAndWait link=Edit
click link=description area
type dates_of_existence 1966-2008
clickAndWait //input[@value='Save']
clickAndWait link=Little Bean
verifyTextPresent (1966-2008)
clickAndWait link=Delete
verifyTextPresent Are you sure you want to delete Little Bean?
clickAndWait //input[@value='Confirm']
clickAndWait link=Mr. Bean
clickAndWait link=Delete
verifyTextPresent Are you sure you want to delete Mr. Bean?
clickAndWait //input[@value='Confirm']