summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket708TestCase.php
blob: 87509b29299b4003ea19ca07789a660744ba9509 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
class Ticket708TestCase extends PradoGenericSeleniumTest
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->open('tickets/index.php?page=Ticket708');
		$this->assertTitle("Verifying Ticket 708");
		
		$this->click($base."grid_ctl1_RadioButton");
		$this->pause(800);
		$this->assertText($base."Result", "You have selected Radio Button #1");
		
		$this->click($base."grid_ctl2_RadioButton");
		$this->pause(800);
		$this->assertText($base."Result", "You have selected Radio Button #2");
		
		$this->click($base."grid_ctl3_RadioButton");
		$this->pause(800);
		$this->assertText($base."Result", "You have selected Radio Button #3");
		
		$this->click($base."grid_ctl4_RadioButton");
		$this->pause(800);
		$this->assertText($base."Result", "You have selected Radio Button #4");
	}

}