blob: 68c94b036e0305e00f0a87a8d7d1a68fb0a1d1d8 (
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
|
<?php
class Ticket507TestCase extends PradoGenericSelenium2Test
{
function test()
{
$base='ctl0_Content_';
$this->url('tickets/index.php?page=Ticket507');
$this->assertEquals("Verifying Ticket 507", $this->title());
$this->assertText("{$base}label1", "Label 1");
$this->byId("{$base}button1")->click();
$this->pause(800);
$this->select("{$base}list1", "item 1");
$this->pause(800);
$this->assertText("{$base}label1", "Selection: value 1");
$this->addSelection("{$base}list1", "item 3");
$this->pause(800);
$this->assertText("{$base}label1", "Selection: value 1, value 3");
}
}
|