MoveThreadTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Message Boards
clickAtAndWait //tr[4]/td[1]/a[1]/strong
pause 5000
clickAtAndWait //a/strong
clickAtAndWait //a/strong
clickAtAndWait link=Tést Méssagé to bé Délétéd
assertTextPresent This méssagé will bé délétéd!
clickAtAndWait link=Move Thread
clickAt _19_addExplanationPostCheckbox
waitForVisible _19_subject
typeKeys _19_subject Moved to Sujr
type _19_subject Moved to Sujr
type _19_textArea Trust and paths will be straightened.
clickAt //input[@value='Select']
waitForPopUp category 30000
selectWindow category
pause 5000
store eval(selenium.isElementPresent('link=Categories')) CategoriesPresent
gotoIf !${CategoriesPresent} categoriesNotPresent
clickAtAndWait link=Categories
label categoriesNotPresent
click //input[@value='Choose']
selectWindow null
pause 5000
assertElementPresent link=Sujr
clickAtAndWait //input[@value='Move Thread']
assertElementPresent link=Sujr
assertElementPresent link=Tést Méssagé to bé Délétéd
assertTextPresent This méssagé will bé délétéd!
assertTextPresent Trust and paths will be straightened.
assertElementNotPresent link=Tést Subcatégory
assertElementNotPresent link=Tést Catégory