Durham Blackboard Users Conference 9 th January 2014

  • Slides: 12
Download presentation
Durham Blackboard User’s Conference 9 th January 2014 Automated Testing Saving Time & Money

Durham Blackboard User’s Conference 9 th January 2014 Automated Testing Saving Time & Money Link to the paper: http: //goo. gl/Cp 17 CL David Barrett Blayn Parkinson University of York, UK

Why? § Functional testing – is necessary – is time consuming – can be

Why? § Functional testing – is necessary – is time consuming – can be ambiguous § Automated testing is – consistent – easily repeatable – reusable

How? Speed Command Target (Locator) Tests Value

How? Speed Command Target (Locator) Tests Value

Organising tests

Organising tests

Test Manager

Test Manager

Constructing good tests § A good test – Mirror user behaviour – Independent –

Constructing good tests § A good test – Mirror user behaviour – Independent – Report accurately § HTML present? § Text present? § Screenshot

Source Control TEST SCRIPT (A 1. 3) ADD BLOG POST (ROLE STUDENT) BLOCK 1

Source Control TEST SCRIPT (A 1. 3) ADD BLOG POST (ROLE STUDENT) BLOCK 1 Login as test student BLOCK 2 Navigate to the test course site BLOCK 3 Navigate the left hand menu to access the blog tool NEW SCRIPT Enter the blog and click the Add New Entry button BLOCK 4 Add content to the content editor BLOCK 5 Click the submit button BLOCK 6 Take a screenshot for human inspection/verification NEW SCRIPT Verify text on the page is present BLOCK 7 Logout of the VLE

Results Test Manager Results Test Script ID Pass Test Results Web Service Pass pending

Results Test Manager Results Test Script ID Pass Test Results Web Service Pass pending check Fail

Pros and Cons Saved time Maintenance burden Reusable Human intervention

Pros and Cons Saved time Maintenance burden Reusable Human intervention

Taking this forward § § § Automate more Maintenance Continuous testing Load testing Blackboard

Taking this forward § § § Automate more Maintenance Continuous testing Load testing Blackboard client assisted testing?

Questions? Link to paper: http: //goo. gl/Cp 17 CL David Barrett Blayn Parkinson University

Questions? Link to paper: http: //goo. gl/Cp 17 CL David Barrett Blayn Parkinson University of York, UK David. [email protected] ac. uk

Exporting data from Campus Pack 4 § Export from CP 4 hosted solution §

Exporting data from Campus Pack 4 § Export from CP 4 hosted solution § Ruby Watir and Auto. IT § Script generator § Actions – – Visiting every CP 4 user/course page Scraping html Triggering an export Downloading zip files For more info: david. [email protected] ac. uk