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