Package omeroweb :: Package webadmin :: Package tests :: Module seleniumtests
[hide private]
[frames] | no frames]

Module seleniumtests

source code

Classes [hide private]
  WebAdminTestBase
  AdminTests
Functions [hide private]
 
createGroup(sel, groupName)
Helper method for creating a new group with the give name.
source code
 
createExperimenter(sel, omeName, groupNames, password="ome", firstName="Selenium", lastName="Test")
Helper method for creating an experimenter in the specified group.
source code

Imports: os, omero, SeleniumTestBase, Utils, random, settings


Function Details [hide private]

createGroup(sel, groupName)

source code 

Helper method for creating a new group with the give name. Must be logged in as root. Creates a private group. Returns groupId if creation sucessful (the groups page displays new group name) Otherwise returns 0

createExperimenter(sel, omeName, groupNames, password="ome", firstName="Selenium", lastName="Test")

source code 

Helper method for creating an experimenter in the specified group. The group 'groupName' must already exist. Returns the expId if experimenter created successfully (omeName is found in table of experimenters) Otherwise returns 0