summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/selenium/php/selenium.php
diff options
context:
space:
mode:
authorxue <>2006-03-13 02:38:47 +0000
committerxue <>2006-03-13 02:38:47 +0000
commit7770c298450237e092d6d801fd547609ba2db230 (patch)
treeddc92889b2f10256f59a4024f5bed5cc01d73bdf /tests/FunctionalTests/selenium/php/selenium.php
parent6ae6538555d45b3e947f5ce0d948d9b88d95364a (diff)
TDataFieldAccessor can access public member variables now. Added implementation to cope with low PHP versions.
Diffstat (limited to 'tests/FunctionalTests/selenium/php/selenium.php')
-rw-r--r--tests/FunctionalTests/selenium/php/selenium.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/FunctionalTests/selenium/php/selenium.php b/tests/FunctionalTests/selenium/php/selenium.php
index 4b36b8c2..4a4c6e19 100644
--- a/tests/FunctionalTests/selenium/php/selenium.php
+++ b/tests/FunctionalTests/selenium/php/selenium.php
@@ -113,8 +113,8 @@ class SeleneseInterpreter
{
if($func{0} == '_') return;
$ID = isset($args[0]) ? $args[0] : "";
- if($ID instanceof TControl)
- $ID = $ID->ClientID;
+ //if($ID instanceof TControl)
+ // $ID = $ID->ClientID;
$value = isset($args[1]) ? $args[1] : "";
if(strpos(strtolower($func),'htmlpresent') || strpos(strtolower($func),'htmlnotpresent'))
$ID = htmlspecialchars($ID);
@@ -150,11 +150,12 @@ class SeleniumTestTrace
$name = $test[$i-2].'::'.$test[$i-1];
$suite = $test[0];
unset($info['object']);
+ /*
for($i = 0; $i < count($info['args']); $i++)
{
if($info['args'][$i] instanceof TControl)
$info['args'][$i] = $info['args'][$i]->ClientID;
- }
+ }*/
$file = str_replace($this->root, '', $info['file']);
$info['file'] = substr($file, 1);
return array($info, $name, $suite);