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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<?php
require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
class PradoGenericSeleniumTest extends PHPUnit_Extensions_SeleniumTestCase
{
public static $browsers = array(
/*
array(
'name' => 'Firefox on OSX',
'browser' => '*firefox',
'host' => '127.0.0.1',
'port' => 4444,
'timeout' => 30000,
),
array(
'name' => 'Chrome on OSX',
'browser' => '*chrome',
'host' => '127.0.0.1',
'port' => 4444,
'timeout' => 30000,
),
array(
'name' => 'Internet Explorer 11 on Windows8.1',
'browser' => '*iexplore',
'host' => '192.168.253.39',
'port' => 4444,
),
*/
array(
'name' => 'Internet Explorer 8 on WindowsXP',
'browser' => '*iehta',
'host' => '127.0.0.1',
'port' => 4444,
)
);
static $baseurl='http://10.0.2.2/prado-master/tests/FunctionalTests/';
protected function setUp()
{
// $this->shareSession(true);
$this->setBrowserUrl(static::$baseurl);
}
protected function tearDown()
{
}
}
|