Beispiel #1
0
        public void verifyCreateBtnOnAdjustmentToolPage()
        {
            string[] username = null;
            string[] password = null;



            var oXMLData = new XMLParse();

            oXMLData.LoadXML("../../Config/ApplicationSettings.xml");

            username = oXMLData.getData("settings/Credentials", "username_corp");
            password = oXMLData.getData("settings/Credentials", "password");


            // Initializing the objects
            var executionLog = new ExecutionLog();
            var loginHelper  = new LoginHelper(GetWebDriver());

            var corp_Master_AdjustmentToolHelper = new CorpResidualIncome_Masterdata_AdjustmentToolHelper(GetWebDriver());


            // Variable random
            String JIRA   = "";
            String Status = "Pass";

            //try
            //{

            executionLog.Log("VerifyCreateBtnOnAdjustmentToolPage", "Login with valid username and password");
            Login(username[0], password[0]);

            executionLog.Log("VerifyCreateBtnOnAdjustmentToolPage", "Verify Page title");
            VerifyTitle("Dashboard");

            executionLog.Log("VerifyCreateBtnOnAdjustmentToolPage", "Go Master Adjustment Tool Page");
            VisitCorp("rir/masterrules");
            corp_Master_AdjustmentToolHelper.WaitForWorkAround(3000);

            executionLog.Log("VerifyCreateBtnOnAdjustmentToolPage", "Click on Create button");
            corp_Master_AdjustmentToolHelper.ClickElement("Create");
            corp_Master_AdjustmentToolHelper.WaitForWorkAround(2000);

            executionLog.Log("VerifyCreateBtnOnAdjustmentToolPage", "Verify redirected to Create Adjustment Tool Page");
            corp_Master_AdjustmentToolHelper.VerifyText("AdjustmentToolTitle", "Adjustments Tool");
            Console.WriteLine("Redirected to Create Adjustment Tool Page");


            //}
            //catch (Exception e)
            //{

            //}
        }
        public void createResdualIncomeAdjustmentTool()
        {
            string[] username = null;
            string[] password = null;

            XMLParse oXMLData = new XMLParse();

            oXMLData.LoadXML("../../Config/ApplicationSettings.xml");

            username = oXMLData.getData("settings/Credentials", "username_corp");
            password = oXMLData.getData("settings/Credentials", "password");

            // Initializing the objects
            var executionLog = new ExecutionLog();
            var loginHelper  = new LoginHelper(GetWebDriver());
            var corpResidualIncome_Masterdata_AdjustmentToolHelper = new CorpResidualIncome_Masterdata_AdjustmentToolHelper(GetWebDriver());

            String JIRA    = "";
            String Status  = "Pass";
            var    RuleSet = "RuleSet" + RandomNumber(9, 999);

            try
            {
                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Login with valid credential  Username");
                Login(username[0], password[0]);

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Verify Page title");
                VerifyTitle("Dashboard");
                Console.WriteLine("Redirected at Dashboard screen.");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Click to Import");
                VisitCorp("rir/masterrules");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(3000);

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Verify Page title");
                VerifyTitle("Residual Master Rules - Adjustments");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Click On Create Btn");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("Create");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(3000);

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Verify Page title");
                VerifyTitle("Residual Master Rules - Create Adjustments");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Select Processor Type");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.SelectByText("ProcessorType", "First Data Omaha");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Enter Rule Set Name");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.TypeText("RuleSetName", RuleSet);

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Rule Type");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.SelectByText("RuleType", "Amount");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Enter Amount ");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.TypeText("Amount", "200");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Select AddRemove");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.Select("AddRemove", "Add");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Click On SaveBtn");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("Save");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Wait for success message");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForText("Residual Master Rule Created.", 10);

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Redirect to master rules page.");
                VisitCorp("rir/masterrules");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(3000);

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Verify Page title");
                VerifyTitle("Residual Master Rules - Adjustments");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Enter Name to search");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.TypeText("SearchRuleSetNAme", RuleSet);
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(2000);

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Click Delete btn  ");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("DeleteIcon");

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Accept alert message. ");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.AcceptAlert();

                executionLog.Log("CreateResdualIncomeAdjustmentTool", "Wait for delete message. ");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForText("Master rule deleted successfully.", 10);
            }


            catch (Exception e)
            {
                executionLog.Log("Error", e.StackTrace);
                Status = "Fail";

                String counter     = executionLog.readLastLine("counter");
                String Description = executionLog.GetAllTextFile("CreateResdualIncomeAdjustmentTool");
                String Error       = executionLog.GetAllTextFile("Error");
                Console.WriteLine(Error);
                if (counter == "")
                {
                    counter = "0";
                }
                bool result = loginHelper.CheckExstingIssue("Create Resdual Income Adjustment Tool");
                if (!result)
                {
                    if (Int16.Parse(counter) < 9)
                    {
                        executionLog.Count("counter", (Int16.Parse(counter) + 1).ToString());
                        loginHelper.CreateIssue("Create Resdual Income Adjustment Tool", "Bug", "Medium", "Residual Income page", "QA", "Log in as: " + username[0] + " / " + password[0] + "\n\nSteps:\n" + Description + "\n\n\nError Description:\n" + Error);
                        string id = loginHelper.getIssueID("Create Resdual Income Adjustment Tool");
                        TakeScreenshot("CreateResdualIncomeAdjustmentTool");
                        string directoryName = loginHelper.GetnewDirectoryName(GetPath());
                        var    location      = directoryName + "\\CreateResdualIncomeAdjustmentTool.png";
                        loginHelper.AddAttachment(location, id);
                    }
                }
                else
                {
                    if (Int16.Parse(counter) < 9)
                    {
                        executionLog.Count("counter", (Int16.Parse(counter) + 1).ToString());
                        TakeScreenshot("CreateResdualIncomeAdjustmentTool");
                        string id            = loginHelper.getIssueID("Create Resdual Income Adjustment Tool");
                        string directoryName = loginHelper.GetnewDirectoryName(GetPath());
                        var    location      = directoryName + "\\CreateResdualIncomeAdjustmentTool.png";
                        loginHelper.AddAttachment(location, id);
                        loginHelper.AddComment(loginHelper.getIssueID("Create Resdual Income Adjustment Tool"), "This issue is still occurring");
                    }
                }
                JIRA = loginHelper.getIssueID("Create Resdual Income Adjustment Tool");
                //   executionLog.DeleteFile("Error");
                throw;
            }
            finally
            {
                executionLog.DeleteFile("CreateResdualIncomeAdjustmentTool");
                executionLog.WriteInExcel("Create Resdual Income Adjustment Tool", Status, JIRA, "Corp Residual Adjustment");
            }
        }
Beispiel #3
0
        public void residualAdjustmentTool()
        {
            string[] username = null;
            string[] password = null;
            string[] log      = null;
            String   JIRA     = "";
            String   Status   = "Pass";

            var oXMLData = new XMLParse();

            oXMLData.LoadXML("../../Config/ApplicationSettings.xml");

            username = oXMLData.getData("settings/Credentials", "username_corp");
            password = oXMLData.getData("settings/Credentials", "password");
            log      = oXMLData.getData("settings/URL", "logout");

            // Initializing the objects
            var executionLog = new ExecutionLog();
            var loginHelper  = new LoginHelper(GetWebDriver());
            var corpResidualIncome_Masterdata_AdjustmentToolHelper = new CorpResidualIncome_Masterdata_AdjustmentToolHelper(GetWebDriver());

            try
            {
                executionLog.Log("ResidualAdjustmentTool", "Login with valid username and password");
                Login(username[0], password[0]);
                Console.WriteLine("Logged in as: " + username[0] + " / " + password[0]);

                executionLog.Log("ResidualAdjustmentTool", "Verify Page title");
                VerifyTitle("Dashboard");
                Console.WriteLine("Redirected at Dashboard screen.");

                executionLog.Log("ResidualAdjustmentTool", "Go to Create Residual Adjustment Tool page");
                VisitCorp("rir/create");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(3000);

                executionLog.Log("ResidualAdjustmentTool", "Verify title");
                VerifyTitle("Residual Master Rules - Create Adjustments");

                executionLog.Log("ResidualAdjustmentTool", "Click on 'Save' button without filling any field");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("Save");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(2000);

                executionLog.Log("ResidualAdjustmentTool", "Verify error message");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.verifyElementPresent("RMPProcessorError");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Verify error message");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.verifyElementPresent("RMPSetNameError");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Select Processor");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.SelectByText("RMPProcessor", "First Data Omaha");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Click on 'Save' button after selecting Processor");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("Save");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Verify error ");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.verifyElementPresent("RMPSetNameError");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Select Rule");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.SelectByText("RMPRule", "Amount");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Enter amount in alphabets");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.TypeText("RMPRuleField", "Alpha");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Click on anywhere");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("RMPRule");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Verify error displayed");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.verifyElementPresent("RMPRuleError");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Enter amount in numeric");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.TypeText("RMPRuleField", "123");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Click on anywhere");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("RMPRule");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Select Percantage");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.SelectByText("RMPRule", "Percentage");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Enter Percantage in alphabets");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.TypeText("RMPRuleField", "Alpha");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Click on anywher");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("RMPRule");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Verify error displayed");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.verifyElementPresent("RMPRuleError");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Enter Percantage in numeric");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.TypeText("RMPRuleField", "13");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Click on anywehe");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("RMPRule");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Select Ammount");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.SelectByText("RMPRule", "Amount");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Enter Ammount upto 3 decimal");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.TypeText("RMPRuleField", "123.234");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Click anywhere in the application.");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("RMPRule");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Verify error displayed");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.verifyElementPresent("RMPRuleError");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Select Percantage");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.SelectByText("RMPRule", "Percentage");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Enter Percantage more than 100");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.TypeText("RMPRuleField", "1234");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(1000);

                executionLog.Log("ResidualAdjustmentTool", "Click on any");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("RMPRule");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(2000);

                executionLog.Log("ResidualAdjustmentTool", "Verify error displayed");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.verifyElementPresent("RMPRuleError");

                executionLog.Log("ResidualAdjustmentTool", "Click on Add another button.");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("RMPAddRule");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(2000);

                executionLog.Log("ResidualAdjustmentTool", "Verify Field added");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.verifyElementPresent("RMPRuleError");

                executionLog.Log("ResidualAdjustmentTool", "Log out from the application");
                VisitCorp("logout");
            }

            catch (Exception e)
            {
                executionLog.Log("Error", e.StackTrace);
                Status = "Fail";

                String counter     = executionLog.readLastLine("counter");
                String Description = executionLog.GetAllTextFile("ResidualAdjustmentTool");
                String Error       = executionLog.GetAllTextFile("Error");
                if (counter == "")
                {
                    counter = "0";
                }
                bool result = loginHelper.CheckExstingIssue("Residual Adjustment Tool");
                if (!result)
                {
                    if (Int16.Parse(counter) < 9)
                    {
                        executionLog.Count("counter", (Int16.Parse(counter) + 1).ToString());
                        loginHelper.CreateIssue("Residual Adjustment Tool", "Bug", "Medium", "Residual page", "QA", "Log in as: " + username[0] + " / " + password[0] + "\n\nSteps:\n" + Description + "\n\n\nError Description:\n" + Error);
                        string id = loginHelper.getIssueID("Residual Adjustment Tool");
                        TakeScreenshot("ResidualAdjustmentTool");
                        string directoryName = loginHelper.GetnewDirectoryName(GetPath());
                        var    location      = directoryName + "\\ResidualAdjustmentTool.png";
                        loginHelper.AddAttachment(location, id);
                    }
                }
                else
                {
                    if (Int16.Parse(counter) < 9)
                    {
                        executionLog.Count("counter", (Int16.Parse(counter) + 1).ToString());
                        TakeScreenshot("ResidualAdjustmentTool");
                        string id            = loginHelper.getIssueID("Residual Adjustment Tool");
                        string directoryName = loginHelper.GetnewDirectoryName(GetPath());
                        var    location      = directoryName + "\\ResidualAdjustmentTool.png";
                        loginHelper.AddAttachment(location, id);
                        loginHelper.AddComment(loginHelper.getIssueID("Residual Adjustment Tool"), "This issue is still occurring");
                    }
                }
                JIRA = loginHelper.getIssueID("Residual Adjustment Tool");
                //   executionLog.DeleteFile("Error");
                throw;
            }
            finally
            {
                executionLog.DeleteFile("ResidualAdjustmentTool");
                executionLog.WriteInExcel("Residual Adjustment Tool", Status, JIRA, "Residual Adjustment");
            }
        }
Beispiel #4
0
        public void verifyBlankMasterRuleError()
        {
            string[] username = null;
            string[] password = null;

            XMLParse oXMLData = new XMLParse();

            oXMLData.LoadXML("../../Config/ApplicationSettings.xml");

            username = oXMLData.getData("settings/Credentials", "username_corp");
            password = oXMLData.getData("settings/Credentials", "password");

            // Initializing the objects
            var executionLog = new ExecutionLog();
            var loginHelper  = new LoginHelper(GetWebDriver());
            var corpResidualIncome_Masterdata_AdjustmentToolHelper = new CorpResidualIncome_Masterdata_AdjustmentToolHelper(GetWebDriver());

            String JIRA    = "";
            String Status  = "Pass";
            var    RuleSet = "RuleSet" + RandomNumber(9, 999);

            try
            {
                executionLog.Log("VerifyBlankMasterRuleError", "Login with valid credential  Username");
                Login(username[0], password[0]);

                executionLog.Log("VerifyBlankMasterRuleError", "Verify Page title");
                VerifyTitle("Dashboard");
                Console.WriteLine("Redirected at Dashboard screen.");

                executionLog.Log("VerifyBlankMasterRuleError", "Click to Import");
                VisitCorp("rir/masterrules");

                executionLog.Log("VerifyBlankMasterRuleError", "Verify Page title");
                VerifyTitle("Residual Master Rules - Adjustments");

                executionLog.Log("VerifyBlankMasterRuleError", "Click on edit icon.");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("EditAdjustment");

                executionLog.Log("VerifyBlankMasterRuleError", "Click on add another rule.");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("AddAnotherRule");

                executionLog.Log("VerifyBlankMasterRuleError", "Click on save butoon.");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.ClickElement("Save");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(3000);

                executionLog.Log("VerifyBlankMasterRuleError", "Verify page text for required field.");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.VerifyPageText("This field is required.");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(3000);

                executionLog.Log("VerifyBlankMasterRuleError", "Verify updation text not present.");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.VerifyTextNotPresent("Residual Master Rule Updated.");
                corpResidualIncome_Masterdata_AdjustmentToolHelper.WaitForWorkAround(3000);
            }
            catch (Exception e)
            {
                executionLog.Log("Error", e.StackTrace);
                Status = "Fail";

                String counter     = executionLog.readLastLine("counter");
                String Description = executionLog.GetAllTextFile("VerifyBlankMasterRuleError");
                String Error       = executionLog.GetAllTextFile("Error");
                Console.WriteLine(Error);
                if (counter == "")
                {
                    counter = "0";
                }
                bool result = loginHelper.CheckExstingIssue("Verify Blank Master Rule Error");
                if (!result)
                {
                    if (Int16.Parse(counter) < 5)
                    {
                        executionLog.Count("counter", (Int16.Parse(counter) + 1).ToString());
                        loginHelper.CreateIssue("Verify Blank Master Rule Error", "Bug", "Medium", "Residual Income page", "QA", "Log in as: " + username[0] + " / " + password[0] + "\n\nSteps:\n" + Description + "\n\n\nError Description:\n" + Error);
                        string id = loginHelper.getIssueID("Verify Blank Master Rule Error");
                        TakeScreenshot("VerifyBlankMasterRuleError");
                        string directoryName = loginHelper.GetnewDirectoryName(GetPath());
                        var    location      = directoryName + "\\VerifyBlankMasterRuleError.png";
                        loginHelper.AddAttachment(location, id);
                    }
                }
                else
                {
                    if (Int16.Parse(counter) < 5)
                    {
                        executionLog.Count("counter", (Int16.Parse(counter) + 1).ToString());
                        TakeScreenshot("VerifyBlankMasterRuleError");
                        string id            = loginHelper.getIssueID("Verify Blank Master Rule Error");
                        string directoryName = loginHelper.GetnewDirectoryName(GetPath());
                        var    location      = directoryName + "\\VerifyBlankMasterRuleError.png";
                        loginHelper.AddAttachment(location, id);
                        loginHelper.AddComment(loginHelper.getIssueID("Verify Blank Master Rule Error"), "This issue is still occurring");
                    }
                }
                JIRA = loginHelper.getIssueID("Verify Blank Master Rule Error");
                executionLog.DeleteFile("Error");
                throw;
            }
            finally
            {
                executionLog.DeleteFile("VerifyBlankMasterRuleError");
                executionLog.WriteInExcel("Verify Blank Master Rule Error", Status, JIRA, "Corp Residual Adjustment");
            }
        }