~schooltool-owners/schooltool.gradebook/packaging

« back to all changes in this revision

Viewing changes to src/schooltool/gradebook/browser/stests/README.selenium.txt

  • Committer: Gediminas Paulauskas
  • Date: 2014-05-19 14:43:25 UTC
  • mfrom: (558.1.113 schooltool.gradebook)
  • Revision ID: menesis@pov.lt-20140519144325-xu17ozr1u31zp9ik
Tags: 2.8.1~dev-0ubuntu1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
=============================================
2
 
SchoolTool Gradebook Selenium Testing Support
3
 
=============================================
4
 
 
5
 
Browser extensions
6
 
==================
7
 
 
8
 
Most of the extensions are coded in the stesting.py module of the
9
 
schooltool.gradebook package.
10
 
 
11
 
We have browser extensions for:
12
 
 
13
 
Printing a worksheet
14
 
--------------------
15
 
 
16
 
* browser.ui.gradebook.worksheet.pprint()
17
 
 
18
 
  Optional keyword parameters:
19
 
    show_validation: bool
20
 
 
21
 
  NOTE: the current url must be the worksheet's url
22
 
 
23
 
  NOTE: if show_validation is set, a code will be printed next to the
24
 
  input field. The codes meaning are:
25
 
 
26
 
    * v: valid score
27
 
    * e: extra credit score
28
 
    * i: invalid score
29
 
 
30
 
Scoring an activity for a student
31
 
---------------------------------
32
 
 
33
 
* browser.ui.gradebook.worksheet.score()
34
 
 
35
 
  Required parameters:
36
 
    student: title of the student row
37
 
    activity: label of the column
38
 
    grade
39
 
 
40
 
  NOTE: the current url must be the worksheet's url