blob: e8c0f612a0f79256bf771659d34471be9663b624 (
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 Ticket225TestCase extends SeleniumTestCase
{
function test()
{
//problem with test runner clicking on radio buttons
$this->skipBrowsers(self::OPERA);
$base="ctl0_Content_";
$this->open('tickets/index.php?page=Ticket225');
$this->assertTextPresent('RadioButton Group Tests');
$this->assertText("{$base}label1", "Label 1");
$this->assertNotVisible("{$base}validator1");
$this->click("{$base}button4");
$this->assertVisible("{$base}validator1");
$this->click("{$base}button2");
$this->clickAndWait("{$base}button4");
$this->assertText("{$base}label1", 'ctl0$Content$button1 ctl0$Content$button2 ctl0$Content$button3');
$this->assertNotVisible("{$base}validator1");
}
}
?>
|