blob: 07afd06cb39dd22b4114136d40e44fbf8d0e99d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
class Issue120TestCase extends SeleniumTestCase
{
function test()
{
$this->open('tickets/index.php?page=Issue120');
$this->assertTextPresent('TActiveDropDownList PromptValue Test');
$this->assertSelectedIndex("ctl0_Content_ddl1", 0);
$this->assertSelectedValue("ctl0_Content_ddl1", 'PromptValue');
$this->click("ctl0_Content_btn1");
$this->pause(800);
$this->assertSelectedIndex("ctl0_Content_ddl1", 0);
$this->assertSelectedValue("ctl0_Content_ddl1", 'PromptValue');
}
}
?>
|