blob: 5a9dd8d4a95e895ae1234a623bb377be3cbc8100 (
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 Ticket585TestCase extends PradoGenericSelenium2Test
{
function test()
{
$base = 'ctl0_Content_';
$this->url('tickets/index.php?page=Ticket585');
$this->verifyTitle("Verifying Ticket 585", "");
$this->assertText("error", "");
$this->assertNotVisible("{$base}validator1");
$this->click("{$base}button1");
$this->pause(800);
$this->assertText("error", "Success");
$this->assertNotVisible("{$base}validator1");
$this->type("{$base}test", "15-03-2007");
$this->click("{$base}button1");
$this->pause(800);
$this->assertText("error", "Error");
$this->assertVisible("{$base}validator1");
}
}
|