junit.framework.AssertionFailedError: Unable to locate element with xpath "//ul[@class='studio-admin-menu']/li[@class='studio-admin-menu-section-selected']//li[@class='studio-admin-menu-item-selected']/a[@id='integrity_checker']"

Atlassian JIRA | Alex Wei [Atlassian] | 6 years ago
  1. 0

    junit.framework.AssertionFailedError: Unable to locate element with xpath "//ul[@class='studio-admin-menu']/li[@class='studio-admin-menu-section-selected']/a[@id='menu_section_globalsettings']" at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at net.sourceforge.jwebunit.junit.WebTester.assertElementPresentByXPath(WebTester.java:2017) at com.atlassian.studio.livetest.PrintingPageWebTester.assertElementPresentByXPath(PrintingPageWebTester.java:1475) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkHighlighted(TestGlobalAdmin.java:514) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkPresentAndMapped(TestGlobalAdmin.java:507) at com.atlassian.studio.functest.simple.TestGlobalAdmin.testIssuesLinksPresent(TestGlobalAdmin.java:75) junit.framework.AssertionFailedError: Unable to locate element with xpath "//ul[@class='studio-admin-menu']/li[@class='studio-admin-menu-section-selected']//li[@class='studio-admin-menu-item-selected']/a[@id='integrity_checker']" at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at net.sourceforge.jwebunit.junit.WebTester.assertElementPresentByXPath(WebTester.java:2017) at com.atlassian.studio.livetest.PrintingPageWebTester.assertElementPresentByXPath(PrintingPageWebTester.java:1475) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkHighlighted(TestGlobalAdmin.java:520) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkPresentAndMapped(TestGlobalAdmin.java:507) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertSysadminLinkPresentAndMapped(TestGlobalAdmin.java:491) at com.atlassian.studio.functest.simple.TestGlobalAdmin.testIssuesSysadminLinks(TestGlobalAdmin.java:235)

    Atlassian JIRA | 6 years ago | Alex Wei [Atlassian]
    junit.framework.AssertionFailedError: Unable to locate element with xpath "//ul[@class='studio-admin-menu']/li[@class='studio-admin-menu-section-selected']//li[@class='studio-admin-menu-item-selected']/a[@id='integrity_checker']"
  2. 0

    junit.framework.AssertionFailedError: Unable to locate element with xpath "//ul[@class='studio-admin-menu']/li[@class='studio-admin-menu-section-selected']/a[@id='menu_section_globalsettings']" at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at net.sourceforge.jwebunit.junit.WebTester.assertElementPresentByXPath(WebTester.java:2017) at com.atlassian.studio.livetest.PrintingPageWebTester.assertElementPresentByXPath(PrintingPageWebTester.java:1475) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkHighlighted(TestGlobalAdmin.java:514) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkPresentAndMapped(TestGlobalAdmin.java:507) at com.atlassian.studio.functest.simple.TestGlobalAdmin.testIssuesLinksPresent(TestGlobalAdmin.java:75) junit.framework.AssertionFailedError: Unable to locate element with xpath "//ul[@class='studio-admin-menu']/li[@class='studio-admin-menu-section-selected']//li[@class='studio-admin-menu-item-selected']/a[@id='integrity_checker']" at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at net.sourceforge.jwebunit.junit.WebTester.assertElementPresentByXPath(WebTester.java:2017) at com.atlassian.studio.livetest.PrintingPageWebTester.assertElementPresentByXPath(PrintingPageWebTester.java:1475) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkHighlighted(TestGlobalAdmin.java:520) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkPresentAndMapped(TestGlobalAdmin.java:507) at com.atlassian.studio.functest.simple.TestGlobalAdmin.assertSysadminLinkPresentAndMapped(TestGlobalAdmin.java:491) at com.atlassian.studio.functest.simple.TestGlobalAdmin.testIssuesSysadminLinks(TestGlobalAdmin.java:235)

    Atlassian JIRA | 6 years ago | Alex Wei [Atlassian]
    junit.framework.AssertionFailedError: Unable to locate element with xpath "//ul[@class='studio-admin-menu']/li[@class='studio-admin-menu-section-selected']//li[@class='studio-admin-menu-item-selected']/a[@id='integrity_checker']"
  3. 0

    Intermittent testShellStage failure

    GitHub | 2 years ago | timwr
    junit.framework.AssertionFailedError: MagicToken missing in shell output:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    testCorrectNamesMultiThread fails

    GitHub | 4 years ago | alexnederlof
    junit.framework.AssertionFailedError: Thread 1 ok
  6. 0

    robotium pressMenuItem or clickOnMenuItem not working

    Stack Overflow | 4 years ago | rocknow
    junit.framework.AssertionFailedError: Text string: 'Disable layers' is not found!

  1. cesarnog 2 times, last 2 months ago
  2. Ábó Szilágyi 5 times, last 7 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. junit.framework.AssertionFailedError

    Unable to locate element with xpath "//ul[@class='studio-admin-menu']/li[@class='studio-admin-menu-section-selected']//li[@class='studio-admin-menu-item-selected']/a[@id='integrity_checker']"

    at junit.framework.Assert.fail()
  2. JUnit
    Assert.assertTrue
    1. junit.framework.Assert.fail(Assert.java:47)
    2. junit.framework.Assert.assertTrue(Assert.java:20)
    2 frames
  3. Core - API
    WebTester.assertElementPresentByXPath
    1. net.sourceforge.jwebunit.junit.WebTester.assertElementPresentByXPath(WebTester.java:2017)
    1 frame
  4. com.atlassian.studio
    TestGlobalAdmin.testIssuesSysadminLinks
    1. com.atlassian.studio.livetest.PrintingPageWebTester.assertElementPresentByXPath(PrintingPageWebTester.java:1475)
    2. com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkHighlighted(TestGlobalAdmin.java:520)
    3. com.atlassian.studio.functest.simple.TestGlobalAdmin.assertLinkPresentAndMapped(TestGlobalAdmin.java:507)
    4. com.atlassian.studio.functest.simple.TestGlobalAdmin.assertSysadminLinkPresentAndMapped(TestGlobalAdmin.java:491)
    5. com.atlassian.studio.functest.simple.TestGlobalAdmin.testIssuesSysadminLinks(TestGlobalAdmin.java:235)
    5 frames