...
Tag | Description |
---|---|
@javascript | The Scenario will use the Selenium2 webdriver and be able to use Javascript.Tests that use this tag will be slower than tests that do not. This tag should not be mixed with the @backend tag |
@backend | The test will be run by the backend TestSuite. |
@_file_upload@attachfile | Any test that uploads files should use this tag. It will allow us not to run them if we are doing testing in an environment that cannot do uploads (or a driver that does not support attaching files). |
@iframe | Any tests that run on pages within rogo that have iframes should have this tag. It will allow us not to run them if we are doing testing using a driver that does not support iframes. |
@jsevaluation | Any tests that use steps that require javascript evaluation. It will allow us not to run them if we are doing testing using a driver that does not support javascript evaluation. |
@mousemanipulation | Any tests that use steps that require mouse manipulation. It will allow us not to run them if we are doing testing using a driver that does not support mouse manipulation. |
Finding available steps
There are two commands you may use to find available steps:
...
Code Block | ||
---|---|---|
| ||
Given the following "users" exist: | username | | student1 | |
The data type is passed as a parameter i.e. "users" above.
The table passed must include data for all required fields for the data generator, it may include any number of optional fields. If an optional field is omitted a default or random value should be generated for it.
...
Name | Required fields | Optional fields |
---|---|---|
users | username | surname, first_names, title, email, roles, gender, special_needs, yearofstudy, user_deleted, password_expire, grade, initials, password |
questions | user, type + question type specific requirements | are question type specific from the following list: theme, leadin, notes, display_method, ownerID, q_media_id, q_media, q_media_width, q_media_height, q_media_alt, q_media_owner, q_media_num, creation_date, last_edited, bloom, scenario, scenario_plain, leadin_plain, checkout_time, checkout_authorID, deleted, locked, std, status, q_option_order, score_method, settings, quid, keywords, options |
modules | moduleid, fullname | active, schoolid, vle_api, sms_api, selfEnroll, peer, external, stdset, mapping, neg_marking, ebel_grid_template, sms_import, timed_exams, exam_q_feedback, add_team_members, map_level, academic_year_start, externalID |
module team members | moduleid, username | not applicable |
module keywords | moduleid | keyword |
papers | papertitle, papertype, paperowner, modulename | startdate, enddate, labs, duration, session, timezone, externalid, externalsys, calendaryear, remote, password |