8000 Xebium iexplore got error message "JavaScript error (WARNING: The server did not provide any stacktrace information)" · Issue #131 · xebia/Xebium · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Xebium iexplore got error message "JavaScript error (WARNING: The server did not provide any stacktrace information)" #131

Open

Description

@yujiayujia6

fitnesse table is
|script |selenium driver fixture |
|start browser|iexplore|on url |http://nzakl20sv273:9081/ |
|do |open |on |/iBuilderBRC_Test |
|ensure |do |assertVisible |on|id=username |
|ensure |do |waitForVisible|on|!-id=password-!|with|fgd |
|ensure |do |type |on|id=username |with|CSOTL_3001|
|ensure |do |type |on|id=password |with|CSOTL_3001|
|ensure |do |clickAndWait |on|css=input.submit |

steps
|script |selenium driver fixture |
|start browser|iexplore|on url |http://nzakl20sv273:9081/ |
|do |open |on |/iBuilderBRC_Test |
|ensure |do |assertVisible |on|id=username |
|ensure |do |waitForVisible|on|!-id=password-!|with|fgd |
are passed

get error message for steps
|ensure |do |type |on|id=username |with|CSOTL_3001|
|ensure |do |type |on|id=password |with|CSOTL_3001|
|ensure |do |clickAndWait |on|css=input.submit |

error message is "EXCEPTION:java.lang.AssertionError: com.thoughtworks.selenium.SeleniumException: JavaScript error (WARNING: The server did not provide any stacktrace information)
"
use Firefox no any problem for above table.
can anyone tell me why I will get this error message
untitled

Activity

  1. raboof commented on Jun 27, 2014

    @raboof
    Contributor

    Do you also see a javascript error when you perform these actions manually from IE?

  2. yujiayujia6 commented on Jun 27, 2014

    @yujiayujia6
    Author

    No, we do manual test for this system many times, before we try to do automation testing. Thank you for replay.

  3. raboof commented on Jun 27, 2014

    @raboof
    Contributor

    Well, the fact that you've done manual testing (and that it works functionally) doesn't mean there's no javascript errors in the console. Have you checked?

  4. yujiayujia6 commented on Jun 27, 2014

    @yujiayujia6
    Author

    I also use following code in eclipse to test all actions are passed and no javascript error in console.

    WebDriver driver;
    driver = new InternetExplorerDriver;
    driver.findElement(By.id("username")).sendKeys("CSOTL_3001");
    driver.findElement(By.id("password ")).sendKeys("CSOTL_3001");
    driver.findElement(By.id("submit ")).click();

  5. eskape commented on Jun 28, 2014

    @eskape
    Contributor

    This is (probably) one of the reasons why we're moving to "full" webdriver implementation. Work in progress. Thanks for sharing another example.

  6. raboof commented on Jun 28, 2014

    @raboof
    Contributor

    As Kishen Simbhoedatpanday (@eskape) correctly mentions, depending on what's actually going wrong it could be that this issue does not occur when using the 'fast selenium emulation' implementation which is now the default in newly built 0.13-SNAPSHOT versions.

    If you're feeling adventurous you're welcome to build that one and try if it helps. This might well introduce some other issues, but I'd be happy to work with you to help resolve those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0