blob: 79791444681fce47a4dae185468151aceb478c5f (
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
28
29
30
31
32
|
<?php
class Ticket528TestCase extends SeleniumTestCase
{
function test()
{
$base = 'ctl0_Content_';
$this->open('tickets/index.php?page=Ticket528');
$this->assertTitle("Verifying Ticket 528");
$this->select("{$base}DDropTurno", "Tarde");
$this->pause(800);
$this->assertValue("{$base}Codigo", "T");
$this->assertValue("{$base}Descricao", "Tarde");
$this->select("{$base}DDropTurno", "Manhã");
$this->pause(800);
$this->assertValue("{$base}Codigo", "M");
$this->assertValue("{$base}Descricao", "Manhã");
$this->select("{$base}DDropTurno", "Noite");
$this->pause(800);
$this->assertValue("{$base}Codigo", "N");
$this->assertValue("{$base}Descricao", "Noite");
}
}
?>
|