blob: 04b9fe576d0b23250007faeaa7eed4ae0eb659f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
class Ticket586TestCase extends PradoGenericSeleniumTest
{
function test()
{
$base = 'ctl0_Content_';
$this->open('tickets/index.php?page=Ticket586');
$this->verifyTitle("Verifying Ticket 586", "");
$this->assertText("{$base}label1", "Status");
$this->clickAndWait("{$base}button1");
$this->assertText("{$base}label1", "Button 1 Clicked!");
$this->type("{$base}text1", "testing");
$this->keyDownAndWait("{$base}text1", '\13');
$this->assertText("{$base}label1", "Button 2 (default) Clicked!");
}
}
|