Comment 1 for bug 627479

Revision history for this message
Removed by request (removed303009) wrote : Re: [Bug 627479] [NEW] evalJavaScript throws com.thoughtworks.selenium.SeleniumException

eda qa can do the fix from home, he s familiar with the problem.

Sent from my iPhone

On Aug 31, 2010, at 17:47, Oliver Raileanu <email address hidden> wrote:

> Public bug reported:
>
> Call of evalJavaScript 345.5; in a test unit shows the followng error:
>
> ####20100831174152:13:684aa38de33144398ceddde4a6cf2260:16886931:CMDDONE ( true )
> ####20100831174152:14:684aa38de33144398ceddde4a6cf2260:16886931:CMDINIT ( [getString, getEval, function evalAndEncode() { result = window.eval('345.5;');resultType = typeof result;return resultType + ':' + result;} evalAndEncode();] )
> ####20100831174152:15:684aa38de33144398ceddde4a6cf2260:16886931:CMDERROR ( [getString, getEval, function evalAndEncode() { result = window.eval('345.5;');resultType = typeof result;return resultType + ':' + result;} evalAndEncode();], com.thoughtworks.selenium.SeleniumException: ERROR: Threw an exception: function eval must be called directly, and not by way of a function of another name,
>
> ** Affects: testplan
> Importance: Undecided
> Status: New
>
> --
> evalJavaScript throws com.thoughtworks.selenium.SeleniumException
> https://bugs.launchpad.net/bugs/627479
> You received this bug notification because you are a member of TestPlan
> Team, which is subscribed to TestPlan.