Dashboard > GreenPepper Seeds > Home > Cell decoration
  GreenPepper Seeds Log In View a printable version of the current page.  
  Cell decoration
Added by admin, last edited by Laurent Cobos on Jun 27, 2007  (view change)
Labels: 

 GreenPepperAnonymous access is denied. You must log in to use GreenPepper.

Cell decoration

Import
com.greenpepper.seeds
GreenPepper

When the value returned by the SUT is identical to the one expected, the html cell is colored in green, otherwise, it is colored in red.
Exceptions are also considered. If an exception is awaiten, the keyword error can be used. If an exception occurs while none was expected, the cell is colored in yellow.

rule for html cell decoration
expected returned cell color? cell text?
value1 value1 GREEN value1
value1 value2 RED Expected: value1 Received: value2
error error GREEN error
error value1 RED Expected: error Received: value1
value1 error YELLOW error
  value1 GREY value1
    GREY  

this seed must be splitted into 2 others seeds.
one to test end specify cell color or state
another for the text

DEMONSTRATION LICENSE - This Confluence site is for demonstration purposes only. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.4.3 Build:#705 Mar 21, 2007) - Bug/feature request - Contact Administrators