Note that there are some explanatory texts on larger screens.

plurals
  1. POSelenium RC - t.replace is not a function
    primarykey
    data
    text
    <p>[edit for godman] I am working on a web based application, written in PHP. I am using Selenium RC to run tests on the webpages produced by this application, through a browser.</p> <p>I just upgraded to Firefox 14, so I had to upgrade to Selenium RC 2.25.0.</p> <p>Now I'm seeing this error when running a test with htmlSuite:</p> <blockquote> <p>Command execution failure. Please search the user group at <a href="https://groups.google.com/forum/#!forum/selenium-users" rel="nofollow">https://groups.google.com/forum/#!forum/selenium-users</a> for error details from the log window. The error message is: t.replace is not a function</p> </blockquote> <p>The command executed is: </p> <pre><code>clickAndWait //a[text()='! selenium test customer'] </code></pre> <p>As you can see, it's not doing anything too tricky - just clicking a link. The test runs fine in the IDE, it's just when run via RC that it's a problem.</p> <p>Searching in the groups revealed only really old threads dating back to version 1 of selenium. Any ideas anyone?</p> <p>[edit] I've been running the test that has these problems several times a day for the last week - and it doesn't seem to fail like this every time. This looks like it's a random problem. Has anyone seen this happen before?</p> <p>[edit after the bounty got me no answers] Another example of it failing is with:</p> <pre><code>clickAndWait css=a.edit_company </code></pre> <p>This same call works fine earlier in the same test, on the same page.</p> <p>[edit] Now I'm seeing the same error with a completely separate command:</p> <pre><code>type id=Address1 Address1 </code></pre> <p>Does anyone have any suggestions about this? Any way I can even debug what's going on (I don't see this in the IDE at all)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload