Ignore:
Timestamp:
05/11/11 15:25:35 (13 years ago)
Author:
luiz-fernando
Message:

Ticket #1402 - Novos casos de teste para preferencias administrativas

File:
1 edited

Legend:

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

    r3782 r4344  
    8686        } 
    8787 
     88        public boolean isNotDisplayed(RenderedWebElement e) { 
     89                // Up to 10 times 
     90                for (int i = 0; i < 10; i++) { 
     91                        // Check whether our element is visible yet 
     92                        if (!e.isDisplayed()) { 
     93                                return true; 
     94                        } 
     95 
     96                        try { 
     97                                Thread.sleep(1000); 
     98                        } catch (InterruptedException ex) { 
     99                                // Try again 
     100                        } 
     101                } 
     102                return false; 
     103        } 
     104 
    88105        /** 
    89106         * @param id 
Note: See TracChangeset for help on using the changeset viewer.