Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

0
Error while uploading file using Selenium IDE

Solved 1 Answers 76 Views Selenium
0 1
It worked earlier, recently I am trying to upload a file using Selenium IDE and its throwing below error.
 
[error] Unexpected Exception: code -> 1000, INDEX_SIZE_ERR -> 1, DOMSTRING_SIZE_ERR -> 2, HIERARCHY_REQUEST_ERR -> 3, WRONG_DOCUMENT_ERR -> 4, INVALID_CHARACTER_ERR -> 5, NO_DATA_ALLOWED_ERR -> 6, NO_MODIFICATION_ALLOWED_ERR -> 7, NOT_FOUND_ERR -> 8, NOT_SUPPORTED_ERR -> 9, INUSE_ATTRIBUTE_ERR -> 10, INVALID_STATE_ERR -> 11, SYNTAX_ERR -> 12, INVALID_MODIFICATION_ERR -> 13, NAMESPACE_ERR -> 14, INVALID_ACCESS_ERR -> 15, VALIDATION_ERR -> 16, TYPE_MISMATCH_ERR -> 17, DATA_CLONE_ERR -> 25, message -> Security error, result -> 2152924136, name -> NS_ERROR_DOM_SECURITY_ERR, filename -> chrome://selenium-ide/content/selenium-core/scripts/atoms.js, lineNumber -> 8911, columnNumber -> 0, location -> JS frame :: chrome://selenium-ide/content/selenium-core/scripts/atoms.js :: :: line 8911, inner -> null, data -> null
 
 
Commands:
 
Command: type
Target: //*[locator]
Value: path/to/file

1 Answer

0
Best answer
0
1. Get the latest version of 7-zip on Windows.
2. Open the jar file with 7-zip.
3. Delete the LICENSE file.  I'm sure this isn't exactly kosher, but case-insensitive Windows confuses the LICENSE file with the license directory.
4. Go to the core\scripts path within the jar file.
5. Edit the atoms.js file.  (Right-click and Edit, or click and F4.)
6. Find the line with "a.value = d" and change it to "XPCNativeWrapper(a).value = d;"
7. Save the changes.  You're done!
answered by
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...