ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (OFBIZ-6618) Selenium test integration using XML files
Date Sat, 26 Sep 2015 13:45:04 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-6618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Le Roux reassigned OFBIZ-6618:
--------------------------------------

    Assignee: Jacques Le Roux

> Selenium test integration using XML files
> -----------------------------------------
>
>                 Key: OFBIZ-6618
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6618
>             Project: OFBiz
>          Issue Type: Test
>          Components: framework
>            Reporter: Ruud Griepsma
>            Assignee: Jacques Le Roux
>            Priority: Minor
>              Labels: selenium, test, webdriver
>         Attachments: ModelTestSuite.patch, test-suite.patch
>
>
> Added a new type of test, for testing with Selenium WebDriver, but without writing any
Java code. This will help making GUI tests quicker and easier to create. Test steps and instances
are defined in XML files, like example below, which tests the login procedure for the admin
user.
> <testcase>
>   <step function="openBrowser" datavalue="Firefox"/>
>   <step function="navigate" datavalue="https://localhost:8443/example/control/checkLogin/main"/>
>   <step function="writeInput" by="name" webobject="USERNAME" dataname="username"/>
>   <step function="writeInput" by="name" webobject="PASSWORD" dataname="password"/>
>   <step function="click" by="cssSelector" webobject="input[type=&quot;submit&quot;]"/>
>   <step function="checkExists" by="linkText" datavalue="Logout"/>
>   <step function="pause" datavalue="2"/>
>   <step function="closeBrowser"/>
>   
>   <testinstance>
>     <data name="username" value="admin"/>
>     <data name="password" value="ofbiz"/>
>   </testinstance>
> </testcase>
> Git repository with example (put in 'hot-deploy' folder and check README.txt file):
> git clone https://gerrit.antwebsystems.com/growerptest



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message