Selenium IDE 2.9.1 in Firefox: Unexpected Exception

已查看 3,048 次
跳至第一个未读帖子

Kenneth Johnson

未读,
2017年1月25日 23:25:142017/1/25
收件人 Selenium Users
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>

Mariusz Purwin

未读,
2017年1月30日 02:29:112017/1/30
收件人 Selenium Users
Hi,

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

Kenneth Johnson

未读,
2017年1月30日 16:08:042017/1/30
收件人 Selenium Users
That fixed it.  Thanks!

Jeffrey Smith

未读,
2017年1月30日 21:39:012017/1/30
收件人 Selenium Users
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

Assror Hairudin

未读,
2017年1月31日 03:31:442017/1/31
收件人 Selenium Users
Yes amazing, it's work, thank you all

pablo.u...@gmail.com

未读,
2017年1月31日 10:19:332017/1/31
收件人 Selenium Users
That worked, thanks!

Christian Kasim Loan

未读,
2017年1月31日 13:01:042017/1/31
收件人 Selenium Users
Great solution!!! Many thanks

Dustin Saner

未读,
2017年2月2日 09:54:362017/2/2
收件人 Selenium Users
Can anyone tell me why this ancient plugin fixes the problems introduced by upgrading to Firefox 51?

Jason Guan

未读,
2017年3月23日 23:02:552017/3/23
收件人 Selenium Users
It worked! Thanks so much.
The flow extension url in english:

Sokunthea Ly

未读,
2017年6月26日 22:50:252017/6/26
收件人 Selenium Users
Hi,
I have a problem like this image, anyone help me please.

alexande...@mantum.com.co

未读,
2018年5月7日 22:49:462018/5/7
收件人 Selenium Users
Resuelto, muchas gracias. 
回复全部
回复作者
转发
0 个新帖子