summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/AutoCompleteTestCase.php
blob: cb1a6604c10f0fd7f97d119b20955f1b32f16111 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

class AutoCompleteTestCase extends SeleniumTestCase
{
	function test()
	{
		$this->open("active-controls/index.php?page=AutoCompleteTest");
		$this->verifyTextPresent("TAutoComplete Test");

		$this->assertText("label1", "Label 1");

		$this->type("textbox3", "Australia");
		$this->pause(800);
		$this->click("heading"); //click somewhere else.
		$this->pause(800);
		$this->assertText("label1", "Label 1: Australia");

	}
}

?>