blob: f8b4cf55a58f1bc0c2fafa6de0f68be673fc2cc5 (
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(500);
$this->click("heading"); //click somewhere else.
$this->pause(500);
$this->assertText("label1", "Label 1: Australia");
}
}
?>
|