summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorwei <>2006-06-01 02:13:12 +0000
committerwei <>2006-06-01 02:13:12 +0000
commitcb78694cabf07515a097c44ef68e6d1df3fccf17 (patch)
treebefe6ef17d8bcd8d35319d887f40b51dd409816a /tests
parent631bf1089dc00225b2b25acbd50b09df30f9c043 (diff)
Allow validation summary to function alone.
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/selenium/php/TestRunner.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/FunctionalTests/selenium/php/TestRunner.php b/tests/FunctionalTests/selenium/php/TestRunner.php
index 95e2d5ca..9bb5ada3 100644
--- a/tests/FunctionalTests/selenium/php/TestRunner.php
+++ b/tests/FunctionalTests/selenium/php/TestRunner.php
@@ -47,10 +47,19 @@ Copyright 2004 ThoughtWorks, Inc
var autFrame = document.getElementById('myiframe');
var autFrameDocument = getIframeDocument(autFrame);
this.rootDocument = autFrameDocument;
- var domViewer = window.open(getDocumentBase(document) + 'domviewer/domviewer.html');
+ var domViewer = window.open('<?php echo $base_dir; ?>core/domviewer/domviewer.html');
return false;
}
+ Logger.prototype.openLogWindow = function()
+ {
+ this.logWindow = window.open(
+ "<?php echo $base_dir; ?>core/SeleniumLog.html", "SeleniumLog",
+ "width=600,height=250,bottom=0,right=0,status,scrollbars,resizable"
+ );
+ return this.logWindow;
+ }
+
var post_results_to = "<?php echo $driver; ?>";
</script>