blob: 05483535252938acb04ca88a66d72f322817c449 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
class Ticket_27 extends TPage
{
}
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", "");
}
}
?>
|