Details

    • Type: Sprint Defect
    • Status: Done (View Workflow)
    • Priority: Critical
    • Resolution: Completed
    • Affects Version/s: CFA 2020R1
    • Fix Version/s: None
    • Component/s: Automation
    • Labels:
    • Sprint:
      CFAMX 2020R1 Hardening

      Description

      Log File is attached

      When I run the tests on FloodRunner the failure rate is %100. I have started the troubleshooting I think i know where it fails. 

      There is a loop  while loop and never end in case no data:

      I think we should prepare that for the data we are passing through CSV file. In that way we may need to have any extra loop. Just a suggestion. You may come up with a better solution. Once this is done if we can run it on Flood (There is a stream in Flood called Daily Deposits.) to prove it works that would be great. 

       

      // code placeholder
      
        WebElement toBeDeposited = driver.findElement(By.xpath("//input[@ng-value='DailyDepositSummary.MoniesToBeDeposited | currency']"));
                  String toDeposit = toBeDeposited.getAttribute("value").substring(1);
                  while (toDeposit.equalsIgnoreCase("0.00")) {
                       clickAndWait(driver, "//button[@ng-click='NextDay()']");
                       
                      toBeDeposited = driver.findElement(By.xpath("//input[@ng-value='DailyDepositSummary.MoniesToBeDeposited | currency']"));
                      toDeposit = toBeDeposited.getAttribute("value").substring(1);
                  }
      

       

       

       

        Attachments

        1. flood.log
          561 kB
          Caner Saritac

          Activity

            People

            • Assignee:
              caner.saritac Caner Saritac
              Reporter:
              caner.saritac Caner Saritac
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                0h
                Logged:
                Time Not Required
                Not Specified

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.