blob: b0950cbc5e6a6fadffab03fecf800b7c7a141d2f (
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
|
<?php
class TextBoxGroupValidationTestCase extends SeleniumTestCase
{
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(500);
$this->assertValue('City', 'City: Sydney Zip: 2000');
}
}
?>
|