Testes da adição, edição e remoção de tarefas
open elefante
type email corbucci@ime.usp.br
type senha hugo
clickAndWait login
assertXpathCount //*[@class="tarefa"] 3
clickAndWait Adicionar Tarefa
type Titulo Corrigir Fase
type Descricao Corrigir a fase 2 do projeto de POO. Elaborar o criterio e aplicar a todos os grupos.
type Prioridade 3
type Data Limite 01/06/2008
type Rotulos poo, monitoria
type Estimativa 16:00:00
clickAndWait Nova Tarefa
assertXpathCount //*[@class="tarefa"] 4
clickAndWait Edicao Corrigir Fase
verifyValue Titulo Corrigir Fase
verifyValue Descricao Corrigir a fase 2 do projeto de POO. Elaborar o criterio e aplicar a todos os grupos.
verifyValue Prioridade 3
verifyValue Data Limite 01/06/2008
verifyValue Rotulos poo, monitoria
verifyValue Estimativa 16:00:00
type Titulo Corrigir Fase 2
clickAndWait Atualizar Tarefa
assertXpathCount //*[@class="tarefa"] 4
clickAndWait Remover Corrigir Fase 2
clickAndWait OK
assertXpathCount //*[@class="tarefa"] 3
clickAndWait sair