Testing - Portal - Administrator

These steps outline the initial administrator login and creation of a new user.

Selenium Tests

Selenium allows for automated tests of the portal to be run from a browser window. Selenium is included with the default deployment of the Gateway. {{{http://127.0.0.1:8080/selenium/}This link}} will open up the Selenium test runner for a Gateway deployment on localhost .

Tests

Administrator Login

Action Once the Gateway has been deployed, attempt to login as an administrator (login DEVTEST00 , pass DEVTEST00 ).
Result You should see the monitor page for the administrator and have the administrator actions visible in the left panel.

Locales

Action From the main monitor page attempt to cycle through each locale using the menu on the top-right of the page.
Result The page should change languages and all words should be updated. Any "???" symbols are cause for concern. If time allows, try to cycle the locales for each unique page.

Create user and add role

Action Using the left navigation panel, under the admin menu, select Create User and enter in the following username and password: user-PRODTEST1 and pass-TESTPROD1 .
Result After creating the user, the User Manager will be loaded. Using this menu add the role of transmitter to the new user and make sure this is the only role this user has.

Logout

Action Log out of the Gateway as DEVTEST00 .
Result You should see the welcome page with links to the three roles on the left panel, all un-expanded.

Login as new user

Action Attempt to log in using the newly created user PRODTEST1 .
Result Verify that the menu shown when you log in displays only the transmitter options for sending and requesting acks.