course_creation_selenium
click link=Courses
clickAndWait link=Add/edit courses
clickAndWait //input[@value='Add new category']
type id_name Main category
clickAndWait id_submitbutton
waitForTextPresent Course categories
clickAndWait link=Main category
waitForTextPresent No courses in this category
clickAndWait //input[@value='Add a new course']
type id_fullname New course for selenium testing
type id_shortname Selenium
type id_idnumber test1
select id_format label=Topics format
select id_numsections label=3
select id_newsitems label=0
select id_showgrades label=No
select id_maxbytes label=500KB
clickAndWait id_submitbutton
verifyTextPresent Assign roles in Course: New course for selenium testing
clickAndWait link=Student
clickAndWait link=Selenium
verifyTextPresent New course for selenium testing
verifyTextPresent Topic outline