From 4422f22094e6cfc8c34e391ab0ec7a3328cbf4cf Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 2 Feb 2006 07:14:06 +0000 Subject: FTest for #27 --- tests/FunctionalTests/protected/pages/Tickets/Ticket_27.page | 4 ++-- tests/FunctionalTests/protected/pages/Tickets/Ticket_27.php | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'tests/FunctionalTests/protected/pages/Tickets') diff --git a/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.page b/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.page index 098051fb..f92511c7 100644 --- a/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.page +++ b/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.page @@ -3,11 +3,11 @@ + ValidationGroup="Group2" /> diff --git a/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.php b/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.php index 2c4e1bfb..05483535 100644 --- a/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.php +++ b/tests/FunctionalTests/protected/pages/Tickets/Ticket_27.php @@ -12,6 +12,13 @@ class Ticket_27_TestCase extends SeleniumTestCase function test() { $this->open($this->getPage($this)); + $this->verifyTitle("Verifying Ticket 27", ""); + $this->click("//input[@value='Agree']", ""); + $this->assertVisible("ctl0_Content_validator1", ""); + $this->type("ctl0_Content_TextBox", "122"); + $this->assertNotVisible("ctl0_Content_validator1", ""); + $this->clickAndWait("//input[@value='Disagree']", ""); + $this->assertNotVisible("ctl0_Content_validator1", ""); } } -- cgit v1.2.3