OLAT

Test Documentation

MELS - Multimedia & E-Learning Services, University of Zuerich, Switzerland

Table of Contents

Preface
1. Getting Started
1.1. Selenium IDE with Firefox - Install and Intro
Installation
Configure the Olat Map file
Recording the first test case
1.2. Selenium/Olat Map-file aka Locator Abstraction Layer
Introduction
Olat Map file
1.3. Selenium IDE Test Recording Cookbook
Language Dependency
Handling of Login
Locator encoding
Transition between Selenium IDE Test Case and 'Automated Nightly Selenium Test Case'
1.4. Selenium RC (Remote-Control / Server) with Eclipse
Install Selenium RC
Run a Selenium test from Eclipse
Modifying test for nightly
2. An overview of Testing in Olat
2.1. This document
2.2. Test Concept
Overall Test Goal
Test Matrix
2.3. Infrastructure and Frameworks
Selenium
Codepoints and Breakpoints
Setup Helper Scripts/Framework
TestNG
2.4. Deployment
2.5. Outstanding: Next steps and ideas
Distributed Deployment (DTF?)
Codepoints extension: Time Measurements between Codepoints
Test data concept: DBUnit / Reset-DB - Concept
JUnitReport to include relevant parts of olat.log from all involved nodes
3. Test Patterns
3.1. Distributed, clustered breakpointing
3.2. Contension simulation using random delays, combined with looping/stress-testing
3.3. Test by Asserts
Measure critical location times and apply weak-asserts
Managed Block: force DB access to be only allowed within managed block - plus optimize single-node case without plock
4. Selenium
4.1. Quick introduction to Selenium
Selenium IDE
Selenium RC
Selenium Grid
5. Codepoints and Breakpoints
5.1. Quick introduction to codepoints
6. Setup Helper Scripts/Framework
6.1. Quick introduction to Setup Helper Scripts/Framework
7. TestNG
7.1. Quick introduction to TestNG
7.2. Tips and Tricks with TestNG
8. Deployment Description
8.1. Nightly / Idmels03-05

List of Tables

2.1. Test Matrix