blob: 8587415ec68dd94764f711da053f8f04db6f4431 (
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->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');
}
}
|