blob: 86768354f35496dc630eb65b31ec707652bb1f3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
class Ticket205TestCase extends PradoGenericSeleniumTest
{
function test()
{
$base = 'ctl0_Content_';
$this->open("tickets/index.php?page=Ticket205");
$this->assertTitle("Verifying Ticket 205");
$this->assertNotVisible("{$base}validator1");
$this->type("{$base}textbox1", "test");
$this->click("{$base}button1");
$this->assertAlert("error");
$this->assertVisible("{$base}validator1");
$this->type("{$base}textbox1", "Prado");
$this->clickAndWait("{$base}button1");
$this->assertNotVisible("{$base}validator1");
}
}
|