Ignore:
Timestamp:
08/11/11 16:58:17 (13 years ago)
Author:
luiz-fernando
Message:

Ticket #1771 - Adicionado testes automatizados para modulo da agenda

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/pages/calendar/AppointmentPage.java

    r4902 r4917  
    7070        private WebElement priority; 
    7171 
     72        @FindBy(id = "usuarioParticipa") 
     73        private WebElement includeUser; 
     74 
    7275        /** Alarme dia. */ 
    7376        @FindBy(name = "cal[alarmdays]") 
     
    128131         */ 
    129132        public void setTitle(String title) { 
     133                this.title.clear(); 
    130134                this.title.sendKeys(title); 
    131135        } 
     
    136140         */ 
    137141        public void setDescription(String description) { 
     142                this.description.clear(); 
    138143                this.description.sendKeys(description); 
    139144        } 
     
    152157         */ 
    153158        public void setLocation(String location) { 
     159                this.location.clear(); 
    154160                this.location.sendKeys(location); 
    155161        } 
     
    218224 
    219225        /** 
     226         * Inclui/Exclui usuario criador do compromisso. 
     227         *  
     228         * @param include 
     229         *            <code>true</code> para incluir usuario, <code>false</code> 
     230         *            para excluir. 
     231         */ 
     232        public void setIncludeUser(Boolean include) { 
     233                if (include && !this.includeUser.isSelected()) { 
     234                        this.includeUser.click(); 
     235                } 
     236 
     237                if (!include && this.includeUser.isSelected()) { 
     238                        this.includeUser.click(); 
     239                } 
     240        } 
     241 
     242        /** 
    220243         * @param notes 
    221244         *            the notes to set 
    222245         */ 
    223246        public void setNotes(String notes) { 
     247                this.notes.clear(); 
    224248                this.notes.sendKeys(notes); 
    225249        } 
Note: See TracChangeset for help on using the changeset viewer.