summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/tests/ValueTriggerCallbackTestCase.php
blob: 5113cc92bf1090e8125424d928759dbdf5dc69a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

class ValueTriggerTestCase extends PradoGenericSeleniumTest
{
	function test()
	{
		$this->open("active-controls/index.php?page=ValueTriggerCallbackTest");
		$this->verifyTextPresent("Value Trigger Callback Test");

		$this->assertText('label1', 'Label 1');

		$this->type('text1', 'test');
		$this->pause(2000);
		$this->assertText('label1', 'Old = : New Value = test');

		$this->type('text1', 'more');
		$this->pause(3000);
		$this->assertText('label1', 'Old = test : New Value = more');
	}
}