blob: 8dcf7d9a500fd162f7ba2427fc51edac0bbcf3f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
//New Test
class QuickstartImageTestCase extends PradoGenericSelenium2Test
{
function test ()
{
$this->url("../../demos/quickstart/index.php?page=Controls.Samples.TImage.Home&notheme=true&lang=en");
$this->verifyTitle("PRADO QuickStart Sample", "");
//$this->assertElementPresent("//img[contains(@src,'/hello_world.gif') and @alt='']");
$this->assertElementPresent("//img[contains(@src,'/hello_world.gif') and @alt='Hello World!']");
$this->assertTextPresent("Hello World! Hello World! Hello World!", "");
//$this->assertElementPresent("//img[contains(@src,'/hello_world.gif') and @align='baseline']");
//$this->assertElementPresent("//img[contains(@src,'/hello_world.gif') and contains(@longdesc,'HelloWorld.html')]");
}
}
|