summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart_tests/Fundamentals/HelloWorldTestCase.php
blob: 582f6602d0b90f0d16caf0e23dd804c27593346d (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("/prado3/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", "");
	}
}

?>