blob: d5c8b4f0cc51c28b5567e2c02ea142f1a8be1b3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
class ActiveControlExpressionTagTestCase extends PradoGenericSelenium2Test
{
function test()
{
$base='ctl0_Content_';
$this->url('active-controls/index.php?page=ActiveControlExpressionTag');
$this->assertTextPresent('Active Control With Expression Tag Test');
$this->assertTextNotPresent('Text box content:');
$this->type("{$base}textbox1", 'Hello world');
$this->click("{$base}button1");
$this->pause(800);
$this->assertText("repeats", 'result - 1 result - two');
$this->assertText("contents", 'Text box content: Hello world');
}
}
|