kajona_3x_checkAdmin
setSpeed 500
open ${sysAddress}/${sysPathname}/index.php?admin=1&module=login&action=adminLogin&name=admin&passwort=kajona
click xpath=//div[@class="accordion-group"]//a[contains(.,'News')]
clickAndWait xpath=//div[@class="accordion-group"]//a[contains(.,'News')]/../../div[2]//a
verifyText xpath=//h1 News
clickAndWait xpath=(//a[contains(text(),'News anlegen')])[2]
type id=news_title Testnews
type id=news_intro Das eine Neuigkeit
runScript CKEDITOR.instances["news_text"].setData('News Test Text');
type id=news_objdatestart 15.11.2012
type id=news_objdateend 15.11.2014
type id=news_objdatespecial 17.11.2014
click xpath=//div[2]/div/div[2]/form/div[8]/div/label/input
clickAndWait css=button.btn.savechanges
errorCheckOnPage
clickAndWait xpath=(//a[contains(text(),'Kategorie anlegen')])[2]
type id=news_title Testkategorie
clickAndWait css=button.btn.savechanges
verifyTextPresent Testkategorie
open ${sysAddress}/${sysPathname}/index.php?admin=1&module=login&action=adminLogout
open ${sysAddress}/${sysPathname}
verifyTextPresent Testnews
verifyTextPresent Das eine Neuigkeit
errorCheckOnPage
open ${sysAddress}/${sysPathname}/index.php?admin=1&module=login&action=adminLogin&name=admin&passwort=kajona
click xpath=//div[@class="accordion-group"]//a[contains(.,'News')]
clickAndWait xpath=//div[@class="accordion-group"]//a[contains(.,'News')]/../../div[2]//a
clickAndWait xpath=//td[text()="Testnews"]/../td[7]/span[1]/a
type id=news_objdateend 15.11.2012
clickAndWait css=button.btn.savechanges
open ${sysAddress}/${sysPathname}
verifyTextPresent Testnews
verifyTextPresent Das eine Neuigkeit