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