<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3ASelenium_tests</id>
	<title>Development:Selenium tests - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Development%3ASelenium_tests"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Selenium_tests&amp;action=history"/>
	<updated>2026-05-07T23:08:48Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Selenium_tests&amp;diff=11872&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Selenium_tests&amp;diff=11872&amp;oldid=prev"/>
		<updated>2024-10-21T08:53:12Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 08:53, 21 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Development:Selenium_tests&amp;diff=11871&amp;oldid=prev</id>
		<title>1&gt;Tsala: formatting</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Development:Selenium_tests&amp;diff=11871&amp;oldid=prev"/>
		<updated>2008-02-21T14:05:48Z</updated>

		<summary type="html">&lt;p&gt;formatting&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Creating Selenium tests for common Moodle tasks.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Selenium is an automated testing framework designed to test Web Graphical User Interfaces (see http://openqa.org/selenium-ide). Test scripts are built using a record-playback method, and can then be played back by various selenium clients and programming languages (depending on the export format).&lt;br /&gt;
&lt;br /&gt;
In Moodle there are many common tasks which are performed the same way no matter what specific use the host makes of Moodle. The goal of these GHOP tasks is to create a number of automated Selenium tests which will be used during development to ensure that new bug fixes do not introduce new User Interface bugs.&lt;br /&gt;
&lt;br /&gt;
== Guidelines ==&lt;br /&gt;
&lt;br /&gt;
To perform these tasks, you need:&lt;br /&gt;
&lt;br /&gt;
# A new install of Moodle (the version will be indicated in the task title)&lt;br /&gt;
# The Selenium IDE firefox plugin (see links below)&lt;br /&gt;
&lt;br /&gt;
The most important thing to remember is that the test must run successfully on any platform where a new install of Moodle is running. This explains why we need to create and run the tests on a new install.&lt;br /&gt;
&lt;br /&gt;
== Cleanup ==&lt;br /&gt;
&lt;br /&gt;
In your test script, if you create Database content through your actions (such as creating a new course), make sure you delete it at the end, as part of your script. This will help make the test more portable, so that it leaves nothing behind (no need to manually delete test data or re-install Moodle).&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* Selenium site: http://openqa.org/selenium-ide/&lt;br /&gt;
* Firefox Selenium extension: http://release.openqa.org/selenium-ide/0.8.7/selenium-ide-0.8.7.xpi&lt;br /&gt;
* Video tutorial: http://wiki.openqa.org/download/attachments/400/Selenium+IDE.swf?version=1&lt;br /&gt;
* Example Selenium script: http://google-highly-open-participation-moodle.googlecode.com/files/course_creation_selenium.html (PS: this must be run from the page reached by an admin who just logged in)&lt;/div&gt;</summary>
		<author><name>1&gt;Tsala</name></author>
	</entry>
</feed>