| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"> |
| |
| <form name="editSeleniumTestSuitePath" target="updateSeleniumTestSuitePath" type="single" title="Add new selenium test suite" default-map-name="testSuitePath" |
| header-row-style="header-row" default-table-style="basic-table"> |
| <field name="testSuiteId" use-when="testSuitePath == null"><text/></field> |
| <field name="testSuiteId" use-when="testSuitePath != null"><display/></field> |
| <field name="testSuiteName"><text/></field> |
| <field name="testSuiteType"> |
| <drop-down allow-empty="false"> |
| <option key="XML" description="XML"/> |
| <option key="HTML" description="HTML"/> |
| </drop-down> |
| </field> |
| <field name="testSuitePath"><text/></field> |
| <field name="description"><textarea rows="3"/></field> |
| <field name="submitButton" title=""><submit button-type="button"/></field> |
| </form> |
| <form name="seleniumTestSuitePathList" paginate-target="selenium" type="list" title="path file of selenium test suite" separate-columns="true" list-name="listIt" |
| view-size="15" odd-row-style="alternate-row" paginate="true" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> |
| |
| <field name="testSuiteId" widget-style="buttontext"> |
| <hyperlink also-hidden="true" description="${testSuiteId}" target="editSeleniumTestSuitePath"> |
| <parameter param-name="testSuiteId"/> |
| </hyperlink> |
| </field> |
| <field name="testSuiteName"><display/></field> |
| <field name="testSuitePath"><display/></field> |
| <field name="description"><display/></field> |
| <field name="testSuiteType"><display/></field> |
| <field name="runTest" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" |
| use-when=""XML".equals(testSuiteType)"> |
| <hyperlink target="runTestSuite" description="${uiLabelMap.CommonRun}"> |
| <parameter param-name="testSuiteId"/> |
| <parameter param-name="testSuitePath" /> |
| </hyperlink> |
| </field> |
| <field name="runTest" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext" |
| use-when=""HTML".equals(testSuiteType)"> |
| <hyperlink target="runHtmlSuite" description="${uiLabelMap.CommonRun}"> |
| <parameter param-name="testSuiteId"/> |
| <parameter param-name="testSuitePath"/> |
| </hyperlink> |
| </field> |
| <field name="remove" title="${uiLabelMap.CommonEmptyHeader}" widget-style="buttontext"> |
| <hyperlink target="removeSeleniumTestSuitePath" description="${uiLabelMap.CommonDelete}"> |
| <parameter param-name="testSuiteId"/> |
| </hyperlink> |
| </field> |
| </form> |
| </forms> |