Selenium IDE 2.9.1 in Firefox: Unexpected Exception

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Selenium IDE 2.9.1 in Firefox: Unexpected Exception

Kenneth Johnson
I have successfully used the Selenium IDE with Mozilla Firefox for Windows for about four years to perform simple tests of a small corporate website after software upgrades. My procedure has been to apply the upgrades to my test environment, then run a Selenium test suite. If it passes, repeat both steps for the live site.  Most of the tests are 'Open a page, verify limited content'; a few require very limited input from the test operator.

This week it happened that some software upgrades dropped shortly after a successful run of the tests against the live site. I applied the upgrades to the test environment, and ran the test suite. There were several unexpected errors. I tried running the test suite against the live site, (no site changes since last pass), and that failed too.

My current Firefox version is 51.0 (32-bit). It seems quite possible that version has changed since the last successful run of the tests against the live site.  In the past, this process has kept working through many Firefox updates.

Here's the error text:

"[error] Unexpected Exception: Error: cross-process JS call failed"

For background, here's the simplest test case I have found that reproduces this error:

Start Firefox with one tab open to the Mozilla Firefox Start Page.

Select Selenium IDE from the Tools menu.

Open the script shown below.

Run the script.

I request advice from Selenium users more advanced/experienced than I.  If there is a known easy fix, point me at it.  If not, I request pointers for how I might use other parts of the Selenium toolkit (which I have not previously explored) to get a similar job done.  I am competent in Python if that helps.

Thanks,

Ken

=====


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="https://www.google.com/" />
<title>Google Search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Google Search</td></tr>
</thead><tbody>
<!-- Simple test case-->
<tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>storeEval</td>
    <td>prompt(&quot;Enter your search term&quot;)</td>
    <td>searchTerm</td>
</tr>
<tr>
    <td>type</td>
    <td>name=q</td>
    <td>${searchTerm}</td>
</tr>
</tbody></table>
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9e1c9e16-4242-4842-823d-6dec47efef72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

Mariusz Purwin
Hi,

We had same problem. SeleniumIDE: Flow Control solved our problem.
Could you install it?

 https://addons.mozilla.org/pl/firefox/addon/flow-control/


W dniu czwartek, 26 stycznia 2017 05:25:14 UTC+1 użytkownik Kenneth Johnson napisał:
I have successfully used the Selenium IDE with Mozilla Firefox for Windows for about four years to perform simple tests of a small corporate website after software upgrades. My procedure has been to apply the upgrades to my test environment, then run a Selenium test suite. If it passes, repeat both steps for the live site.  Most of the tests are 'Open a page, verify limited content'; a few require very limited input from the test operator.

This week it happened that some software upgrades dropped shortly after a successful run of the tests against the live site. I applied the upgrades to the test environment, and ran the test suite. There were several unexpected errors. I tried running the test suite against the live site, (no site changes since last pass), and that failed too.

My current Firefox version is 51.0 (32-bit). It seems quite possible that version has changed since the last successful run of the tests against the live site.  In the past, this process has kept working through many Firefox updates.

Here's the error text:

"[error] Unexpected Exception: Error: cross-process JS call failed"

For background, here's the simplest test case I have found that reproduces this error:

Start Firefox with one tab open to the Mozilla Firefox Start Page.

Select Selenium IDE from the Tools menu.

Open the script shown below.

Run the script.

I request advice from Selenium users more advanced/experienced than I.  If there is a known easy fix, point me at it.  If not, I request pointers for how I might use other parts of the Selenium toolkit (which I have not previously explored) to get a similar job done.  I am competent in Python if that helps.

Thanks,

Ken

=====


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;">http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="<a href="http://selenium-ide.openqa.org/profiles/test-case" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;">http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="<a href="https://www.google.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/&#39;;return true;" onclick="this.href=&#39;https://www.google.com/&#39;;return true;">https://www.google.com/" />
<title>Google Search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Google Search</td></tr>
</thead><tbody>
<!-- Simple test case-->
<tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>storeEval</td>
    <td>prompt(&quot;Enter your search term&quot;)</td>
    <td>searchTerm</td>
</tr>
<tr>
    <td>type</td>
    <td>name=q</td>
    <td>${searchTerm}</td>
</tr>
</tbody></table>
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/9c2d2d50-8e6d-4a1b-9839-6bab7aa3de86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

Jeffrey Smith
Hi Mariusz,

WOW! Talk about timing. You are a life saver. I've been stressing over this exact same issue for a day and a half. Was just about to submit an issue to Selenium when I cam across this. Tried it and, VOILA! Everything is working again. Just want to say think and your answer is much appreciated.

Thanks,
-jt

On Sunday, January 29, 2017 at 11:29:11 PM UTC-8, Mariusz Purwin wrote:
Hi,

We had same problem. SeleniumIDE: Flow Control solved our problem.
Could you install it?

 <a href="https://addons.mozilla.org/pl/firefox/addon/flow-control/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Faddons.mozilla.org%2Fpl%2Ffirefox%2Faddon%2Fflow-control%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF_wRNKlj2C26XanVnOnq9EdDZ5ig&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Faddons.mozilla.org%2Fpl%2Ffirefox%2Faddon%2Fflow-control%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF_wRNKlj2C26XanVnOnq9EdDZ5ig&#39;;return true;">https://addons.mozilla.org/pl/firefox/addon/flow-control/


W dniu czwartek, 26 stycznia 2017 05:25:14 UTC+1 użytkownik Kenneth Johnson napisał:
I have successfully used the Selenium IDE with Mozilla Firefox for Windows for about four years to perform simple tests of a small corporate website after software upgrades. My procedure has been to apply the upgrades to my test environment, then run a Selenium test suite. If it passes, repeat both steps for the live site.  Most of the tests are 'Open a page, verify limited content'; a few require very limited input from the test operator.

This week it happened that some software upgrades dropped shortly after a successful run of the tests against the live site. I applied the upgrades to the test environment, and ran the test suite. There were several unexpected errors. I tried running the test suite against the live site, (no site changes since last pass), and that failed too.

My current Firefox version is 51.0 (32-bit). It seems quite possible that version has changed since the last successful run of the tests against the live site.  In the past, this process has kept working through many Firefox updates.

Here's the error text:

"[error] Unexpected Exception: Error: cross-process JS call failed"

For background, here's the simplest test case I have found that reproduces this error:

Start Firefox with one tab open to the Mozilla Firefox Start Page.

Select Selenium IDE from the Tools menu.

Open the script shown below.

Run the script.

I request advice from Selenium users more advanced/experienced than I.  If there is a known easy fix, point me at it.  If not, I request pointers for how I might use other parts of the Selenium toolkit (which I have not previously explored) to get a similar job done.  I am competent in Python if that helps.

Thanks,

Ken

=====


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;">http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="<a href="http://selenium-ide.openqa.org/profiles/test-case" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;">http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="<a href="https://www.google.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/&#39;;return true;" onclick="this.href=&#39;https://www.google.com/&#39;;return true;">https://www.google.com/" />
<title>Google Search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Google Search</td></tr>
</thead><tbody>
<!-- Simple test case-->
<tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>storeEval</td>
    <td>prompt(&quot;Enter your search term&quot;)</td>
    <td>searchTerm</td>
</tr>
<tr>
    <td>type</td>
    <td>name=q</td>
    <td>${searchTerm}</td>
</tr>
</tbody></table>
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/0c4dc7a1-9277-46c5-b286-777ffe895ebb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

Kenneth Johnson
In reply to this post by Mariusz Purwin
That fixed it.  Thanks!

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/a0a54644-7332-4474-91de-8814e2ac783c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

Assror Hairudin
In reply to this post by Jeffrey Smith
Yes amazing, it's work, thank you all

On Tuesday, January 31, 2017 at 9:39:01 AM UTC+7, Jeffrey Smith wrote:
Hi Mariusz,

WOW! Talk about timing. You are a life saver. I've been stressing over this exact same issue for a day and a half. Was just about to submit an issue to Selenium when I cam across this. Tried it and, VOILA! Everything is working again. Just want to say think and your answer is much appreciated.

Thanks,
-jt

On Sunday, January 29, 2017 at 11:29:11 PM UTC-8, Mariusz Purwin wrote:
Hi,

We had same problem. SeleniumIDE: Flow Control solved our problem.
Could you install it?

 <a href="https://addons.mozilla.org/pl/firefox/addon/flow-control/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Faddons.mozilla.org%2Fpl%2Ffirefox%2Faddon%2Fflow-control%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF_wRNKlj2C26XanVnOnq9EdDZ5ig&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Faddons.mozilla.org%2Fpl%2Ffirefox%2Faddon%2Fflow-control%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF_wRNKlj2C26XanVnOnq9EdDZ5ig&#39;;return true;">https://addons.mozilla.org/pl/firefox/addon/flow-control/


W dniu czwartek, 26 stycznia 2017 05:25:14 UTC+1 użytkownik Kenneth Johnson napisał:
I have successfully used the Selenium IDE with Mozilla Firefox for Windows for about four years to perform simple tests of a small corporate website after software upgrades. My procedure has been to apply the upgrades to my test environment, then run a Selenium test suite. If it passes, repeat both steps for the live site.  Most of the tests are 'Open a page, verify limited content'; a few require very limited input from the test operator.

This week it happened that some software upgrades dropped shortly after a successful run of the tests against the live site. I applied the upgrades to the test environment, and ran the test suite. There were several unexpected errors. I tried running the test suite against the live site, (no site changes since last pass), and that failed too.

My current Firefox version is 51.0 (32-bit). It seems quite possible that version has changed since the last successful run of the tests against the live site.  In the past, this process has kept working through many Firefox updates.

Here's the error text:

"[error] Unexpected Exception: Error: cross-process JS call failed"

For background, here's the simplest test case I have found that reproduces this error:

Start Firefox with one tab open to the Mozilla Firefox Start Page.

Select Selenium IDE from the Tools menu.

Open the script shown below.

Run the script.

I request advice from Selenium users more advanced/experienced than I.  If there is a known easy fix, point me at it.  If not, I request pointers for how I might use other parts of the Selenium toolkit (which I have not previously explored) to get a similar job done.  I am competent in Python if that helps.

Thanks,

Ken

=====


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;">http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="<a href="http://selenium-ide.openqa.org/profiles/test-case" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;">http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="<a href="https://www.google.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/&#39;;return true;" onclick="this.href=&#39;https://www.google.com/&#39;;return true;">https://www.google.com/" />
<title>Google Search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Google Search</td></tr>
</thead><tbody>
<!-- Simple test case-->
<tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>storeEval</td>
    <td>prompt(&quot;Enter your search term&quot;)</td>
    <td>searchTerm</td>
</tr>
<tr>
    <td>type</td>
    <td>name=q</td>
    <td>${searchTerm}</td>
</tr>
</tbody></table>
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/51f19be2-e08c-4af5-9b5e-2cfbe3d7b9dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

pablo.usertest
In reply to this post by Mariusz Purwin
That worked, thanks!

On Monday, January 30, 2017 at 4:29:11 AM UTC-3, Mariusz Purwin wrote:
Hi,

We had same problem. SeleniumIDE: Flow Control solved our problem.
Could you install it?

 <a href="https://addons.mozilla.org/pl/firefox/addon/flow-control/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Faddons.mozilla.org%2Fpl%2Ffirefox%2Faddon%2Fflow-control%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF_wRNKlj2C26XanVnOnq9EdDZ5ig&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Faddons.mozilla.org%2Fpl%2Ffirefox%2Faddon%2Fflow-control%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF_wRNKlj2C26XanVnOnq9EdDZ5ig&#39;;return true;">https://addons.mozilla.org/pl/firefox/addon/flow-control/


W dniu czwartek, 26 stycznia 2017 05:25:14 UTC+1 użytkownik Kenneth Johnson napisał:
I have successfully used the Selenium IDE with Mozilla Firefox for Windows for about four years to perform simple tests of a small corporate website after software upgrades. My procedure has been to apply the upgrades to my test environment, then run a Selenium test suite. If it passes, repeat both steps for the live site.  Most of the tests are 'Open a page, verify limited content'; a few require very limited input from the test operator.

This week it happened that some software upgrades dropped shortly after a successful run of the tests against the live site. I applied the upgrades to the test environment, and ran the test suite. There were several unexpected errors. I tried running the test suite against the live site, (no site changes since last pass), and that failed too.

My current Firefox version is 51.0 (32-bit). It seems quite possible that version has changed since the last successful run of the tests against the live site.  In the past, this process has kept working through many Firefox updates.

Here's the error text:

"[error] Unexpected Exception: Error: cross-process JS call failed"

For background, here's the simplest test case I have found that reproduces this error:

Start Firefox with one tab open to the Mozilla Firefox Start Page.

Select Selenium IDE from the Tools menu.

Open the script shown below.

Run the script.

I request advice from Selenium users more advanced/experienced than I.  If there is a known easy fix, point me at it.  If not, I request pointers for how I might use other parts of the Selenium toolkit (which I have not previously explored) to get a similar job done.  I am competent in Python if that helps.

Thanks,

Ken

=====


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;">http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="<a href="http://selenium-ide.openqa.org/profiles/test-case" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;">http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="<a href="https://www.google.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/&#39;;return true;" onclick="this.href=&#39;https://www.google.com/&#39;;return true;">https://www.google.com/" />
<title>Google Search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Google Search</td></tr>
</thead><tbody>
<!-- Simple test case-->
<tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>storeEval</td>
    <td>prompt(&quot;Enter your search term&quot;)</td>
    <td>searchTerm</td>
</tr>
<tr>
    <td>type</td>
    <td>name=q</td>
    <td>${searchTerm}</td>
</tr>
</tbody></table>
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/6a1c8794-dfa3-4372-b093-ce1baf8cf73b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

Christian Kasim Loan
In reply to this post by Mariusz Purwin
Great solution!!! Many thanks

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/5d3a6a41-63b9-481b-a832-594b1eac0f26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

Dustin Saner
In reply to this post by Mariusz Purwin
Can anyone tell me why this ancient plugin fixes the problems introduced by upgrading to Firefox 51?

On Monday, January 30, 2017 at 1:29:11 AM UTC-6, Mariusz Purwin wrote:
Hi,

We had same problem. SeleniumIDE: Flow Control solved our problem.
Could you install it?

 <a onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Faddons.mozilla.org%2Fpl%2Ffirefox%2Faddon%2Fflow-control%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF_wRNKlj2C26XanVnOnq9EdDZ5ig&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Faddons.mozilla.org%2Fpl%2Ffirefox%2Faddon%2Fflow-control%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF_wRNKlj2C26XanVnOnq9EdDZ5ig&#39;;return true;" href="https://addons.mozilla.org/pl/firefox/addon/flow-control/" target="_blank" rel="nofollow">https://addons.mozilla.org/pl/firefox/addon/flow-control/


W dniu czwartek, 26 stycznia 2017 05:25:14 UTC+1 użytkownik Kenneth Johnson napisał:
I have successfully used the Selenium IDE with Mozilla Firefox for Windows for about four years to perform simple tests of a small corporate website after software upgrades. My procedure has been to apply the upgrades to my test environment, then run a Selenium test suite. If it passes, repeat both steps for the live site.  Most of the tests are 'Open a page, verify limited content'; a few require very limited input from the test operator.

This week it happened that some software upgrades dropped shortly after a successful run of the tests against the live site. I applied the upgrades to the test environment, and ran the test suite. There were several unexpected errors. I tried running the test suite against the live site, (no site changes since last pass), and that failed too.

My current Firefox version is 51.0 (32-bit). It seems quite possible that version has changed since the last successful run of the tests against the live site.  In the past, this process has kept working through many Firefox updates.

Here's the error text:

"[error] Unexpected Exception: Error: cross-process JS call failed"

For background, here's the simplest test case I have found that reproduces this error:

Start Firefox with one tab open to the Mozilla Firefox Start Page.

Select Selenium IDE from the Tools menu.

Open the script shown below.

Run the script.

I request advice from Selenium users more advanced/experienced than I.  If there is a known easy fix, point me at it.  If not, I request pointers for how I might use other parts of the Selenium toolkit (which I have not previously explored) to get a similar job done.  I am competent in Python if that helps.

Thanks,

Ken

=====


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<a onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="<a onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;" href="http://www.w3.org/1999/xhtml" target="_blank" rel="nofollow">http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="<a onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;" href="http://selenium-ide.openqa.org/profiles/test-case" target="_blank" rel="nofollow">http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="<a onmousedown="this.href=&#39;https://www.google.com/&#39;;return true;" onclick="this.href=&#39;https://www.google.com/&#39;;return true;" href="https://www.google.com/" target="_blank" rel="nofollow">https://www.google.com/" />
<title>Google Search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Google Search</td></tr>
</thead><tbody>
<!-- Simple test case-->
<tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>storeEval</td>
    <td>prompt(&quot;Enter your search term&quot;)</td>
    <td>searchTerm</td>
</tr>
<tr>
    <td>type</td>
    <td>name=q</td>
    <td>${searchTerm}</td>
</tr>
</tbody></table>
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ad30da5c-d07a-4dfd-aab5-98a2a0671900%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

Jason Guan
In reply to this post by Kenneth Johnson
It worked! Thanks so much.
The flow extension url in english:


On Thursday, January 26, 2017 at 3:25:14 PM UTC+11, Kenneth Johnson wrote:
I have successfully used the Selenium IDE with Mozilla Firefox for Windows for about four years to perform simple tests of a small corporate website after software upgrades. My procedure has been to apply the upgrades to my test environment, then run a Selenium test suite. If it passes, repeat both steps for the live site.  Most of the tests are 'Open a page, verify limited content'; a few require very limited input from the test operator.

This week it happened that some software upgrades dropped shortly after a successful run of the tests against the live site. I applied the upgrades to the test environment, and ran the test suite. There were several unexpected errors. I tried running the test suite against the live site, (no site changes since last pass), and that failed too.

My current Firefox version is 51.0 (32-bit). It seems quite possible that version has changed since the last successful run of the tests against the live site.  In the past, this process has kept working through many Firefox updates.

Here's the error text:

"[error] Unexpected Exception: Error: cross-process JS call failed"

For background, here's the simplest test case I have found that reproduces this error:

Start Firefox with one tab open to the Mozilla Firefox Start Page.

Select Selenium IDE from the Tools menu.

Open the script shown below.

Run the script.

I request advice from Selenium users more advanced/experienced than I.  If there is a known easy fix, point me at it.  If not, I request pointers for how I might use other parts of the Selenium toolkit (which I have not previously explored) to get a similar job done.  I am competent in Python if that helps.

Thanks,

Ken

=====


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;">http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="<a href="http://selenium-ide.openqa.org/profiles/test-case" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;">http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="<a href="https://www.google.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/&#39;;return true;" onclick="this.href=&#39;https://www.google.com/&#39;;return true;">https://www.google.com/" />
<title>Google Search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Google Search</td></tr>
</thead><tbody>
<!-- Simple test case-->
<tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>storeEval</td>
    <td>prompt(&quot;Enter your search term&quot;)</td>
    <td>searchTerm</td>
</tr>
<tr>
    <td>type</td>
    <td>name=q</td>
    <td>${searchTerm}</td>
</tr>
</tbody></table>
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/382df297-8566-468f-8f35-0ab20cfec8d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

Sokunthea Ly
In reply to this post by Kenneth Johnson
Hi,
I have a problem like this image, anyone help me please.



On Thursday, January 26, 2017 at 11:25:14 AM UTC+7, Kenneth Johnson wrote:
I have successfully used the Selenium IDE with Mozilla Firefox for Windows for about four years to perform simple tests of a small corporate website after software upgrades. My procedure has been to apply the upgrades to my test environment, then run a Selenium test suite. If it passes, repeat both steps for the live site.  Most of the tests are 'Open a page, verify limited content'; a few require very limited input from the test operator.

This week it happened that some software upgrades dropped shortly after a successful run of the tests against the live site. I applied the upgrades to the test environment, and ran the test suite. There were several unexpected errors. I tried running the test suite against the live site, (no site changes since last pass), and that failed too.

My current Firefox version is 51.0 (32-bit). It seems quite possible that version has changed since the last successful run of the tests against the live site.  In the past, this process has kept working through many Firefox updates.

Here's the error text:

"[error] Unexpected Exception: Error: cross-process JS call failed"

For background, here's the simplest test case I have found that reproduces this error:

Start Firefox with one tab open to the Mozilla Firefox Start Page.

Select Selenium IDE from the Tools menu.

Open the script shown below.

Run the script.

I request advice from Selenium users more advanced/experienced than I.  If there is a known easy fix, point me at it.  If not, I request pointers for how I might use other parts of the Selenium toolkit (which I have not previously explored) to get a similar job done.  I am competent in Python if that helps.

Thanks,

Ken

=====


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;">http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="<a href="http://selenium-ide.openqa.org/profiles/test-case" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;">http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="<a href="https://www.google.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/&#39;;return true;" onclick="this.href=&#39;https://www.google.com/&#39;;return true;">https://www.google.com/" />
<title>Google Search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Google Search</td></tr>
</thead><tbody>
<!-- Simple test case-->
<tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>storeEval</td>
    <td>prompt(&quot;Enter your search term&quot;)</td>
    <td>searchTerm</td>
</tr>
<tr>
    <td>type</td>
    <td>name=q</td>
    <td>${searchTerm}</td>
</tr>
</tbody></table>
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/3a39fc60-58d1-44d8-8db7-5376ac4423ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium IDE 2.9.1 in Firefox: Unexpected Exception

alexander.millan
Resuelto, muchas gracias. 




El lunes, 26 de junio de 2017, 21:50:25 (UTC-5), Sokunthea Ly escribió:
Hi,
I have a problem like this image, anyone help me please.

<a href="https://lh3.googleusercontent.com/-0C9XpDMmj-s/WVDHpOx6rOI/AAAAAAAAFNA/7mZ2PoPGTNMbkQcqS0NIf_x5IIJT-8C-gCLcBGAs/s1600/selenium.PNG" style="margin-left:1em;margin-right:1em" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://lh3.googleusercontent.com/-0C9XpDMmj-s/WVDHpOx6rOI/AAAAAAAAFNA/7mZ2PoPGTNMbkQcqS0NIf_x5IIJT-8C-gCLcBGAs/s1600/selenium.PNG&#39;;return true;" onclick="this.href=&#39;https://lh3.googleusercontent.com/-0C9XpDMmj-s/WVDHpOx6rOI/AAAAAAAAFNA/7mZ2PoPGTNMbkQcqS0NIf_x5IIJT-8C-gCLcBGAs/s1600/selenium.PNG&#39;;return true;">



On Thursday, January 26, 2017 at 11:25:14 AM UTC+7, Kenneth Johnson wrote:
I have successfully used the Selenium IDE with Mozilla Firefox for Windows for about four years to perform simple tests of a small corporate website after software upgrades. My procedure has been to apply the upgrades to my test environment, then run a Selenium test suite. If it passes, repeat both steps for the live site.  Most of the tests are 'Open a page, verify limited content'; a few require very limited input from the test operator.

This week it happened that some software upgrades dropped shortly after a successful run of the tests against the live site. I applied the upgrades to the test environment, and ran the test suite. There were several unexpected errors. I tried running the test suite against the live site, (no site changes since last pass), and that failed too.

My current Firefox version is 51.0 (32-bit). It seems quite possible that version has changed since the last successful run of the tests against the live site.  In the past, this process has kept working through many Firefox updates.

Here's the error text:

"[error] Unexpected Exception: Error: cross-process JS call failed"

For background, here's the simplest test case I have found that reproduces this error:

Start Firefox with one tab open to the Mozilla Firefox Start Page.

Select Selenium IDE from the Tools menu.

Open the script shown below.

Run the script.

I request advice from Selenium users more advanced/experienced than I.  If there is a known easy fix, point me at it.  If not, I request pointers for how I might use other parts of the Selenium toolkit (which I have not previously explored) to get a similar job done.  I am competent in Python if that helps.

Thanks,

Ken

=====


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2FTR%2Fxhtml1%2FDTD%2Fxhtml1-strict.dtd\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHNsVQ5b0cvVPgxg0Xh4xeYLHef5w&#39;;return true;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFPnvHmzp7QdvEjpI1OxPKiChMEFw&#39;;return true;">http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="<a href="http://selenium-ide.openqa.org/profiles/test-case" rel="nofollow" target="_blank" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fselenium-ide.openqa.org%2Fprofiles%2Ftest-case\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGIDar6ie97WAOCwtEgBsWRM3mAhA&#39;;return true;">http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="<a href="https://www.google.com/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/&#39;;return true;" onclick="this.href=&#39;https://www.google.com/&#39;;return true;">https://www.google.com/" />
<title>Google Search</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Google Search</td></tr>
</thead><tbody>
<!-- Simple test case-->
<tr>
<tr>
    <td>open</td>
    <td>/</td>
    <td></td>
</tr>
<tr>
    <td>storeEval</td>
    <td>prompt(&quot;Enter your search term&quot;)</td>
    <td>searchTerm</td>
</tr>
<tr>
    <td>type</td>
    <td>name=q</td>
    <td>${searchTerm}</td>
</tr>
</tbody></table>
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f41cef2f-7f5f-4114-85c6-9107fb9cc29a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.