diff options
Diffstat (limited to 'tests/FunctionalTests/selenium/php/selenium.php')
| -rw-r--r-- | tests/FunctionalTests/selenium/php/selenium.php | 7 | 
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); | 
