summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket708TestCase.php
blob: b10b070a2d8b523135486a08c7cf508081cbedae (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 PradoGenericSelenium2Test
{
	function test()
	{
		$base = 'ctl0_Content_';
		$this->url('tickets/index.php?page=Ticket708');
		$this->assertEquals($this->title(), "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");
	}

}