blob: cbcb7bb2c686ed1525b876354825ed3337ec9791 (
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 Ticket585TestCase extends SeleniumTestCase
{
function test()
{
$base = 'ctl0_Content_';
$this->open('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");
}
}
?>
|