MoveThreadTest
waitForElementPresent link=Message Boards
clickAtAndWait link=Message Boards
clickAtAndWait //tr[4]/td[1]/a[1]/b
waitForElementPresent //li[5]/span/a
clickAtAndWait //b
waitForElementPresent //li[6]/span/a
clickAtAndWait //b
waitForElementPresent //li[7]/span/a
clickAtAndWait link=Tést Méssagé to bé Délétéd
waitForElementPresent //li[8]/span/a
assertTextPresent This méssagé will bé délétéd!
clickAtAndWait link=Move Thread
waitForElementPresent //li[9]/span/a
clickAt _19_addExplanationPost
waitForElementPresent _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