blob: 7453aeeff8d1fc6f97e4532f8f8d068a4c9e4df0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
class Ticket121TestCase extends SeleniumTestCase
{
function test()
{
$this->open('tickets/index.php?page=Ticket121');
$this->type("ctl0\$Content\$FooTextBox", "");
$this->verifyNotVisible('ctl0_Content_ctl1');
$this->click("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
$this->verifyVisible('ctl0_Content_ctl1');
$this->type("ctl0\$Content\$FooTextBox", "content");
$this->clickAndWait("//input[@type='image' and @id='ctl0_Content_ctl0']", "");
$this->verifyNotVisible('ctl0_Content_ctl1');
$this->verifyTextPresent("clicked at", "");
}
}
?>
|