blob: dda3f63bf03b575040da50888446d65e9ca83a6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/*
* Created on 28/04/2006
*/
class CompositeControlTestCase extends SeleniumTestCase
{
function test()
{
$base = "ctl0_Content_";
$this->open("features/index.php?page=CompositeControl", "");
$this->verifyTextPresent("Composite Control Test", "");
$this->type("{$base}user_textbox", "Hello");
$this->type("{$base}pass_textbox", "world");
$this->clickAndWait("//input[@type='submit' and @value='Submit']", "");
$this->verifyTextPresent("Result", "");
$this->verifyTextPresent("User: Hello Pass: world", "");
}
}
?>
|