blob: 905a31a4daf69e2e3bd0a5a242e4fda07c9f808f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
class Ticket121TestCase extends PradoGenericSeleniumTest
{
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", "");
}
}
|