Ejemplo n.º 1
0
        public void Verify_Fundtransfer_IMS_All_History()
        {
            #region declaration
            IMS_Base imsAdmin             = new IMS_Base();
            IMS_AdminSuite.Common commIMS = new IMS_AdminSuite.Common();
            Ladbrokes_IMS_TestRepository.Common commTest = new Ladbrokes_IMS_TestRepository.Common();
            Registration_Data regData   = new Registration_Data();
            AdminSuite.Common adminComm = new AdminSuite.Common();
            #endregion

            AddTestCase("Verifying fund transfer through IMS admin", "Fund should be transferred successfully");
            try
            {
                imsAdmin.Init();
                commIMS.SearchCustomer_Newlook(imsAdmin.IMSDriver, ReadxmlData("depdata", "user", DataFilePath.Accounts_Wallets));

                List <string> wallet = ReadxmlData("depdata", "TransWalletDropDown", DataFilePath.Accounts_Wallets).ToString().Split(';').ToList <string>();

                commIMS.FundTransfer_History(imsAdmin.IMSDriver, ReadxmlData("depdata", "AuditFromWallet", DataFilePath.Accounts_Wallets), ReadxmlData("depdata", "AuditToWallet", DataFilePath.Accounts_Wallets), ReadxmlData("depdata", "AuditAmt", DataFilePath.Accounts_Wallets));
            }
            catch (Exception e)
            {
                exceptionStack(e);
                // CaptureScreenshot(MyBrowser, "Portal");
                CaptureScreenshot(imsAdmin.IMSDriver, "IMS");
                Fail("Affiliate Customer Registration/Validation has failed");
                Pass();
            }
            finally { imsAdmin.Quit(); }
        }
Ejemplo n.º 2
0
        public void Verify_SignUpDeposit_bonus_Satisfies()
        {
            #region Declaration
            Registration_Data     regData = new Registration_Data();
            IMS_Base              baseIMS = new IMS_Base();
            IMS_AdminSuite.Common commIMS = new IMS_AdminSuite.Common();
            Ladbrokes_IMS_TestRepository.Common commTest = new Ladbrokes_IMS_TestRepository.Common();
            MyAcct_Data       acctData = new MyAcct_Data();
            AccountAndWallets AnW      = new AccountAndWallets();

            #endregion
            #region DriverInitiation
            IWebDriver driverObj;
            ISelenium  iBrowser = commonFramework.GetDriverByTestCaseName(SeleniumContainer, Gallio.Framework.TestContext.CurrentContext.Test.Name);
            driverObj = browserInitialize(iBrowser, FrameGlobals.VegasURL);
            #endregion

            try
            {
                AddTestCase("Create customer from Playtech pages", "Customer should be created.");
                regData.update_Registration_Data(ReadxmlData("regdata", "Fname", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "country_UK", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "City_Web", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "Password", DataFilePath.Accounts_Wallets));

                wAction._Click(driverObj, ICE.ObjectRepository.ORFile.Accounts_Wallets_Registration, wActions.locatorType.xpath, "createAcct_Xpath", "Find Address button not found", 0, false);
                string portalWindow = driverObj.WindowHandles.ToArray()[0].ToString();
                commonWebMethods.WaitAndMovetoPopUPWindow(driverObj, driverObj.WindowHandles.ToArray()[1].ToString(), "Unable to locate registration page");
                // AnW.Registration_PlaytechPages(driverObj, ref regData,0,false, ReadxmlData("bonus", "regProm", DataFilePath.Accounts_Wallets));

                commTest.PP_Registration(driverObj, ref regData, ReadxmlData("bonus", "regProm", DataFilePath.Accounts_Wallets));
                wAction.WaitAndMovetoFrame(driverObj, By.Id(Reg_Control.CashierFrame_ID), null, 10);
                Pass("Customer registered succesfully");
                WriteCommentToMailer("UserName: "******";\nPassword: "******"Username:"******" Password:"******"");
                Pass();
                wAction.WaitAndMovetoFrame(driverObj, By.Id(Reg_Control.CashierFrame_ID), null, 10);

                BaseTest.AddTestCase("Verify if new customers get bonus on Register (with promo Code) ->  First Deposit if condition satisfies.", "First deposit should be successful");
                // driverObj.SwitchTo().Window(driverObj.WindowHandles.ToArray()[1].ToString());
                BaseTest.Assert.IsTrue(AnW.Verify_FirstCashier_Neteller(driverObj, ReadxmlData("netdata", "account_id", DataFilePath.Accounts_Wallets),
                                                                        ReadxmlData("netdata", "account_pwd", DataFilePath.Accounts_Wallets),
                                                                        ReadxmlData("bonus", "depoWallet", DataFilePath.Accounts_Wallets),
                                                                        ReadxmlData("bonus", "bonusWallet", DataFilePath.Accounts_Wallets),
                                                                        ReadxmlData("bonus", "depoAmnt", DataFilePath.Accounts_Wallets)),
                                       "Bonus amount not added to: " + ReadxmlData("bonus", "bonusWallet", DataFilePath.Accounts_Wallets));


                BaseTest.Pass("Bonus amount added & successfully verified");
            }
            catch (Exception e)
            {
                exceptionStack(e);
                CaptureScreenshot(driverObj, "Portal");
                Fail("Verify_SignUpDeposit_bonus_Satisfies - failed");
            }
        }
Ejemplo n.º 3
0
        public void Verify_SignUp_Bonus_Registration()
        {
            #region Declaration
            Registration_Data regData = new Registration_Data();
            Ladbrokes_IMS_TestRepository.Common commTest = new Ladbrokes_IMS_TestRepository.Common();
            Login_Data  loginData = new Login_Data();
            MyAcct_Data acctData  = new MyAcct_Data();

            #endregion
            #region DriverInitiation
            IWebDriver driverObj;
            ISelenium  iBrowser = commonFramework.GetDriverByTestCaseName(SeleniumContainer, Gallio.Framework.TestContext.CurrentContext.Test.Name);
            driverObj = browserInitialize(iBrowser);
            #endregion

            try
            {
                AddTestCase("Excecute Verify_SignUp_Bonus_Registration", "Verify_SignUp_Bonus_Registration : Pass");
                AddTestCase("Register a customer selecting Indonesia as country and currency as AUD", "Registration should be successfull");

                regData.update_Registration_Data(ReadxmlData("regdata", "Fname", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "country_indonesia", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "City_Web", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "Password", DataFilePath.Accounts_Wallets));
                regData.currency = ReadxmlData("regdata", "currency_AUD", DataFilePath.Accounts_Wallets);

                wAction._Click(driverObj, ICE.ObjectRepository.ORFile.Accounts_Wallets_Registration, wActions.locatorType.xpath, "createAcct_Xpath", "Find Address button not found", 0, false);
                AnW.Registration_PlaytechPages(driverObj, ref regData);
                Pass("Customer registered succesfully");

                AddTestCase("Verify the Bonus after registration", "Bonus should be credited to the customer");

                if (AnW.OpenMyAcct(driverObj, false) != null)
                {
                    if (!AnW.MyAccount_VerifyFreeBet(driverObj, ReadxmlData("bonus", "signup", DataFilePath.Accounts_Wallets), ReadxmlData("bonus", "signup_amt", DataFilePath.Accounts_Wallets)))
                    {
                        Fail("Freebet not added");
                    }
                }
                else
                {
                    Fail("Navigation to My account page is failed");
                }

                Pass("Bonus is credited to the customer as expected");

                WriteCommentToMailer("UserName: "******";\nPassword: "******"Username:"******" Password:"******"");
                Pass();
            }
            catch (Exception e)
            {
                exceptionStack(e);
                CaptureScreenshot(driverObj, "Portal");
                Fail("Verify_SignUp_Bonus_Registration : scenario failed");
            }
        }
Ejemplo n.º 4
0
            public void Verify_Title_Russian()
            {
                #region Declaration
                IMS_Base baseIMS = new IMS_Base();
                IMS_AdminSuite.Common commIMS = new IMS_AdminSuite.Common();
                Registration_Data     regData = new Registration_Data();
                Ladbrokes_IMS_TestRepository.Common commTest = new Ladbrokes_IMS_TestRepository.Common();
                Login_Data  loginData = new Login_Data();
                MyAcct_Data acctData  = new MyAcct_Data();
                #endregion
                #region DriverInitiation
                IWebDriver driverObj;
                ISelenium  iBrowser = commonFramework.GetDriverByTestCaseName(SeleniumContainer, Gallio.Framework.TestContext.CurrentContext.Test.Name);
                driverObj = browserInitialize(iBrowser);
                #endregion
                Ladbrokes_IMS_TestRepository.Common Testcomm = new Ladbrokes_IMS_TestRepository.Common();
                string temp = Registration_Data.title;
                try
                {
                    Registration_Data.title = "Г - н";
                    AddTestCase("Russian Language", "Registration should be successfull");

                    regData.update_Registration_Data(ReadxmlData("regdata", "Fname", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "country_germany_german", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "City_Web", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "Password", DataFilePath.Accounts_Wallets));

                    //Change the language
                    wAction._ClickAndMove(driverObj, ORFile.Ladbrokes_Header, wActions.locatorType.xpath, "LanguageMenu", FrameGlobals.elementTimeOut, "Header element Change language menu not found");
                    wAction._Click(driverObj, ORFile.Ladbrokes_Header, wActions.locatorType.xpath, "Language_Russian", "Language Russian in menu not found", 0, false);

                    //register in Russian
                    wAction._Click(driverObj, ICE.ObjectRepository.ORFile.Accounts_Wallets_Registration, wActions.locatorType.xpath, "Join_Russian_Btn", "Join button not found", 0, false);
                    AnW.Registration_PlaytechPages(driverObj, ref regData);
                    // Testcomm.Createcustomer_PostMethod(ref regData, Registration_Data.title);
                    Pass("Customer registered succesfully");

                    baseIMS.Init();
                    commIMS.SearchCustomer_Newlook(baseIMS.IMSDriver, regData.username);
                    baseIMS.IMSDriver.SwitchTo().DefaultContent();
                    BaseTest.Assert.IsTrue(baseIMS.IMSDriver.FindElement(By.Id("title")).GetAttribute("value") == Registration_Data.title, "title did not match in IMS Admin. Expected:" +
                                           Registration_Data.title + " Actual:" + baseIMS.IMSDriver.FindElement(By.Id("title")).GetAttribute("value"));
                }
                catch (Exception e)
                {
                    exceptionStack(e);
                    CaptureScreenshot(driverObj, "Portal");
                    CaptureScreenshot(baseIMS.IMSDriver, "IMS");
                    Fail("Verify title : scenario failed");
                }
                finally
                {
                    Registration_Data.title = temp;
                }
            }
Ejemplo n.º 5
0
            public void CreateCustomer_Romania_EUR()
            {
                #region DriverInitiation
                IWebDriver driverObj;
                ISelenium  iBrowser = commonFramework.GetDriverByTestCaseName(SeleniumContainer, Gallio.Framework.TestContext.CurrentContext.Test.Name);
                driverObj = browserInitialize(iBrowser, FrameGlobals.LiveDealerURL);
                #endregion
                Registration_Data regData = new Registration_Data();
                Ladbrokes_IMS_TestRepository.Common cmn = new Ladbrokes_IMS_TestRepository.Common();
                // Configuration testdata = TestDataInit();


                AddTestCase("Verify the customer registration from Plyatech pages.", "Customer should be created successfully");
                try
                {
                    //Updating customer details
                    regData.update_Registration_Data(ReadxmlData("regdata", "Fname", DataFilePath.Accounts_Wallets), "Romania", ReadxmlData("regdata", "City_Web", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "Password", DataFilePath.Accounts_Wallets));
                    regData.currency = "EUR";
                    regData.email    = "@aditi.com";
                    AnW.OpenRegistrationPage(driverObj);
                    //creating customer
                    AnW.Registration_PlaytechPages(driverObj, ref regData);
                    Pass("Customer registered succesfully");
                    //writing customer name in excel
                    WriteCommentToMailer("UserName: "******";\nPassword: "******"Username:"******" Password:"******"");
                    Pass();

                    //verifying currency of customer
                    AddTestCase("Verified the currency in the portal home page", "Appropriate Currency shoul be displayed in home page");
                    string bal = cmn.HomePage_Balance(driverObj);
                    if (!bal.Contains("€"))
                    {
                        Fail("Currency type is not correct for the customer registered");
                    }
                    Pass();
                }
                catch (Exception e)
                {
                    exceptionStack(e);
                    CaptureScreenshot(MyBrowser, "portal");
                    Fail("Customer Registration/Auto Login has failed");
                    Pass();
                }
            }
Ejemplo n.º 6
0
        //Verify the Deposit type bonus /promotion
        public void Verify_Deposit_Netteller_Bonus()
        {
            #region Declaration
            Registration_Data     regData = new Registration_Data();
            IMS_Base              baseIMS = new IMS_Base();
            IMS_AdminSuite.Common commIMS = new IMS_AdminSuite.Common();
            Ladbrokes_IMS_TestRepository.Common commTest = new Ladbrokes_IMS_TestRepository.Common();
            Login_Data  loginData = new Login_Data();
            MyAcct_Data acctData  = new MyAcct_Data();
            #endregion

            #region DriverInitiation
            IWebDriver driverObj;
            ISelenium  iBrowser = commonFramework.GetDriverByTestCaseName(SeleniumContainer, Gallio.Framework.TestContext.CurrentContext.Test.Name);
            driverObj = browserInitialize(iBrowser, FrameGlobals.VegasURL);
            #endregion

            try
            {
                AddTestCase("Verify Netteller deposit is successful", "Deposit through netteller should be successful.");

                loginData.update_Login_Data(ReadxmlData("depdata", "user", DataFilePath.Accounts_Wallets),
                                            ReadxmlData("depdata", "pwd", DataFilePath.Accounts_Wallets),
                                            ReadxmlData("depdata", "CCFname", DataFilePath.Accounts_Wallets));

                acctData.Update_deposit_withdraw_Card(ReadxmlData("netdata", "account_pwd", DataFilePath.Accounts_Wallets),
                                                      ReadxmlData("depdata", "wAmt", DataFilePath.Accounts_Wallets),
                                                      ReadxmlData("bonus", "depoAmnt", DataFilePath.Accounts_Wallets),
                                                      ReadxmlData("bonus", "bonusWallet", DataFilePath.Accounts_Wallets), ReadxmlData("bonus", "bonusWallet", DataFilePath.Accounts_Wallets), null);

                WriteCommentToMailer("UserName: "******";\nPassword: "******"netdata", "account_id", DataFilePath.Accounts_Wallets), ReadxmlData("bonus", "depoProm", DataFilePath.Accounts_Wallets));

                BaseTest.Pass();
            }
            catch (Exception e)
            {
                exceptionStack(e);
                CaptureScreenshot(driverObj, "Portal");
                Fail("Deposit bonus scenario failed");
            }
        }
Ejemplo n.º 7
0
        public void Verify_ExistinguserCheck_Registration()
        {
            #region Declaration
            Registration_Data regData = new Registration_Data();

            IMS_Base baseIMS = new IMS_Base();
            IMS_AdminSuite.Common commIMS = new IMS_AdminSuite.Common();
            Ladbrokes_IMS_TestRepository.Common commTest = new Ladbrokes_IMS_TestRepository.Common();
            AdminTests        Ob       = new AdminTests();
            AdminSuite.Common comAdmin = new AdminSuite.Common();
            #endregion
            #region DriverInitiation
            IWebDriver driverObj;
            string     regUrl   = ReadxmlData("regUrl", "vegas_reg", DataFilePath.IP2_Authetication);
            ISelenium  iBrowser = commonFramework.GetDriverByTestCaseName(SeleniumContainer, Gallio.Framework.TestContext.CurrentContext.Test.Name);
            driverObj = browserInitialize(iBrowser, regUrl);
            #endregion


            try
            {
                AddTestCase("Register using an existing username", "Given Passwordformat should be as expected");

                #region NewCustTestData
                regData.email = "*****@*****.**";
                commTest.Createcustomer_PostMethod(ref regData);
                WriteCommentToMailer("UserName: "******";\nPassword: "******"regdata", "Fname", DataFilePath.IP2_Authetication), ReadxmlData("regdata", "country_UK", DataFilePath.IP2_Authetication), ReadxmlData("regdata", "City_Web", DataFilePath.IP2_Authetication), ReadxmlData("regdata", "Password", DataFilePath.IP2_Authetication));
                ip2.Registration_UsernameCheck(driverObj, ref regData);

                BaseTest.Pass();
            }
            catch (Exception e)
            {
                exceptionStack(e);
                CaptureScreenshot(driverObj, "Portal");
                Fail("Verify_ExistinguserCheck_Registration failed");
            }
        }
Ejemplo n.º 8
0
        public void Verify_SportsFreeBet_bonus_notsatisfies_Ecom()
        {
            #region Declaration
            Registration_Data     regData = new Registration_Data();
            IMS_Base              baseIMS = new IMS_Base();
            IMS_AdminSuite.Common commIMS = new IMS_AdminSuite.Common();
            Ladbrokes_IMS_TestRepository.Common commTest = new Ladbrokes_IMS_TestRepository.Common();
            MyAcct_Data       acctData = new MyAcct_Data();
            AccountAndWallets AnW      = new AccountAndWallets();

            #endregion
            #region DriverInitiation
            IWebDriver driverObj;
            ISelenium  iBrowser = commonFramework.GetDriverByTestCaseName(SeleniumContainer, Gallio.Framework.TestContext.CurrentContext.Test.Name);
            driverObj = browserInitialize(iBrowser, FrameGlobals.EcomURL);
            #endregion

            try
            {
                AddTestCase("Create customer from Playtech pages", "Customer should be created.");
                regData.update_Registration_Data(ReadxmlData("regdata", "Fname", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "country_UK", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "City_Web", DataFilePath.Accounts_Wallets), ReadxmlData("regdata", "Password", DataFilePath.Accounts_Wallets));
                wAction._Type(driverObj, ICE.ObjectRepository.ORFile.Accounts_Wallets_Registration, wActions.locatorType.xpath, "Join_Ecom_Btn", Keys.Enter, "Join button not found", 0, false);
                string portalWindow = driverObj.WindowHandles.ToArray()[0].ToString();
                commonWebMethods.WaitAndMovetoPopUPWindow(driverObj, driverObj.WindowHandles.ToArray()[1].ToString(), "Unable to locate registration page");
                // AnW.Registration_PlaytechPages(driverObj, ref regData,0,false, ReadxmlData("bonus", "regProm", DataFilePath.Accounts_Wallets));

                commTest.PP_Registration(driverObj, ref regData, ReadxmlData("bonus", "betProm", DataFilePath.Accounts_Wallets));
                Pass("Customer registered succesfully");


                WriteCommentToMailer("UserName: "******";\nPassword: "******"Username:"******" Password:"******"");
                Pass();

                BaseTest.AddTestCase("Verify if new customers get bonus on Register (with promo Code) ->  First Deposit if condition satisfies.", "First deposit should be successful");
                // driverObj.SwitchTo().Window(driverObj.WindowHandles.ToArray()[1].ToString());
                BaseTest.Assert.IsTrue(AnW.Verify_FirstCashier_Neteller(driverObj, ReadxmlData("netdata", "account_id", DataFilePath.Accounts_Wallets),
                                                                        ReadxmlData("netdata", "account_pwd", DataFilePath.Accounts_Wallets),
                                                                        ReadxmlData("bonus", "depoWallet", DataFilePath.Accounts_Wallets),
                                                                        ReadxmlData("bonus", "depoWallet", DataFilePath.Accounts_Wallets),
                                                                        ReadxmlData("bonus", "betDepAmt", DataFilePath.Accounts_Wallets)),
                                       "Depositted amount not added to: " + ReadxmlData("bonus", "depoWallet", DataFilePath.Accounts_Wallets));
                Pass();

                driverObj.Close();
                driverObj.SwitchTo().Window(portalWindow);
                //switch to main window
                string eventName  = ReadxmlData("eventdata", "eventID", DataFilePath.Accounts_Wallets);
                string oddValue   = ReadxmlData("bonus", "selectionOdd_Negative", DataFilePath.Accounts_Wallets);
                string stake      = ReadxmlData("bonus", "stake_Negative", DataFilePath.Accounts_Wallets);
                string bonusname  = ReadxmlData("bonus", "betBonus", DataFilePath.Accounts_Wallets);
                string bonusvalue = ReadxmlData("bonus", "bet_value", DataFilePath.Accounts_Wallets);

                AnW.SearchEvent(driverObj, eventName);
                AnW.AddToBetSlipPlaceBet_selection(driverObj, oddValue, stake);

                AddTestCase("Verify whether freebet is triggered?", "Freebet should not be triggered");

                wAction._Click(driverObj, ORFile.Betslip, wActions.locatorType.xpath, "Close_Receipt", "close receipt button not found", 0, false);
                BaseTest.Assert.IsFalse(wAction.IsElementPresent(driverObj, By.XPath("//label[contains(text(),'£" + bonusvalue + " - " + bonusname + "')]")), "Freebet has triggered after placebet");
                Pass();

                Pass("Bonus amount added & successfully verified");
            }
            catch (Exception e)
            {
                exceptionStack(e);
                CaptureScreenshot(driverObj, "Portal");
                Fail("Verify_SportsFreeBet_bonus_notsatisfies_Ecom - failed");
            }
        }
Ejemplo n.º 9
0
        public void Verify_Games_Login_Logout_1908()
        {
            #region DriverInitiation
            IWebDriver driverObj;
            ISelenium  iBrowser = commonFramework.GetDriverByTestCaseName(SeleniumContainer, Gallio.Framework.TestContext.CurrentContext.Test.Name);
            driverObj = browserInitialize(iBrowser, FrameGlobals.GamesURL);
            #endregion

            #region Declaration
            Registration_Data regData = new Registration_Data();
            // Configuration testdata = TestDataInit();
            IMS_Base baseIMS = new IMS_Base();
            IMS_AdminSuite.Common commIMS = new IMS_AdminSuite.Common();
            Ladbrokes_IMS_TestRepository.Common commTest = new Ladbrokes_IMS_TestRepository.Common();
            Login_Data  loginData = new Login_Data();
            MyAcct_Data acctData  = new MyAcct_Data();
            #endregion

            AddTestCase("Verify login is successfull in games", "Login should be successfully");
            try
            {
                #region NewCustTestData
                regData.email = "*****@*****.**";
                commTest.Createcustomer_PostMethod(ref regData);
                loginData.username = regData.username;
                loginData.password = regData.password;
                #endregion
                WriteCommentToMailer("UserName: "******";\nPassword: "******"log", "ClientPlatform_games", DataFilePath.IP2_Authetication));
                commIMS.Validate_SessionLogin(baseIMS.IMSDriver, IMS_Control_PlayerDetails.LoginTime_XP, DateTime.Now.ToString("yyyy-MM-dd"));
                commIMS.Open_CheckLog(baseIMS.IMSDriver);
                commIMS.Validate_CheckLog(baseIMS.IMSDriver, IMS_Control_CasinoLog.SessionLogin_XP, ReadxmlData("log", "ClientPlatform_games", DataFilePath.IP2_Authetication));
                commIMS.Validate_CheckLog(baseIMS.IMSDriver, IMS_Control_CasinoLog.SessionLogin_XP, Generic.GetPublic_IPAddress());



                ip2.Logout_Games(driverObj);
                commIMS.SearchCustomer_Newlook(baseIMS.IMSDriver, loginData.username, false);
                commIMS.Validate_SessionLogin(baseIMS.IMSDriver, IMS_Control_PlayerDetails.ClientPlatform_XP, ReadxmlData("log", "ClientPlatform_games", DataFilePath.IP2_Authetication));
                commIMS.Validate_SessionLogin(baseIMS.IMSDriver, IMS_Control_PlayerDetails.LoginTime_XP, DateTime.Now.ToString("yyyy-MM-dd"));
                commIMS.Validate_SessionLogin(baseIMS.IMSDriver, IMS_Control_PlayerDetails.LogoutTime_XP, DateTime.Now.ToString("yyyy-MM-dd"));

                commIMS.Open_CheckLog(baseIMS.IMSDriver);
                commIMS.Validate_CheckLog(baseIMS.IMSDriver, IMS_Control_CasinoLog.SessionLogout_XP, ReadxmlData("log", "ClientPlatform_games", DataFilePath.IP2_Authetication));
                commIMS.Validate_CheckLog(baseIMS.IMSDriver, IMS_Control_CasinoLog.SessionLogout_XP, Generic.GetPublic_IPAddress());


                Pass("games login successfully");
            }
            catch (Exception e)
            {
                exceptionStack(e);
                CaptureScreenshot(driverObj, "portal");
                CaptureScreenshot(baseIMS.IMSDriver, "IMS");
                Fail("Verify_Games_Login_Logout - failed");
            }
            finally
            {
                baseIMS.Quit();
            }
        }