blob: a8795de54a63940a2cfb77132e8bae4fb8f79408 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
class ActiveButtonTestCase extends SeleniumTestCase
{
function test()
{
$this->open("active-controls/index.php?page=ActiveButtonTest");
$this->verifyTextPresent("TActiveButton Functional Test");
$this->assertText("label1", "Label 1");
$this->click("button2");
$this->pause(800);
$this->assertText("label1", "Button 1 was clicked using callback!");
}
}
?>
|