blob: 7fb24d047f3065a294e6287a07f82954f9c619c1 (
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
|
<?php
class Ticket528TestCase extends PradoGenericSelenium2Test
{
function test()
{
$base = 'ctl0_Content_';
$this->url('tickets/index.php?page=Ticket528');
$this->assertEquals($this->title(), "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");
}
}
|