summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart_tests/Fundamentals/HelloWorldTestCase.php
blob: d48015f0d6356e691f626e424ac17d02d319c337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

//New Test
class HelloWorldTestCase extends SeleniumTestCase
{
	function test ()
	{
		$this->open("../../demos/quickstart/index.php?page=Fundamentals.Samples.HelloWorld.Home", "");
		$this->verifyTitle("Hello World", "");
		$this->clickAndWait("//input[@type='submit' and @value='Click Me']", "");
		$this->clickAndWait("//input[@type='submit' and @value='Hello World']", "");
		$this->verifyTitle("Hello World", "");
	}
}

?>