blob: e32e58bf85be257a5c5f4052107b5936c69cdeca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?php
/**
*
*/
class Ticket290TestCase extends SeleniumTestCase
{
function test()
{
$base = 'ctl0_Content_';
$this->open('tickets/index.php?page=Ticket290');
$this->assertTitle("Verifying Ticket 290");
$this->assertText("{$base}label1", "Label 1");
$this->assertText("{$base}label2", "Label 2");
$this->type("{$base}textbox1", "test");
$this->keyDownAndWait("{$base}textbox1", "\\13");
$this->assertText("{$base}label1", "Doing Validation");
$this->assertText("{$base}label2", "Button 2 (default) Clicked!");
}
}
?>
|