SeleniumBuilder / se-builder

Legacy Selenium Builder Project
Other
215 stars 104 forks source link

Can't open a test case using multibyte path from JSON test suite at Windows #257

Open teyamagu opened 9 years ago

teyamagu commented 9 years ago

situation

{
  "type": "suite",
  "seleniumVersion": "2",
  "formatVersion": 1,
  "scripts": [
    {
      "where": "local",
      "path": "C:¥¥script¥¥スクリプト¥¥テストケース.json"
    }
  ],
  "shareState": false
}
ファイルを読み込めません。[Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsIFileInputStream.init]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: chrome://seleniumbuilder/content/html/js/selenium-ide/file-utils.js :: SeFileUtils.openFileInputStream :: line 48" data: no]

errordialog

cause (Maybe)

I think this error cause by 2 reasons.

at builder.io.addStorageSystem() in seleniumbuilder/chrome/content/html/js/builder/io.js

Zarkonnen commented 9 years ago

Thanks, I'll look into this. It's almost certainly some unicode horror. :D