summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart_tests/Fundamentals/HelloWorldTestCase.php
blob: 8aea86f6b0379533c099caa79b47d5207e89787e (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&functionaltest=true", "");
		$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", "");
	}
}

?>