Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.

Ticket #11210: fixture.rest

File fixture.rest, 7.3 KB (added by mtbcarroll, 11 years ago)

test fixture

Line 
1Test Fixture Settings
2+++++++++++++++++++++
3
4+---------+--------------+
5| Setting | Value        |
6+=========+==============+
7| Library | SwingLibrary |
8+---------+--------------+
9
10Test Fixture Keywords
11+++++++++++++++++++++
12
13+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
14| Keyword          | Action                    | Argument                          | Argument         | Argument       | Argument |
15+==================+===========================+===================================+==================+================+==========+
16| Choose Server    | [Documentation]           | when the login window is shown,   |                  |                |          |
17|                  |                           | use the server dialog to select   |                  |                |          |
18|                  |                           | the given server                  |                  |                |          |
19+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
20| ..               | [Arguments]               | ${server}                         |                  |                |          |
21+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
22| ..               | Push Button               | config server button              |                  |                |          |
23+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
24| ..               | Dialog Should Be Open     | server dialog                     |                  |                |          |
25+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
26| ..               | Select Dialog             | server dialog                     |                  |                |          |
27+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
28| ..               | Button Should Be Disabled | apply button                      |                  |                |          |
29+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
30| ..               | Button Should Be Enabled  | cancel button                     |                  |                |          |
31+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
32| ..               | ${sought_row}=            | Find Table Row                    | server table     | ${server}      | host     |
33+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
34| ..               | Click On Table Cell       | server table                      | ${sought_row}    | 0              |          |
35+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
36| ..               | Button Should Be Enabled  | apply button                      |                  |                |          |
37+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
38| ..               | Button Should Be Enabled  | cancel button                     |                  |                |          |
39+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
40| ..               | Push Button               | apply button                      |                  |                |          |
41+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
42| ..               | Select Window             | login window                      |                  |                |          |
43+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
44| Log In           | [Documentation]           | start up Insight and log in to an |                  |                |          |
45|                  |                           | OMERO server                      |                  |                |          |
46+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
47| ..               | [Arguments]               | ${host}                           | ${user}          | ${pass}        |          |
48+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
49| ..               | Start Application         | org.openmicroscopy.shoola.Main    |                  |                |          |
50+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
51| ..               | Select Window             | login window                      |                  |                |          |
52+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
53| ..               | Button Should Be Enabled  | config server button              |                  |                |          |
54+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
55| ..               | ${previous_host}=         | Get Text Field Value              | server host name |                |          |
56|                  |                           |                                   |                  |                |          |
57+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
58| ..               | Run Keyword If            | '${previous_host}' != '${host}'   | Choose Server    | server=${host} |          |
59+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
60| ..               | Clear Text Field          | user                              |                  |                |          |
61+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
62| ..               | Type Into Text Field      | user                              | ${user}          |                |          |
63+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
64| ..               | Type Into Text Field      | pass                              | ${pass}          |                |          |
65+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+
66| ..               | Push Button               | login button                      |                  |                |          |
67+------------------+---------------------------+-----------------------------------+------------------+----------------+----------+

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.35012 sec.)

We're Hiring!