blob: d497e915d3ee2dfd61f6cacb63caeb99de71edb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
class ActiveImageButtonTestCase extends SeleniumTestCase
{
function test()
{
$this->open("active-controls/index.php?page=ActiveImageButtonTest");
$this->assertTextPresent("TActiveImageButton Functional Test");
$this->assertText("label1", "Label 1");
$this->click("image1");
$this->pause(800);
//unable to determine mouse position
$this->assertTextPresent("regexp:Image clicked at x=\d+, y=\d+");
}
}
?>
|