diff options
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Tickets/Ticket_21.php')
-rw-r--r-- | tests/FunctionalTests/protected/pages/Tickets/Ticket_21.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/FunctionalTests/protected/pages/Tickets/Ticket_21.php b/tests/FunctionalTests/protected/pages/Tickets/Ticket_21.php deleted file mode 100644 index 7a9e3519..00000000 --- a/tests/FunctionalTests/protected/pages/Tickets/Ticket_21.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php
-
-class Ticket_21 extends TPage
-{
- public function onLoad($param)
- {
- parent::onLoad($param);
-
- if(!$this->IsPostBack)
- $this->setViewState("clicks", 0);
- }
-
- public function doClick($sender, $param)
- {
- $clicks = $this->getViewState("clicks");
- $clicks++;
- $this->label1->setText("Radio button clicks: $clicks");
- $this->setViewState("clicks", $clicks);
- }
-}
-
-class Ticket_21_TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open(Prado::getApplication()->getTestPage(__FILE__));
- $this->assertTitle("Verifying Ticket 21");
- $this->clickAndWait("ctl0_Content_button1");
- $this->verifyTextPresent("Radio button clicks: 1", "");
- $this->click("ctl0_Content_button1");
- $this->verifyTextPresent("Radio button clicks: 1", "");
-
- }
-}
-
-?>
-
|