blob: 4929b879ba13c461bf1f97b2c6a9ea74e9bb7ab3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
class PopulateListTestCase extends SeleniumTestCase
{
function test()
{
$this->open("active-controls/index.php?page=PopulateActiveList");
$this->verifyTextPresent("Populate active list controls");
$this->assertText("label1", "");
$this->click("button1");
$this->pause(800);
$this->select("list1", "World");
$this->pause(800);
$this->assertText("label1", "list1: World");
$this->click("button2");
$this->pause(800);
$this->select("list2", "Prado");
$this->pause(800);
$this->assertText("label1", "list2: Prado");
}
}
?>
|