blob: ffc1ac7283b54b02e35272e60b4e6b0df0384fec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
class TextBoxGroupValidationTestCase extends PradoGenericSeleniumTest
{
function test()
{
$this->open("active-controls/index.php?page=TextBoxValidationCallback");
$this->assertTextPresent('TextBox AutoPostBack With Group Validation');
$this->assertNotVisible('validator1');
$this->type('ZipCode', 'test');
$this->assertVisible('validator1');
$this->type('Address', 'Sydney');
$this->type('ZipCode', '2000');
$this->assertNotVisible('validator1');
$this->pause(800);
$this->assertValue('City', 'City: Sydney Zip: 2000');
}
}
|