Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TagDescription
@javascriptThe 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
@backendThe test will be run by the backend TestSuite.
@_file_upload@attachfileAny 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).
@iframeAny 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.
@jsevaluationAny 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.
@mousemanipulationAny 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
titleExample of generating data
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.

...

NameRequired fieldsOptional fields
usersusernamesurname, first_names, title, email, roles, gender, special_needs, yearofstudy, user_deleted, password_expire, grade, initials, password
questionsuser, 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

modulesmoduleid, fullnameactive, 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 membersmoduleid, usernamenot applicable
module keywordsmoduleidkeyword
paperspapertitle, papertype, paperowner, modulenamestartdate, enddate, labs, duration, session, timezone, externalid, externalsys, calendaryear, remote, password