summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/tests/Ticket900TestCase.php
blob: 3ec69873a69ed01312f40ffeed8118b6383c9bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

class Ticket900TestCase extends PradoGenericSeleniumTest
{
	function test()
	{
		$this->open('tickets/index.php?page=Ticket900');
		$this->assertTitle("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');
	}
}