Revision: 3977
Author: jprantan
Date: Fri Aug 27 05:39:12 2010
Log: Updated the manual tests to have minimum instructions.
http://code.google.com/p/robotframework/source/detail?r=3977
Added:
/trunk/atest/robot/standard_libraries/dialogs/dialogs.txt
/trunk/atest/testdata/standard_libraries/dialogs/dialogs.txt
Deleted:
/trunk/atest/robot/standard_libraries/dialogs/dialogs.html
/trunk/atest/testdata/standard_libraries/dialogs/dialogs.html
=======================================
--- /dev/null
+++ /trunk/atest/robot/standard_libraries/dialogs/dialogs.txt Fri Aug 27
05:39:12 2010
@@ -0,0 +1,24 @@
+*** Settings ***
+Suite Setup Run Tests ${EMPTY}
standard_libraries${/}dialogs${/}dialogs.txt
+Force Tags regression jybot pybot manual
+Resource atest_resource.txt
+
+*** Test Cases ***
+Pause Execution
+ Check Test Case Pause Execution
+
+Execute Manual Step
+ Check Test Case Execute Manual Step
+
+Get Value From User Passes
+ Check Test Case Get Value From User Passes
+
+Get Value From User Fails
+ Check Test Case Get Value From User Fails
+
+Get Selection From User Passes
+ Check Test Case Get Selection From User Passes
+
+Get Selection From User Fails
+ Check Test Case Get Selection From User Fails
+
=======================================
--- /dev/null
+++ /trunk/atest/testdata/standard_libraries/dialogs/dialogs.txt Fri Aug 27
05:39:12 2010
@@ -0,0 +1,28 @@
+*** Settings ***
+Library Dialogs
+
+*** Test Cases ***
+Pause Execution
+ Pause Execution Press OK.
+
+Execute Manual Step
+ [Documentation] FAIL Predefined Error Message
+ Execute Manual Step Press PASS.
+ Execute Manual Step Press FAIL and OK. Predefined Error Message
+
+Get Value From User Passes
+ ${value} = Get Value From User Input 'value' and press OK.
+ Should Be Equal ${value} value
+
+Get Value From User Fails
+ [Documentation] FAIL ValueError: No value provided by user
+ Get Value From User Press Cancel.
+
+Get Selection From User Passes
+ ${value} = Get Selection From User Select 'value' and press OK.
zip zap foo value bar
+ Should Be Equal ${value} value
+
+Get Selection From User Fails
+ [Documentation] FAIL ValueError: No value provided by user
+ Get Selection From User Press Cancel. zip zap foo
+
=======================================
--- /trunk/atest/robot/standard_libraries/dialogs/dialogs.html Thu May 6
03:01:28 2010
+++ /dev/null
@@ -1,238 +0,0 @@
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="RobotIDE" />
-<style type="text/css">
-html {
- font-family: Arial,Helvetica,sans-serif;
- background-color: white;
- color: black;
-}
-p {
- max-width: 60em;
-}
-table {
- border-collapse: collapse;
- empty-cells: show;
- margin: 1em 0em;
- border: 0.1em solid black;
-}
-th, td {
- border-style: solid;
- border-width: 0.05em 0.1em;
- border-color: black;
- padding: 0.1em 0.2em;
- height: 1.5em;
-}
-th {
- background-color: rgb(192, 192, 192);
- color: black;
- border-width: 0.1em;
- font-weight: bold;
- text-align: center;
- text-transform: capitalize;
- letter-spacing: 0.1em;
-}
-/* Widths of named columns */
-col.name {
- width: 10em;
-}
-.action, .value, .arg {
- width: 15em;
-}
-/* Properties for the name column
-- td:first-child should work in CSS 2.1 avare browsers (tested in Firefox)
-- col.name is against specs but works in IE
-*/
-td:first-child, col.name {
- background-color: rgb(240, 240, 240);
- text-transform: capitalize;
- letter-spacing: 0.1em;
-}
-/* required for IE */
-th {
- font-style: normal;
-}
-</style>
-<title>Dialogs</title>
-</head>
-<body>
-<h1>Dialogs</h1>
-
-<table border="1">
-<colgroup span="99">
-<col class="name">
-<col class="value" span="4"></colgroup>
-<tr>
-<th>Setting</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-</tr>
-<tr>
-<td>Force Tags</td>
-<td>regression</td>
-<td>jybot</td>
-<td>pybot</td>
-<td>manual</td>
-</tr>
-<tr>
-<td>Suite Setup</td>
-<td>Run Tests</td>
-<td></td>
-<td>standard_libraries${/}dialogs${/}dialogs.html</td>
-<td></td>
-</tr>
-<tr>
-<td>Resource</td>
-<td>atest_resource.txt</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</table>
-
-<table border="1">
-<colgroup span="99">
-<col class="name">
-<col class="value" span="4"></colgroup>
-<tr>
-<th>Variable</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-<th>Value</th>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</table>
-
-<table border="1">
-<colgroup span="99">
-<col class="name">
-<col class="action">
-<col class="arg" span="3"></colgroup>
-<tr>
-<th>Test Case</th>
-<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-</tr>
-<tr>
-<td>Pause Execution</td>
-<td>Check Test Case</td>
-<td>Pause Execution</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Execute Manual Step</td>
-<td>Check Test Case</td>
-<td>Execute Manual Step</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Get Value From User Passes</td>
-<td>Check Test Case</td>
-<td>Get Value From User Passes</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Get Value From User Fails</td>
-<td>Check Test Case</td>
-<td>Get Value From User Fails</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Get Selection From User Passes</td>
-<td>Check Test Case</td>
-<td>Get Selection From User Passes</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td>Get Selection From User Fails</td>
-<td>Check Test Case</td>
-<td>Get Selection From User Fails</td>
-<td></td>
-<td></td>
-</tr>
-</table>
-
-<table border="1">
-<colgroup span="99">
-<col class="name">
-<col class="action">
-<col class="arg" span="3"></colgroup>
-<tr>
-<th>Keyword</th>
-<th>Action</th>
-<th>Argument</th>
-<th>Argument</th>
-<th>Argument</th>
-</tr>
-<tr>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</table>
-
-</body>
-</html>
=======================================
--- /trunk/atest/testdata/standard_libraries/dialogs/dialogs.html Thu May
6 03:01:28 2010
+++ /dev/null
@@ -1,219 +0,0 @@
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="RobotIDE" />
-<meta name="rf-template" content="False" />
-<style type="text/css">
-html {
- font-family: Arial,Helvetica,sans-serif;
- background-color: white;
- color: black;
-}
-table {
- border-collapse: collapse;
- empty-cells: show;
- margin: 1em 0em;
- border: 0.1em solid black;
-}
-th, td {
- border-style: solid;
- border-width: 0.05em 0.1em;
- border-color: black;
- padding: 0.1em 0.2em;
- height: 1.5em;
- width: 12em;
-}
-th {
- background-color: rgb(192, 192, 192);
- color: black;
- border-width: 0.1em;
- font-weight: bold;
- text-align: center;
- letter-spacing: 0.1em;
-}
-td.name {
- background-color: rgb(240, 240, 240);
- letter-spacing: 0.1em;
-}
-td.name, th.name {
- width: 10em;
-}
-</style>
-<title>Dialogs</title>
-</head>
-<body>
-<h1>Dialogs</h1>
-<table id="settings" border="1">
-<tr>
-<th class="name">Setting</th>
-<th colspan="4">Value</th>
-</tr>
-<tr>
-<td class="name">Library</td>
-<td>Dialogs</td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</table>
-<table id="variables" border="1"></table>
-<table id="testcases" border="1">
-<tr>
-<th class="name">Test Case</th>
-<th>Action</th>
-<th colspan="3">Arguments</th>
-</tr>
-<tr>
-<td class="name"><a name="test_Pause Execution">Pause Execution</a></td>
-<td>Pause Execution</td>
-<td>Robot Framework Acceptance test execution is now paused.\nPlease press
OK to continue.</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="test_Execute Manual Step">Execute Manual
Step</a></td>
-<td>[Documentation]</td>
-<td colspan="3">FAIL Predefined Error Message</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Execute Manual Step</td>
-<td>Please make this step pass.</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Execute Manual Step</td>
-<td>Please choose FAIL and then Ok to fail this test with error
message 'Predefined Error Message'.</td>
-<td>Predefined Error Message</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="test_Get Value From User Passes">Get Value From
User Passes</a></td>
-<td>${value} =</td>
-<td>Get Value From User</td>
-<td>Please input 'value' in the field to make this test pass</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Should Be Equal</td>
-<td>${value}</td>
-<td>value</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="test_Get Value From User Fails">Get Value From
User Fails</a></td>
-<td>[Documentation]</td>
-<td colspan="3">FAIL ValueError: No value provided by user</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Get Value From User</td>
-<td>Choose cancel to fail this test as expected</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="test_Get Selection From User Passes">Get
Selection From User Passes</a></td>
-<td>${value} =</td>
-<td>Get Selection From User</td>
-<td>Please select 'value' to make this test pass</td>
-<td>zip</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>...</td>
-<td>zap</td>
-<td>foo</td>
-<td>value</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>...</td>
-<td>bar</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Should Be Equal</td>
-<td>${value}</td>
-<td>value</td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"><a name="test_Get Selection From User Fails">Get
Selection From User Fails</a></td>
-<td>[Documentation]</td>
-<td colspan="3">FAIL ValueError: No value provided by user</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>Get Selection From User</td>
-<td>Choose cancel to fail this test as expected</td>
-<td>zip</td>
-<td>zap</td>
-</tr>
-<tr>
-<td class="name"></td>
-<td>...</td>
-<td>foo</td>
-<td></td>
-<td></td>
-</tr>
-<tr>
-<td class="name"></td>
-<td></td>
-<td></td>
-<td></td>
-<td></td>
-</tr>
-</table>
-<table id="keywords" border="1"></table>
-</body>
-</html>