SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

echo command is throwing an exception when printing the value stored in a variable used in storeTextPresent command #3520

Closed lukeis closed 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 3520

What steps will reproduce the problem?
1. Execute below commands
2. storeTextPresent|google|var
3. echo|${var}

What is the expected output? What do you see instead?

Exepcted output: true or false
Actual output: [error] Unexpected Exception: fileName -> chrome://selenium-ide/content/selenium-core/scripts/selenium-api.js,
lineNumber -> 2553

Selenium version: 1.7.0
OS: Windows7
Browser: Firefox
Browser version: 10.0.2

This issue is occurring since Selenium IDE was automatically updated to version 1.7.0.

Reported by umadiddi on 2012-03-09 06:38:17


lukeis commented 8 years ago
Dupe of #834, will reroll shortly and get a fix out soon!

Reported by llaskin on 2012-03-09 20:35:45

lukeis commented 8 years ago

Reported by dave.hunt on 2012-03-09 20:51:38

lukeis commented 8 years ago
Issue 3525 has been merged into this issue.

Reported by dave.hunt on 2012-03-09 20:52:01

lukeis commented 8 years ago
Issue 3522 has been merged into this issue.

Reported by dave.hunt on 2012-03-09 20:52:24

lukeis commented 8 years ago
This fixed by r16185, and a candidate 1.7.1 build is available here: http://xserve.openqa.org:8085/browse/IDE-EDITOR-240/artifact/MULTI/Selenium-IDE/selenium-ide.xpi

Please try this out and let us know if it resolves the issue for you without introducing
any unexpected side-effects.

Reported by dave.hunt on 2012-03-09 20:54:25

lukeis commented 8 years ago

Reported by dave.hunt on 2012-03-09 20:56:27

lukeis commented 8 years ago
Issue 3526 has been merged into this issue.

Reported by dave.hunt on 2012-03-09 20:57:17

lukeis commented 8 years ago
I guess I am not techie enough to do this. I tried opening the link http://xserve.openqa.org:8085/browse/IDE-EDITOR-240/artifact/MULTI/Selenium-IDE/selenium-ide.xpi
in my browser, but nothing happened.

In the meantime, I can't run any of my tests since I rely heavily on variables. How
do I get this fix installed? Thanks!

Reported by diane.evans on 2012-03-12 11:52:28

lukeis commented 8 years ago
The link should ask you to download a file, which you should be able to open in Firefox
to install the version of the IDE. Alternatively, visit http://xserve.openqa.org:8085/browse/IDE-EDITOR-240/artifact/MULTI/Selenium-IDE
and click the link.

Reported by dave.hunt on 2012-03-12 12:01:39

lukeis commented 8 years ago
If you're unable to install from the above location, please try the following: http://release.seleniumhq.org/selenium-ide/1.7.1/

Reported by dave.hunt on 2012-03-12 12:51:37

lukeis commented 8 years ago
Having the exact same problem.  1.7.1 did not fix the issue.

Reported by bj_helfrich@hotmail.com on 2012-03-12 12:59:56

lukeis commented 8 years ago
Please provide more details. I have successfully tested this with the steps mentioned
in this issue (storeTextPresent/echo)

Reported by dave.hunt on 2012-03-12 13:16:46

lukeis commented 8 years ago
Depends on how you store the variable.  Plain old store works fine for me, but storeTextPresent,
for example, doesn't

Reported by brucetelford on 2012-03-12 13:37:45


lukeis commented 8 years ago
Also,storeEval does not work for me.

Reported by bj_helfrich@hotmail.com on 2012-03-12 13:48:41

lukeis commented 8 years ago
Half of the time it is successful and half of the time I get the error.  I am using
storeTextPresent/echo

Reported by ccox425 on 2012-03-12 13:53:01

lukeis commented 8 years ago
I'm testing a new fix and will update the 1.7.1 release candidate shortly.

Reported by dave.hunt on 2012-03-12 13:56:03

lukeis commented 8 years ago
Possible workaround--It would seem I can get it to work if I change to using storedVars["xxx"]
instead of ${xxx}; although echo storedVars["xxx"] doesn't do anything--no error, but
no echo either.

Reported by brucetelford on 2012-03-12 14:59:59

lukeis commented 8 years ago
Please try this new build: http://release.seleniumhq.org/selenium-ide/1.7.1/

Reported by dave.hunt on 2012-03-12 15:26:47

lukeis commented 8 years ago
Works for me.  Thanks!

Reported by brucetelford on 2012-03-12 15:51:01

lukeis commented 8 years ago
Works here, too. Yay! Thanks!

Reported by bj_helfrich@hotmail.com on 2012-03-12 16:10:01

lukeis commented 8 years ago
Downloaded 1.7.1 and ran the same tests- now it is working...Thanks for getting this
out there quickly...

Reported by martin.orlando@oracle.com on 2012-03-12 16:46:59

lukeis commented 8 years ago
Thank you all for verifying the fix, and apologies for the inconvenience of this issue.
I'll be adding some tests to our automated suite to hopefully this issue from recurring.

Reported by dave.hunt on 2012-03-12 23:01:45

lukeis commented 8 years ago
After the release 1.7.1 I get the below exception on selenium IDE when using the fileUploader:file,
in order to upload a file. Since yesterday (1.7.0) all my scripts were successfully
running, now they all fail. Could you please examine it?

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 -> 8864, columnNumber -> 0, location -> JS frame :: chrome://selenium-ide/content/selenium-core/scripts/atoms.js
:: <TOP_LEVEL> :: line 8864, inner -> null, data -> null

Reported by dtzika on 2012-03-13 07:54:18

lukeis commented 8 years ago
@dtzika please raise this as a new issue with steps to reproduce.

Reported by dave.hunt on 2012-03-13 09:52:06

lukeis commented 8 years ago
Issue 3534 has been merged into this issue.

Reported by dave.hunt on 2012-03-13 09:54:55

lukeis commented 8 years ago
Issue 3539 has been merged into this issue.

Reported by dave.hunt on 2012-03-13 09:55:41

lukeis commented 8 years ago
Issue 3540 has been merged into this issue.

Reported by dave.hunt on 2012-03-13 09:56:24

lukeis commented 8 years ago
Issue 3529 has been merged into this issue.

Reported by dave.hunt on 2012-03-13 09:59:56

lukeis commented 8 years ago
Echo Command throws blank o/p. If the same is clicked manually it runs the value. I
am using FF12, IDE 1.8.0 

Reported by testreel1234 on 2012-05-16 05:30:20


lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 18:15:02