summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Issue120TestCase.php
blob: 20a4096b981a093861f8c6c1e4776781ec94232d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

class Issue120TestCase extends PradoGenericSeleniumTest
{
	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');
	}
}