From 2b90f0d2a6ce4c17dde8f69cb8b9d9f9757707b7 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 10 Dec 2005 12:14:53 +0000 Subject: Adding Hangman game functional test. --- tests/FunctionalTests/framework/Demos/testControls.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/FunctionalTests/framework/Demos/testControls.php') diff --git a/tests/FunctionalTests/framework/Demos/testControls.php b/tests/FunctionalTests/framework/Demos/testControls.php index c55f3618..49f8e99e 100644 --- a/tests/FunctionalTests/framework/Demos/testControls.php +++ b/tests/FunctionalTests/framework/Demos/testControls.php @@ -7,10 +7,10 @@ class testControls extends SeleniumTestCase $this->open('../../demos/controls/index.php'); } - function testIndexPage() + function testControlSamples() { $this->assertTextPresent("Welcome! Guest"); - $this->clickAndWait('ctl0$header$ctl15'); + $this->clickAndWait('//input[@value="Toggle Button"]'); $this->assertTextPresent("Login"); } } \ No newline at end of file -- cgit v1.2.3