selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Windows7-SeleniumIDE2.9.0-Javascript errors

Open dharris2 opened this issue 11 years ago • 10 comments

After installing a new version of IDE (2.9.0) on FF 36.0.4 on a windows seven machine, I'm am getting an endless stream of error popups, if I open the actions or the options drop-down. I am also seeing what another user reported: "Table view is not available with this format" Examples below:

  1. There was an unexpected error. Msg: TypeError: editor.app is undefined Url: chrome://selenium-ide/content/editor.js, line: 1007, column: 74 Editor.prototype.onPopupOptions@chrome://selenium-ide/content/editor.js:1007:75 onpopupshowing@chrome://selenium-ide/content/selenium-ide.xul:1:1
  2. There was an unexpected error. Msg: TypeError: this.app is undefined Url: chrome://selenium-ide/content/editor.js, line: 1054, column: 2 Editor.prototype.getTestCase@chrome://selenium-ide/content/editor.js:1054:3 Editor.prototype.tabSelected@chrome://selenium-ide/content/editor.js:601:7 onselect@chrome://selenium-ide/content/selenium-ide.xul:1:22 set_selectedIndex@chrome://global/content/bindings/tabbox.xml:406:15 set_selectedItem@chrome://global/content/bindings/tabbox.xml:431:34 _selectNewTab@chrome://global/content/bindings/tabbox.xml:476:11 onxblmousedown@chrome://global/content/bindings/tabbox.xml:771:11 seleniumscreenshot

dharris2 avatar Mar 27 '15 15:03 dharris2

Hi, I also found out this issue today. Selenium IDE not functioning and pop up message as reported by dharris2. The last time I use Selenium IDE is 13/3/2015 (Windows 8, Selenium IDE version : 2.8.0). I have try reinstall to new Selenium IDE version also having the same issue. Please advice. Thank you.

zura44 avatar Mar 31 '15 09:03 zura44

Hi,

The latest versions of Selenium IDE contains a way to submit diagnostic information. If you are willing, can you give us a link to it. You can get it under the help menu.

It will help me track down the issue faster.

Thank you.

Cheers, Samit

On 27 Mar 2015, at 15:34, dharris2 [email protected] wrote:

After installing a new version of IDE (2.9.0) on FF 36.0.4 on a windows seven machine, I'm am getting an endless stream of error popups, if I open the actions or the options drop-down. I am also seeing what another user reported: "Table view is not available with this format" Examples below:

  1. There was an unexpected error. Msg: TypeError: editor.app is undefined Url: chrome://selenium-ide/content/editor.js, line: 1007, column: 74 Editor.prototype.onPopupOptions@chrome://selenium-ide/content/editor.js:1007:75 onpopupshowing@chrome://selenium-ide/content/selenium-ide.xul:1:1
  2. There was an unexpected error. Msg: TypeError: this.app is undefined Url: chrome://selenium-ide/content/editor.js, line: 1054, column: 2 Editor.prototype.getTestCase@chrome://selenium-ide/content/editor.js:1054:3 Editor.prototype.tabSelected@chrome://selenium-ide/content/editor.js:601:7 onselect@chrome://selenium-ide/content/selenium-ide.xul:1:22 set_selectedIndex@chrome://global/content/bindings/tabbox.xml:406:15 set_selectedItem@chrome://global/content/bindings/tabbox.xml:431:34 _selectNewTab@chrome://global/content/bindings/tabbox.xml:476:11 onxblmousedown@chrome://global/content/bindings/tabbox.xml:771:11

— Reply to this email directly or view it on GitHub.

samitbadle avatar Apr 01 '15 08:04 samitbadle

Samit, I have submitted the issues from the help section. Let me know if there is anything else I can do to help.

dharris2 avatar Apr 01 '15 14:04 dharris2

Can you also put the link it generates here?

On 1 Apr 2015, at 15:23, dharris2 [email protected] wrote:

Samit, I have submitted the issues from the help section. Let me know if there is anything else I can do to help.

— Reply to this email directly or view it on GitHub.

samitbadle avatar Apr 01 '15 20:04 samitbadle

The information from Diagnostic

{
  "startTime": 1427950520871,
  "at": 1427950530327,
  "diags": {
    "Browser": {
      "os": "WINNT",
      "name": "Firefox",
      "version": "36.0.4",
      "ID": "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}",
      "vendor": "Mozilla",
      "platformBuildID": "20150320202338",
      "platformVersion": "36.0.4",
      "userAgent": "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0"
    },
    "SeleniumIDE": {
      "version": "2.9.0",
      "sidebar": false
    }
  },
  "events": [
    {
      "at": 1427950520871,
      "type": "Event",
      "component": "HealthService",
      "event": "attached: editor"
    },
    {
      "at": 1427950520871,
      "type": "Event",
      "component": "editor",
      "event": "initializing"
    },
    {
      "at": 1427950520872,
      "type": "Error",
      "component": "editor",
      "event": "UncaughtException",
      "msg": "SyntaxError: JSON.parse: bad control character in string literal at line 1 column 1795 of the JSON data",
      "url": "chrome://selenium-ide/content/plugin.js",
      "line": 17,
      "column": 21,
      "stack": "PluginManager.prototype.load@chrome://selenium-ide/content/plugin.js:17:22\nPluginManager@chrome://selenium-ide/content/plugin.js:7:3\nApplication@chrome://selenium-ide/content/application.js:26:26\nEditor@chrome://selenium-ide/content/editor.js:30:14\nStandaloneEditor@chrome://selenium-ide/content/standalone-editor.js:22:5\nonload@chrome://selenium-ide/content/selenium-ide.xul:1:1\n"
    },
    {
      "at": 1427950520873,
      "type": "Error",
      "component": "HealthService",
      "event": "showAlert",
      "msg": "Cannot call openModalWindow on a hidden window",
      "url": null,
      "line": 356,
      "column": null,
      "stack": null
    },
    {
      "at": 1427950523673,
      "type": "Error",
      "component": "editor",
      "event": "UncaughtException",
      "msg": "TypeError: editor.app is undefined",
      "url": "chrome://selenium-ide/content/editor.js",
      "line": 1007,
      "column": 74,
      "stack": "Editor.prototype.onPopupOptions@chrome://selenium-ide/content/editor.js:1007:75\nonpopupshowing@chrome://selenium-ide/content/selenium-ide.xul:1:1\n"
    }
  ],
  "metrics": {},
  "stats": {}
}

zura44 avatar Apr 02 '15 04:04 zura44

Thanks for the info. It seems that the information for installed plugins is corrupted for some reason. This can be due to a bad plugin or a bug somewhere. Try uninstalling all plugins and clearing the pluginsData option manually. You can then add the plugins back one by one until the issue reappears.

To clear the pluginsData option manually, make sure Selenium IDE is closed. Open about:config in a new Firefox tab. Agree to be careful. In the search box on the page, type extensions.selenium-ide.pluginsData and wait for the results to appear. Right click on the result and select Reset from the context menu.

Btw, when you submitted the diagnostic information, did you not receive an URL?

On 2 Apr 2015, at 05:55, zura44 [email protected] wrote:

The information from Diagnostic

— Reply to this email directly or view it on GitHub.

samitbadle avatar Apr 02 '15 13:04 samitbadle

I did not receive a URL It was just a submit button and then the window closed. No confirmation or anything. I'm trying the steps above right now.

dharris2 avatar Apr 02 '15 13:04 dharris2

I removed all plugins and cleared the plugin data, and IDE is working again. I'm now in the process of adding plugins back to see if I can find the cause.

dharris2 avatar Apr 02 '15 15:04 dharris2

Since IDE is working and there has been no update, I am closing this issue.

samitbadle avatar Apr 07 '15 09:04 samitbadle

reopen the firefork browser

yqin150 avatar Jun 17 '17 00:06 yqin150