Revision 4917,
1.1 KB
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1771 - Adicionado testes automatizados para modulo da agenda
|
Rev | Line | |
---|
[4917] | 1 | package org.expressolivre.cte.calendar.preferencias; |
---|
| 2 | |
---|
| 3 | import org.expressolivre.cte.common.BaseCalendarTestCase; |
---|
| 4 | import org.expressolivre.cte.pages.calendar.AddAppointmentCategoryPage; |
---|
| 5 | import org.expressolivre.cte.pages.calendar.AppointmentCategoryPage; |
---|
| 6 | import org.testng.annotations.Parameters; |
---|
| 7 | import org.testng.annotations.Test; |
---|
| 8 | |
---|
| 9 | /** |
---|
| 10 | * Suite:[FUN03.8] Alterar preferencias da agenda |
---|
| 11 | * |
---|
| 12 | * Caso de Teste: EL-988:Criar categoria |
---|
| 13 | * |
---|
| 14 | * Link: http://testlink.expressolivre.org/linkto.php?tprojectPrefix=EL&item= |
---|
| 15 | * testcase&id=EL-988 |
---|
| 16 | * |
---|
| 17 | * @author L.F.Estivalet (Serpro) |
---|
| 18 | * |
---|
| 19 | * Created on Aug 10, 2011 at 1:47:08 PM |
---|
| 20 | * |
---|
| 21 | */ |
---|
| 22 | public class CriarCategoriaTestCase extends BaseCalendarTestCase { |
---|
| 23 | |
---|
| 24 | /** |
---|
| 25 | * @param nome |
---|
| 26 | * @param descricao |
---|
| 27 | * @param particular |
---|
| 28 | */ |
---|
| 29 | @Parameters({ "nome", "descricao", "particular" }) |
---|
| 30 | @Test |
---|
| 31 | public void criarCategoria(String nome, String descricao, Boolean particular) { |
---|
| 32 | AppointmentCategoryPage acp = super.openAppointmentCategoryPage(); |
---|
| 33 | AddAppointmentCategoryPage aacp = acp.addCategory(); |
---|
| 34 | aacp.setCategoryName(nome); |
---|
| 35 | aacp.setCategoryDescription(descricao); |
---|
| 36 | aacp.setPrivateAccess(particular); |
---|
| 37 | aacp.saveCategory(); |
---|
| 38 | } |
---|
| 39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.