Max Media Manager

Functional tests

These tests are designed to be run by the Selenium test-runner.

Create campaign with invalid dates

open

http://www.should-be-configurable.example.com/logout.php


open

http://www.should-be-configurable.example.com/


type

username

m3test05

type

password

m3test05

clickAndWait

//input[@value='Login']


assertTextNotPresent

The password is not correct


clickAndWait

link=Inventory


clickAndWait

link=Amercian Express


clickAndWait

link=Campaign overview


clickAndWait

link=Add new campaign


select

activateDay

label=23

select

activateMonth

label=March

select

activateYear

index=1

type

comments

This campaign was created by the automated functional testing process, and should be deleted.

clickAndWait

//input[@value='Save Changes']


clickAndWait

link=Campaign properties


verifyValue

activateSet

off

verifyValue

activateDay

23

verifyValue

activateMonth

3

verifyValue

activateYear

2006

verifyValue

expireSet

on

click

link=Delete


verifyConfirmation

Do you really want to delete this campaign?