summaryrefslogtreecommitdiff
path: root/tests/test_tools/selenium/php
diff options
context:
space:
mode:
authorwei <>2007-03-25 23:19:26 +0000
committerwei <>2007-03-25 23:19:26 +0000
commit9e52d1ddac7fd4e54c0744a00aae6786081267af (patch)
tree9ca408975a9a7c9f623e874d7804e6d2fb82975c /tests/test_tools/selenium/php
parentc9c31d6edb91e22c56ffab3772ce8a29b1480537 (diff)
Update Selenium to 0.8.2
Diffstat (limited to 'tests/test_tools/selenium/php')
-rw-r--r--tests/test_tools/selenium/php/TestRunner.php3
-rw-r--r--tests/test_tools/selenium/php/selenium.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_tools/selenium/php/TestRunner.php b/tests/test_tools/selenium/php/TestRunner.php
index 54e46647..ec2e32d3 100644
--- a/tests/test_tools/selenium/php/TestRunner.php
+++ b/tests/test_tools/selenium/php/TestRunner.php
@@ -29,13 +29,13 @@ to work-around a bug in IE on Win2K whereby the HTA application doesn't function
<script type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/narcissus-defs.js"></script>
<script type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/narcissus-parse.js"></script>
<script type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/narcissus-exec.js"></script>
+ <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/htmlutils.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/lib/prototype.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/lib/scriptaculous/scriptaculous.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/lib/cssQuery/cssQuery-p.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-browserdetect.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-browserbot.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/find_matching_child.js"></script>
- <script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/htmlutils.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-api.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-commandhandlers.js"></script>
<script language="JavaScript" type="text/javascript" src="<?php echo $base_dir; ?>core/scripts/selenium-executionloop.js"></script>
@@ -49,6 +49,7 @@ to work-around a bug in IE on Win2K whereby the HTA application doesn't function
<script language="JavaScript" type="text/javascript">
var post_results_to = "<?php echo $driver; ?>";
+ var script_base_url = "<?php echo $base_dir; ?>";
</script>
</head>
diff --git a/tests/test_tools/selenium/php/selenium.php b/tests/test_tools/selenium/php/selenium.php
index c9d403f1..474c0d6d 100644
--- a/tests/test_tools/selenium/php/selenium.php
+++ b/tests/test_tools/selenium/php/selenium.php
@@ -142,7 +142,7 @@ class SeleneseInterpreter
$command = array($func, $ID, $value);
if(is_int(strpos(strtolower($func), 'visible')))
- $this->addCommand(array('pause','500',''),$trace);
+ $this->addCommand(array('pause','250',''),$trace);
return $this->addCommand($command, $trace);
}