blob: 3c5a54575ebbb857d58cbf92a4580a166231728e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
class EventTriggerTestCase extends PradoGenericSelenium2Test
{
function test()
{
$base = "ctl0_Content_";
$this->url("active-controls/index.php?page=EventTriggeredCallback");
$this->assertSourceContains("Event Triggered Callback Test");
$this->assertText("{$base}label1", 'Label 1');
$this->byId("button1")->click();
$this->pause(800);
$this->assertText("{$base}label1", 'button 1 clicked');
$this->byId("{$base}text1")->value('test');
$this->pause(800);
$this->assertText("{$base}label1", 'text 1 focused');
}
}
|