blob: 0fa0c982af99f262b1c337406b05c4c6ab73aa9a (
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(800);
$this->assertValue('City', 'City: Sydney Zip: 2000');
}
}
?>
|