blob: 53e8e048374f410bfacdb6b22cbc1cc2b8f54b25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
class Ticket900TestCase extends PradoGenericSelenium2Test
{
function test()
{
$this->url('tickets/index.php?page=Ticket900');
$this->assertEquals($this->title(), "Verifying Ticket 900");
$base = 'ctl0_Content_';
$this->byName('ctl0$Content$DataGrid$ctl1$ctl3')->click();
$this->pause(50);
$this->type($base.'DataGrid_ctl1_TextBox', '');
$this->byId($base.'DataGrid_ctl1_ctl3')->click();
$this->pause(50);
$this->byName('ctl0$Content$DataGrid$ctl1$ctl4')->click();
$this->pause(50);
$this->assertText($base.'CommandName', 'cancel');
}
}
|