Uploaded image for project: 'Release Testing Helper'
  1. Release Testing Helper
  2. RELTEST-20

change_a_global_property.story failed in release testing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Complexity:
      Low

      Description

      While executing the story "changeAGlobalProperty.java", it failed due to the webpage reorg, it tries to access the "advance setting" link which no longer exist. Shall update the story to make it up to date.

      product tested: openmr standalone 1.8.3, downloaded from http://openmrs.org/download/.

      Below is the output:
      ==================

      Scenario:
      Given I am on the login page of OpenMRS with url http://localhost:8080/openmrs-standalone
      When I enter username and password as stored in system properties as openmrs_username and openmrs_password and click the 'Log In' button
      Then take me to the Home screen and display welcome message for user Super

      Given I am on Home screen
      When I click on the Administration link
      Then take me to Administration page

      Given I am on Admin page
      When I click on the Advanced Settings link (FAILED)
      (java.lang.AssertionError: could not find element to click on)
      Then take me to Advanced Settings Page with Advanced Settings as heading (NOT PERFORMED)
      When I type Test1 as name (NOT PERFORMED)
      When I type Test2 as value (NOT PERFORMED)
      And I click on Save button (NOT PERFORMED)
      Then display message Global properties saved (NOT PERFORMED)

      Failed to run story org/openmrs/stories/change_a_global_property.story
      java.lang.AssertionError: could not find element to click on
      at org.openmrs.CustomWebDriverContext.failWith(CustomWebDriverContext.java:114)
      at org.openmrs.CustomWebDriverContext.findOneElementTo(CustomWebDriverContext.java:105)
      at org.openmrs.CustomWebDriverContext.clickOn(CustomWebDriverContext.java:82)
      at org.openmrs.Steps.clickOn(Steps.java:57)
      at org.openmrs.Steps.clickLinkWithName(Steps.java:207)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jbehave.core.steps.StepCreator$ParameterizedStep.perform(StepCreator.java:428)
      at org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:431)
      at org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:414)
      at org.jbehave.core.embedder.StoryRunner.runScenarioSteps(StoryRunner.java:379)
      at org.jbehave.core.embedder.StoryRunner.runIt(StoryRunner.java:256)
      at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)
      at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:164)
      at org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:620)
      at org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:584)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:680)
      ===================

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              mayx May Xu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: