blob: 47330326f9c8b69fe1f76b4a95eedc15f3e791fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
class Ticket578TestCase extends PradoGenericSeleniumTest
{
function test()
{
$base = 'ctl0_Content_';
$this->open('tickets/index.php?page=Ticket578');
$this->verifyTitle("Verifying Ticket 578", "");
$this->assertText("{$base}label1", "Label 1");
$this->click("{$base}button1", "");
$this->pause(800);
$this->assertText("{$base}label1", "Button 1 was clicked : ");
$text="helloworld";
$this->runScript("tinyMCE.get('{$base}text1').setContent('{$text}')");
$this->click("{$base}button1", "");
$this->pause(800);
$this->assertText("{$base}label1", "exact:Button 1 was clicked : <p>{$text}</p>");
}
}
|