blob: a6f823bc5c988829b8bdf1c1b2718b4caaf4fb57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?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->clickAndWait('ctl0$Content$DataGrid$ctl1$ctl3');
$this->type($base.'DataGrid_ctl1_TextBox', '');
$this->click($base.'DataGrid_ctl1_ctl3');
$this->clickAndWait('ctl0$Content$DataGrid$ctl1$ctl4');
$this->assertText($base.'CommandName', 'cancel');
}
}
|