blob: 0c6945ba6f56afebc422b4ba2e7bde5a5dc32034 (
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->assertContains('TActiveDropDownList PromptValue Test', $this->source());
$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');
}
}
|