diff options
author | wei <> | 2007-04-02 07:11:06 +0000 |
---|---|---|
committer | wei <> | 2007-04-02 07:11:06 +0000 |
commit | 36ef6f1b680ff1ea525a293c3464f0dedad11c1f (patch) | |
tree | 1ee8ed8eb15c0c488c1c17bc6dfbf1380a1ca02b /tests/FunctionalTests/tickets/tests | |
parent | df5a516f7e2098f9769ddbacd6b4d8c4c1d48aab (diff) |
Add testcase #290
Diffstat (limited to 'tests/FunctionalTests/tickets/tests')
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket290TestCase.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/tests/Ticket290TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket290TestCase.php new file mode 100644 index 00000000..e32e58bf --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket290TestCase.php @@ -0,0 +1,26 @@ +<?php + +/** +* +*/ +class Ticket290TestCase extends SeleniumTestCase +{ + function test() + { + $base = 'ctl0_Content_'; + $this->open('tickets/index.php?page=Ticket290'); + $this->assertTitle("Verifying Ticket 290"); + + $this->assertText("{$base}label1", "Label 1"); + $this->assertText("{$base}label2", "Label 2"); + + $this->type("{$base}textbox1", "test"); + $this->keyDownAndWait("{$base}textbox1", "\\13"); + + $this->assertText("{$base}label1", "Doing Validation"); + $this->assertText("{$base}label2", "Button 2 (default) Clicked!"); + } +} + + +?>
\ No newline at end of file |