Continuum
  1. Continuum
  2. CONTINUUM-2490

Getting permission denied when running selenium tests in IE

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0 (Beta)
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      Running selenium tests in IE results to a permission denied, when using the waitForCondition

      -------------------------------------------------------------------------------
      Test set: TestSuite
      -------------------------------------------------------------------------------
      Tests run: 200, Failures: 5, Errors: 0, Skipped: 18, Time elapsed: 5,482.5 sec <<< FAILURE!
      testProjectGroupAllBuildSuccess(org.apache.continuum.web.test.ProjectGroupTest) Time elapsed: 41.282 sec <<< FAILURE!
      com.thoughtworks.selenium.SeleniumException: Permission denied
      at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
      at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
      at com.thoughtworks.selenium.DefaultSelenium.waitForCondition(DefaultSelenium.java:627)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForCondition(AbstractSeleniumTest.java:450)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForElementPresent(AbstractSeleniumTest.java:434)
      at org.apache.continuum.web.test.parent.AbstractContinuumTest.waitForProjectUpdate(AbstractContinuumTest.java:905)
      at org.apache.continuum.web.test.parent.AbstractContinuumTest.waitForProjectBuild(AbstractContinuumTest.java:913)
      at org.apache.continuum.web.test.parent.AbstractContinuumTest.buildProjectGroup(AbstractContinuumTest.java:381)
      at org.apache.continuum.web.test.ProjectGroupTest.testProjectGroupAllBuildSuccess(ProjectGroupTest.java:141)

      testBuildMaven2ProjectWithTag(org.apache.continuum.web.test.MavenTwoProjectTest) Time elapsed: 53.766 sec <<< FAILURE!
      com.thoughtworks.selenium.SeleniumException: Permission denied
      at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
      at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
      at com.thoughtworks.selenium.DefaultSelenium.waitForCondition(DefaultSelenium.java:627)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForCondition(AbstractSeleniumTest.java:450)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForElementPresent(AbstractSeleniumTest.java:434)
      at org.apache.continuum.web.test.parent.AbstractContinuumTest.waitForProjectUpdate(AbstractContinuumTest.java:905)
      at org.apache.continuum.web.test.parent.AbstractContinuumTest.waitForProjectBuild(AbstractContinuumTest.java:913)
      at org.apache.continuum.web.test.parent.AbstractContinuumTest.buildProjectGroup(AbstractContinuumTest.java:381)
      at org.apache.continuum.web.test.MavenTwoProjectTest.testBuildMaven2ProjectWithTag(MavenTwoProjectTest.java:318)

      testDeleteMavenTwoProject(org.apache.continuum.web.test.MavenTwoProjectTest) Time elapsed: 68 sec <<< FAILURE!
      com.thoughtworks.selenium.SeleniumException: Permission denied
      at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
      at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
      at com.thoughtworks.selenium.DefaultSelenium.waitForCondition(DefaultSelenium.java:627)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForCondition(AbstractSeleniumTest.java:450)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForElementPresent(AbstractSeleniumTest.java:434)
      at org.apache.continuum.web.test.parent.AbstractContinuumTest.waitForProjectCheckout(AbstractContinuumTest.java:893)
      at org.apache.continuum.web.test.MavenTwoProjectTest.testDeleteMavenTwoProject(MavenTwoProjectTest.java:262)

      testQueuePageWithProjectCurrentlyBuilding(org.apache.continuum.web.test.QueueTest) Time elapsed: 38.86 sec <<< FAILURE!
      com.thoughtworks.selenium.SeleniumException: Permission denied
      at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
      at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
      at com.thoughtworks.selenium.DefaultSelenium.waitForCondition(DefaultSelenium.java:627)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForCondition(AbstractSeleniumTest.java:450)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForElementPresent(AbstractSeleniumTest.java:434)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForElementPresent(AbstractSeleniumTest.java:423)
      at org.apache.continuum.web.test.parent.AbstractBuildQueueTest.buildProjectForQueuePageTest(AbstractBuildQueueTest.java:93)
      at org.apache.continuum.web.test.QueueTest.testQueuePageWithProjectCurrentlyBuilding(QueueTest.java:133)

      testContinuumGroupProjectAdmin_AddProjectToProjectGroup(org.apache.continuum.web.test.UserRolesManagementTest) Time elapsed: 43.547 sec <<< FAILURE!
      com.thoughtworks.selenium.SeleniumException: Permission denied
      at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
      at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:91)
      at com.thoughtworks.selenium.DefaultSelenium.waitForCondition(DefaultSelenium.java:627)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForCondition(AbstractSeleniumTest.java:450)
      at org.apache.continuum.web.test.parent.AbstractSeleniumTest.waitForElementPresent(AbstractSeleniumTest.java:434)
      at org.apache.continuum.web.test.parent.AbstractContinuumTest.waitForProjectCheckout(AbstractContinuumTest.java:893)
      at org.apache.continuum.web.test.UserRolesManagementTest.testContinuumGroupProjectAdmin_AddProjectToProjectGroup(UserRolesManagementTest.java:273)

        Activity

        Hide
        Jevica Arianne B. Zurbano added a comment -

        Changes made in r924654:

        • load the page instead of using waitForCondition when running tests in IE
        Show
        Jevica Arianne B. Zurbano added a comment - Changes made in r924654: load the page instead of using waitForCondition when running tests in IE
        Hide
        Marecor M. Baclay added a comment -

        changes made in r.926982

        • the permission denied issues has been fixed in r924654. however, there are other failures/errors (time-out errors). Changing the values(time) in testng.properties fixes the errors.
        Show
        Marecor M. Baclay added a comment - changes made in r.926982 the permission denied issues has been fixed in r924654. however, there are other failures/errors (time-out errors). Changing the values(time) in testng.properties fixes the errors.

          People

          • Assignee:
            Unassigned
            Reporter:
            Maria Catherine Tan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: