| open |
/ksdemo/public/classic/ |
|
| windowMaximize |
|
|
| echo |
-- Login |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| echo |
-- Change language to French |
|
| waitForElementPresent |
link=Change Language |
|
| click |
link=Change Language |
|
| waitForElementPresent |
link=French |
|
| click |
link=French |
|
| clickAndWait |
link=Apply |
|
| echo |
-- Go to Forum |
|
| open |
/ksdemo/public/classic/forum |
|
| echo |
-- Create new category |
|
| waitForElementPresent |
link=Ajouter |
|
| click |
link=Ajouter |
|
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
REG_FOR_004 |
| waitForElementPresent |
link=Enregistrer |
|
| click |
link=Enregistrer |
|
| echo |
-- Create new forum |
|
| waitForElementPresent |
link=Créer un forum |
|
| click |
link=Créer un forum |
|
| waitForElementPresent |
ForumTitle |
|
| type |
ForumTitle |
REG_FOR_004_forum |
| waitForElementPresent |
link=Enregistrer |
|
| click |
link=Enregistrer |
|
| echo |
-- Create new topic |
|
| waitForElementPresent |
link=Démarrer une discussion |
|
| click |
link=Démarrer une discussion |
|
| waitForElementPresent |
ThreadTitle |
|
| type |
ThreadTitle |
REG_FOR_004_topic |
| waitForElementPresent |
//iframe[@id='messageContent___Frame'] |
|
| selectFrame |
//iframe[@id='messageContent___Frame'] |
|
| waitForElementPresent |
//html/body/table/tbody/tr[2]/td/iframe |
|
| selectFrame |
//html/body/table/tbody/tr[2]/td/iframe |
|
| type |
//html/body |
REG_AIO168_KS_FOR_004_Content |
| selectFrame |
relative=top |
|
| waitForElementPresent |
link=Soumettre |
|
| click |
link=Soumettre |
|
| waitForElementPresent |
link=REG_FOR_004_topic |
|
| click |
link=REG_FOR_004_topic |
|
| pause |
2000 |
|
| waitForElementPresent |
link=Suivre |
|
| click |
link=Suivre |
|
| verifyTextPresent |
Vous suivez désormais cet élément. |
|
| waitForElementPresent |
//div[9]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
| click |
//div[9]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
| waitForElementPresent |
link=Ne plus suivre |
|
| click |
link=Ne plus suivre |
|
| verifyTextPresent |
Vous ne suivez désormais plus cet élément. |
|
| waitForElementPresent |
//div[9]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
| click |
//div[9]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a |
|
| echo |
-- Delete category |
|
| waitForElementPresent |
link=REG_FOR_004 |
|
| click |
link=REG_FOR_004 |
|
| waitForElementPresent |
link=Catégories |
|
| click |
link=Catégories |
|
| waitForElementPresent |
link=Supprimer |
|
| click |
link=Supprimer |
|
| assertConfirmation |
Etes-vous certain de vouloir supprimer cette catégorie? |
|
| waitForTextNotPresent |
REG_FOR_004 |
|
| verifyTextNotPresent |
REG_FOR_004 |
|
| echo |
-- Change language into English |
|
| waitForElementPresent |
link=Changer la langue |
|
| click |
link=Changer la langue |
|
| waitForElementPresent |
link=Anglais |
|
| click |
link=Anglais |
|
| clickAndWait |
link=Appliquer |
|
| echo |
-- Log out |
|
| clickAndWait |
link=Sign out |
|