blob: 8b2d36b351514712a175c2eb42a0ae25f9d64481 (
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 PradoGenericSeleniumTest
{
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");
}
}
|