Пример #1
0
        /// <summary>
        /// Hides the async.
        /// </summary>
        /// <returns>The async.</returns>
        /// <param name="card">Card.</param>
        public Task CloseAsync(CardPage card)
        {
            var currentCardPageWrapper = _presentationContext.Pop();

            currentCardPageWrapper.Hide();
            return(Task.FromResult(true));
        }
Пример #2
0
        public void ChangeBoardNameAndTheme(string boardName)
        {
            var landingPage = new LandingPage(_driver);
            var boardPage   = new BoardPage(_driver);
            var cardPage    = new CardPage(_driver);

            _driver.Navigate().GoToUrl("http://*****:*****@id='root']/div/div/div[1]/a")));

            landingPage.Board.Click();
            boardPage.AddListInput.SendKeys("Another E2E test");
            boardPage.AddListInput.Submit();


            RefreshPage();
            landingPage.Board.Click();

            boardPage.AddCardInput.SendKeys("Another test");
            boardPage.AddCardInput.Submit();


            RefreshPage();
            landingPage.Board.Click();

            Actions action = new Actions(_driver);

            action.MoveToElement(boardPage.CardElement).Perform();

            boardPage.EditCardButton.Click();
            cardPage.DeleteCardButton.Click();
            Assert.AreEqual(cardPage.DeleteCardButton.Displayed, false);
            boardPage.RedColorButton.Click();
        }
        public static void InitializeView(LoginRegisterView view)
        {
            ViewComponent = view;

            UserStage = CustomerSellerStage.Customer;
            CardStage = CardPage.LoginPage;

            transition = new Transition(transFPS);
        }
Пример #4
0
        public void CreateListAndCard(
            string listInputText,
            string cardInputText,
            string cardTitle,
            string cardDesc,
            string cardStartDate,
            string cardEndDate)
        {
            const string assertionStartDate = "1995-10-06";
            const string assertionEndDate   = "2005-10-06";

            var landingPage = new LandingPage(_driver);
            var boardPage   = new BoardPage(_driver);
            var cardPage    = new CardPage(_driver);

            _driver.Navigate().GoToUrl("http://*****:*****@id='root']/div/div/div[1]/a")));

            landingPage.Board.Click();
            boardPage.AddListInput.SendKeys("E2E test");
            boardPage.AddListInput.Submit();

            Assert.That(boardPage.ListInput.GetAttribute("value"), Is.EqualTo(listInputText));

            RefreshPage();
            landingPage.Board.Click();

            boardPage.AddCardInput.SendKeys("Another test");
            boardPage.AddCardInput.Submit();

            Assert.That(boardPage.CardTitle.Text, Is.EqualTo(cardInputText));

            RefreshPage();
            landingPage.Board.Click();

            Actions action = new Actions(_driver);

            action.MoveToElement(boardPage.CardElement).Perform();

            boardPage.EditCardButton.Click();
            cardPage.TitleInput.Clear();
            cardPage.TitleInput.SendKeys(cardTitle);
            Assert.That(cardPage.TitleInput.GetAttribute("value"), Is.EqualTo(cardTitle));

            cardPage.DescriptionInput.SendKeys(cardDesc);
            Assert.That(cardPage.DescriptionInput.GetAttribute("value"), Is.EqualTo(cardDesc));

            cardPage.DateStartInput.SendKeys(cardStartDate);
            Assert.That(cardPage.DateStartInput.GetAttribute("value"), Is.EqualTo(assertionStartDate));

            cardPage.DateEndInput.SendKeys(cardEndDate);
            Assert.That(cardPage.DateEndInput.GetAttribute("value"), Is.EqualTo(assertionEndDate));

            cardPage.SaveButton.Click();
        }
Пример #5
0
        public Task ShowAsync(CardPage card)
        {
            var cardPageWrapper = new CardPageWrapperPopup(card){
                Title = card.Title,                
            };

            _presentationContext.Push(cardPageWrapper);            
            cardPageWrapper.Show();
            
            return Task.FromResult(true);
        }
Пример #6
0
        public Task CloseAsync(CardPage page)
        {
            if (_presentedCardPageContexts.ContainsKey(page))
            {
                var context = _presentedCardPageContexts[page];
                _presentedCardPageContexts.Remove(page);
                context.Popup.IsOpen = false;
            }

            return(Task.FromResult(true));
        }
Пример #7
0
        public Task ShowAsync(CardPage card)
        {
            var cardPageWrapper = new CardPageWrapperPopup(card)
            {
                Title = card.Title,
            };

            _presentationContext.Push(cardPageWrapper);
            cardPageWrapper.Show();

            return(Task.FromResult(true));
        }
Пример #8
0
    // Start is called before the first frame update
    void Start()
    {
        CardPoolMgr  poolMgr      = new CardPoolMgr(transform);
        CardPage     cardPage     = transform.Find("CardPage").gameObject.AddComponent <CardPage>();
        DeckList     deckList     = transform.Find("DeckArea/DeckList").gameObject.AddComponent <DeckList>();
        DeckListArea area         = transform.Find("DeckArea").gameObject.AddComponent <DeckListArea>();
        DraggingRoot draggingRoot = transform.Find("DraggingRoot").gameObject.AddComponent <DraggingRoot>();

        area.Init(deckList.EnterArea, deckList.ExitArea);
        deckList.Init(poolMgr, draggingRoot);
        draggingRoot.Init();
        cardPage.Init(_cardNumMax, poolMgr, draggingRoot);
        cardPage.AddEndListener(deckList.EndDrag);
    }
Пример #9
0
        public void AddAndDeleteItemFromCardTest()
        {
            CardPage cardPage = new CardPage(driver);

            driver.Manage().Timeouts().ImplicitWait = ImplicitWait;
            cardPage.ClickOnDeleteButton();
            driver.Manage().Timeouts().ImplicitWait = ImplicitWait;

            try
            {
                Assert.AreEqual(driver.FindElement(By.XPath("//*[@id='center_column']/p")), driver.FindElement(By.XPath("//*[@id='center_column']/p")));
            }
            catch (AssertionException e)
            {
                verificationErrors.Append(e.Message);
            }
        }
Пример #10
0
        public Task ShowAsync(CardPage page)
        {
            // Get ahold of the main window
            var frame        = Application.Current.RootVisual as PhoneApplicationFrame;
            var startPage    = frame.Content as PhoneApplicationPage;
            var canvas       = startPage.Content as Canvas;
            var pageRenderer = GetRenderer(canvas);


            // Create popup
            var popup = new Popup();

            pageRenderer.Children.Add(popup);

            // Add inner grid
            var popupGrid = new Grid
            {
                Opacity             = 0.5,
                Background          = new SolidColorBrush(Colors.Gray),
                VerticalAlignment   = VerticalAlignment.Stretch,
                HorizontalAlignment = HorizontalAlignment.Stretch,
            };

            // Set inner grid as parent to popup
            popup.Child      = popupGrid;
            popupGrid.Width  = pageRenderer.ActualWidth;
            popupGrid.Height = pageRenderer.ActualHeight;

            // Get XF representation of card page
            var cardElement = page.ConvertPageToUIElement(startPage);

            popupGrid.Children.Add(cardElement);

            // Add to context list
            _presentedCardPageContexts.Add(page, new CardPageContext {
                Popup = popup
            });

            // Show
            popup.IsOpen = true;

            return(Task.FromResult(true));
        }
        public void AddDeleteCards02()
        {
            HomePage HomePg = new HomePage(WebDriver);

            try
            {
                WebDriver.Manage().Window.Maximize();

                WebDriver.Navigate().GoToUrl("https://demo.billzy.com/home");

                LoginPage loginPage = new LoginPage(WebDriver);
                loginPage.UserNameTextBox().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                loginPage.UserNameTextBox().Clear();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                loginPage.UserNameTextBox().SendKeys("*****@*****.**");
                loginPage.PasswordTextBox().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                loginPage.PasswordTextBox().SendKeys("Cognito1");
                loginPage.LoginButton().Click();
                SeleniumSetMethods SetMethods = new SeleniumSetMethods(WebDriver);
                SeleniumSetMethods.WaitOnPage(secdelay7);
                CardPage CardPg = new CardPage(WebDriver);

                SendPage        SendPg         = new SendPage(WebDriver);
                ReceivedPage    Recpg          = new ReceivedPage(WebDriver);
                BillzyCashModal BillzyCashMlPg = new BillzyCashModal(WebDriver);
                SIVPage         SIVPG1         = new SIVPage(WebDriver);
                HomePg.Profile().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                HomePg.CardMgmnt().Click();
                SeleniumSetMethods.WaitOnPage(secdelay7);

                CardPg.DeleteCardbutton().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
            }
            finally
            {
            }
        }
Пример #12
0
        public Task ShowAsync(CardPage page)
        {
            // Get ahold of the main window
            var frame = Application.Current.RootVisual as PhoneApplicationFrame;
            var startPage = frame.Content as PhoneApplicationPage;
            var canvas = startPage.Content as Canvas;
            var pageRenderer = GetRenderer(canvas);


            // Create popup
            var popup = new Popup();
            pageRenderer.Children.Add(popup);

            // Add inner grid
            var popupGrid = new Grid
            {
                Opacity = 0.5,
                Background = new SolidColorBrush(Colors.Gray),
                VerticalAlignment = VerticalAlignment.Stretch,
                HorizontalAlignment = HorizontalAlignment.Stretch,
            };

            // Set inner grid as parent to popup
            popup.Child = popupGrid;
            popupGrid.Width = pageRenderer.ActualWidth;
            popupGrid.Height = pageRenderer.ActualHeight;

            // Get XF representation of card page
            var cardElement = page.ConvertPageToUIElement(startPage);            
            popupGrid.Children.Add(cardElement);

            // Add to context list
            _presentedCardPageContexts.Add(page, new CardPageContext { Popup = popup });

            // Show
            popup.IsOpen = true;

            return Task.FromResult(true);
        }
Пример #13
0
        public CardPageWrapperPopup(CardPage card)
        {
            _card = card;

            // Remove the standard circular button
            ActionPopUpButtons.RemoveAll(new Predicate <System.Windows.Controls.Button>(
                                             delegate(System.Windows.Controls.Button arg) { return(true); }));

            // Do any further initialization. e.g. loading some elements into the popup
            // This is our great hack. Without having the Platform property set, sizing isnt working
            // See the VisualElement.OnSizeRequest method.
            var pi = _card.GetType().GetProperty("Platform", System.Reflection.BindingFlags.Public |
                                                 System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);

            var val = pi.GetValue(Xamarin.Forms.Application.Current.MainPage);

            pi.SetValue(_card, val);

            // Set renderer
            if (Xamarin.Forms.Platform.WinPhone.ViewExtensions.GetRenderer(_card) == null)
            {
                Xamarin.Forms.Platform.WinPhone.ViewExtensions.SetRenderer(_card,
                                                                           RendererFactory.GetRenderer(_card));
            }

            // Layout
            _card.Layout(new Xamarin.Forms.Rectangle(0.0, 0.0, Application.Current.Host.Content.ActualWidth - 45,
                                                     _card.RequestedHeight));

            var el = (UIElement)Xamarin.Forms.Platform.WinPhone.ViewExtensions.GetRenderer(_card);

            this.Body = new Border
            {
                Width      = Application.Current.Host.Content.ActualWidth - 45,
                Height     = _card.RequestedHeight,
                Background = new SolidColorBrush(Colors.Blue),
                Child      = el
            };
        }
Пример #14
0
        public CardPageWrapperPopup(CardPage card)
        {
            _card = card;

            // Remove the standard circular button            
            ActionPopUpButtons.RemoveAll(new Predicate<System.Windows.Controls.Button>(
                delegate (System.Windows.Controls.Button arg) { return true; }));

            // Do any further initialization. e.g. loading some elements into the popup
            // This is our great hack. Without having the Platform property set, sizing isnt working
            // See the VisualElement.OnSizeRequest method.
            var pi = _card.GetType().GetProperty("Platform", System.Reflection.BindingFlags.Public |
                System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);

            var val = pi.GetValue(Xamarin.Forms.Application.Current.MainPage);
            pi.SetValue(_card, val);

            // Set renderer
            if (Xamarin.Forms.Platform.WinPhone.ViewExtensions.GetRenderer(_card) == null)
                Xamarin.Forms.Platform.WinPhone.ViewExtensions.SetRenderer(_card,
                    RendererFactory.GetRenderer(_card));

            // Layout
            _card.Layout(new Xamarin.Forms.Rectangle(0.0, 0.0, Application.Current.Host.Content.ActualWidth - 45,
                _card.RequestedHeight));

            var el = (UIElement)Xamarin.Forms.Platform.WinPhone.ViewExtensions.GetRenderer(_card);

            this.Body = new Border
            {                
                Width = Application.Current.Host.Content.ActualWidth - 45,
                Height = _card.RequestedHeight,
                Background = new SolidColorBrush(Colors.Blue),
                Child = el
            };
        }
Пример #15
0
 /// <summary>
 /// Shows the async.
 /// </summary>
 /// <returns>The async.</returns>
 /// <param name="card">Card.</param>
 public Task ShowAsync(CardPage card)
 {
     return(Application.Current.MainPage.Navigation.PushModalAsync(card, false));
 }
Пример #16
0
 /// <summary>
 /// Shows the card async.
 /// </summary>
 /// <returns>The async.</returns>
 /// <param name="page">Page.</param>
 public Task ShowAsync(CardPage page)
 {
     return(Xamarin.Forms.Application.Current.MainPage.Navigation.PushModalAsync(page));
 }
Пример #17
0
 /// <summary>
 /// Closes the card async
 /// </summary>
 /// <returns>The aync.</returns>
 /// <param name="page">Page.</param>
 public Task CloseAsync(CardPage page)
 {
     return(Xamarin.Forms.Application.Current.MainPage.Navigation.PopModalAsync());
 }
Пример #18
0
 public void CardsElementsDharmaPrortocolTest()
 {
     CardPage.VerifyElementsonDharmaSingleCard();
 }
Пример #19
0
 public void PaidOfCardsElementsValueDharmaPrortocolTest()
 {
     CardPage.VerifyProtocolsSingleCards();
 }
Пример #20
0
 public void CardsElementsMakerDaoPrortocolTest()
 {
     CardPage.VerifyElementsonMakerDaoSingleCard();
 }
        public static void swapPage(CardPage goTo)
        {
            const double speedMargin  = 0.3;
            const double speedOpacity = 0.4;
            const double multiplier   = 80;

            CardStage = goTo;

            if (UserStage == CustomerSellerStage.Customer)
            {
                if (goTo == CardPage.LoginPage)
                {
                    transition.makeTransition(ViewComponent.GridLoginCustomer,
                                              MarginPosition.Middle, 1,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer1,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer2,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer3,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");

                    transition.playTransition();
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridLoginCustomer,
                        Visibility.Visible);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer1,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer2,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer3,
                        Visibility.Hidden);
                }
                else if (goTo == CardPage.RegisterFirstPage)
                {
                    transition.makeTransition(ViewComponent.GridLoginCustomer,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer1,
                                              MarginPosition.Middle, 1,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer2,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer3,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");

                    transition.playTransition();
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridLoginCustomer,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer1,
                        Visibility.Visible);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer2,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer3,
                        Visibility.Hidden);
                }
                else if (goTo == CardPage.RegisterSecondPage)
                {
                    transition.makeTransition(ViewComponent.GridLoginCustomer,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer1,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer2,
                                              MarginPosition.Middle, 1,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer3,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");

                    transition.playTransition();
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridLoginCustomer,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer1,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer2,
                        Visibility.Visible);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer3,
                        Visibility.Hidden);
                }
                else if (goTo == CardPage.RegisterThirdPage)
                {
                    transition.makeTransition(ViewComponent.GridLoginCustomer,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer1,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer2,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterCustomer3,
                                              MarginPosition.Middle, 1,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");

                    transition.playTransition();
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridLoginCustomer,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer1,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer2,
                        Visibility.Visible);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterCustomer3,
                        Visibility.Visible);
                }
            }
            else
            {
                if (goTo == CardPage.LoginPage)
                {
                    transition.makeTransition(ViewComponent.GridLoginSeller,
                                              MarginPosition.Middle, 1,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller1,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller2,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller3,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");

                    transition.playTransition();
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridLoginSeller,
                        Visibility.Visible);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller1,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller2,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller3,
                        Visibility.Hidden);
                }
                else if (goTo == CardPage.RegisterFirstPage)
                {
                    transition.makeTransition(ViewComponent.GridLoginSeller,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller1,
                                              MarginPosition.Middle, 1,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller2,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller3,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");

                    transition.playTransition();
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridLoginSeller,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller1,
                        Visibility.Visible);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller2,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller3,
                        Visibility.Hidden);
                }
                else if (goTo == CardPage.RegisterSecondPage)
                {
                    transition.makeTransition(ViewComponent.GridLoginSeller,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller1,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller2,
                                              MarginPosition.Middle, 1,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller3,
                                              MarginPosition.Right, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");

                    transition.playTransition();
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridLoginSeller,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller1,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller2,
                        Visibility.Visible);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller3,
                        Visibility.Hidden);
                }
                else if (goTo == CardPage.RegisterThirdPage)
                {
                    transition.makeTransition(ViewComponent.GridLoginSeller,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller1,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller2,
                                              MarginPosition.Left, 0,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");
                    transition.makeTransition(ViewComponent.GridRegisterSeller3,
                                              MarginPosition.Middle, 1,
                                              speedMargin * multiplier / transFPS,
                                              speedOpacity * multiplier / transFPS,
                                              "with previous");

                    transition.playTransition();
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridLoginSeller,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller1,
                        Visibility.Hidden);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller2,
                        Visibility.Visible);
                    ComponentHelper.changeZIndexComponent(
                        ViewComponent.GridRegisterSeller3,
                        Visibility.Visible);
                }
            }
        }
Пример #22
0
 public void SetUp()
 {
     _mainPage = new MainPage(Driver).GoToMainPage();
     _cardPage = _mainPage.GoToCardPage();
 }
        public void AddDeleteCards01()
        {
            HomePage HomePg = new HomePage(WebDriver);

            try
            {
                Console.WriteLine(WebDriver.Manage().Window.Size);

                /*
                 *
                 * WebDriver.Manage().Window.Size = new Size(825, 990);
                 * SeleniumSetMethods.WaitOnPage(secdelay5);
                 * Console.WriteLine(WebDriver.Manage().Window.Size);
                 * Console.WriteLine("Test");
                 */

                WebDriver.Manage().Window.Maximize();

                WebDriver.Navigate().GoToUrl("https://demo.billzy.com/home");

                LoginPage loginPage = new LoginPage(WebDriver);
                loginPage.UserNameTextBox().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                loginPage.UserNameTextBox().Clear();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                loginPage.UserNameTextBox().SendKeys("*****@*****.**");
                loginPage.PasswordTextBox().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                loginPage.PasswordTextBox().SendKeys("Cognito1");
                loginPage.LoginButton().Click();
                SeleniumSetMethods SetMethods = new SeleniumSetMethods(WebDriver);
                SeleniumSetMethods.WaitOnPage(secdelay7);
                CardPage CardPg = new CardPage(WebDriver);

                SendPage        SendPg         = new SendPage(WebDriver);
                ReceivedPage    Recpg          = new ReceivedPage(WebDriver);
                BillzyCashModal BillzyCashMlPg = new BillzyCashModal(WebDriver);
                SIVPage         SIVPG1         = new SIVPage(WebDriver);
                HomePg.Profile().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                HomePg.CardMgmnt().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.AddCard().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);

                //testInfo = Test 1 : Card Management - "Add Card" All Fields Displayed
                IWebElement bodyTag    = WebDriver.FindElement(By.TagName("body"));
                bool        card1      = bodyTag.Text.Contains("Add Card");
                bool        card2      = bodyTag.Text.Contains("Name on Credit Card");
                bool        card3      = bodyTag.Text.Contains("Credit Card Number");
                bool        card4      = bodyTag.Text.Contains("Expiry Date");
                bool        card5      = bodyTag.Text.Contains("Account Nickname");
                bool        CardField1 = CardPg.CardName().Displayed;
                bool        CardField2 = CardPg.NumberOnCard().Displayed;
                bool        CardField3 = CardPg.EndMonth().Displayed;
                bool        CardField4 = CardPg.EndYear().Displayed;
                bool        CardField5 = CardPg.CardNickname().Displayed;
                bool        CardField6 = CardPg.AddCard().Displayed;
                bool        CardField7 = CardPg.Cancel().Displayed;
                SeleniumSetMethods.WaitOnPage(secdelay2);
                Assert.IsTrue(card1 == true && card2 == true && card3 == true && card4 == true && card5 == true && CardField1 == true && CardField2 == true && CardField3 == true && CardField4 == true && CardField5 == true && CardField6 == true && CardField7 == true);

                //Master Card
                CardPg.CardName().SendKeys("Credit Card Owner");
                CardPg.NumberOnCard().SendKeys("5454545454545454");
                CardPg.EndMonth().SendKeys("12");
                CardPg.EndYear().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.EndYear().Clear();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.EndYear().SendKeys("21");
                CardPg.CardCvc().SendKeys("123");
                CardPg.CardNickname().SendKeys("TestOnly");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.AddCard2().Click();
                SeleniumSetMethods.WaitOnPage(secdelay7);
                //CardPg.DeleteCard().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                //Visa Card
                CardPg.AddCard().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.CardName().SendKeys("Credit Card Owner");
                CardPg.NumberOnCard().SendKeys("4111111111111111");
                CardPg.EndMonth().SendKeys("12");
                CardPg.EndYear().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.EndYear().Clear();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.EndYear().SendKeys("21");
                CardPg.CardCvc().SendKeys("123");
                CardPg.CardNickname().SendKeys("TestOnly");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.AddCard2().Click();
                SeleniumSetMethods.WaitOnPage(secdelay4);
                //CardPg.DeleteCard().Click();
                CardPg.DeleteCard().Click();
                //Add  invalid Card number " Credit Card Number Field Error message
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.AddCard().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.CardName().SendKeys("Credit Card Owner");
                CardPg.NumberOnCard().SendKeys("4111111111111199");
                CardPg.EndMonth().SendKeys("12");
                CardPg.EndYear().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.EndYear().Clear();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.EndYear().SendKeys("21");
                CardPg.CardCvc().SendKeys("123");
                CardPg.CardNickname().SendKeys("TestOnly");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.AddCard2().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                IWebElement bodyTag1 = WebDriver.FindElement(By.TagName("body"));
                bool        err1     = bodyTag1.Text.Contains("Invalid card number.");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                Assert.IsTrue(err1 == true);
                CardPg.AddCard().Click();
                IWebElement bodyTag11 = WebDriver.FindElement(By.TagName("body"));
                SeleniumSetMethods.WaitOnPage(secdelay2);
                bool refresh1 = bodyTag11.Text.Contains("Add Credit Card");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                Assert.IsTrue(refresh1 == true);
                SeleniumSetMethods.WaitOnPage(secdelay2);
                WebDriver.Navigate().Refresh();
                SeleniumSetMethods.WaitOnPage(secdelay5);
                IWebElement bodyTag22 = WebDriver.FindElement(By.TagName("body"));
                SeleniumSetMethods.WaitOnPage(secdelay2);
                bool refresh11 = bodyTag22.Text.Contains("Add Credit Card");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                Assert.IsTrue(refresh11 == false);
                CardPg.AddCard().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.CardName().SendKeys("Credit Card Owner");
                CardPg.NumberOnCard().SendKeys("8113131313133313");
                CardPg.EndMonth().SendKeys("12");
                CardPg.EndYear().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.EndYear().Clear();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.EndYear().SendKeys("21");
                CardPg.CardCvc().SendKeys("123");
                CardPg.CardNickname().SendKeys("TestOnly");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                CardPg.AddCard2().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                IWebElement bodyTag2 = WebDriver.FindElement(By.TagName("body"));
                bool        err2     = bodyTag2.Text.Contains("Only Visa and MasterCard are accepted at present.");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                Assert.IsTrue(err2 == true);
                CardPg.Cancel().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                //Add Debit Card functionality
                DebitCardPage DebitPg = new DebitCardPage(WebDriver);
                DebitPg.DebitCardBTN().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                DebitPg.AddBankAccountBTN().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                DebitPg.NameofAccount().SendKeys("AddDebitAccount1");
                DebitPg.Bsb().SendKeys("123456");
                DebitPg.AccountNumber().SendKeys("123456789");
                DebitPg.BankName().SendKeys("commBank");
                DebitPg.AccountNickname().SendKeys("DebitNickName1");
                DebitPg.TCCheckbox().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                DebitPg.AddDebitAccountBTN().Click();
                SeleniumSetMethods.WaitOnPage(secdelay4);
                IWebElement bodyTag3   = WebDriver.FindElement(By.TagName("body"));
                bool        bank1      = bodyTag3.Text.Contains("Account Nickname");
                bool        bank2      = bodyTag3.Text.Contains("BSB");
                bool        bank3      = bodyTag3.Text.Contains("Account Number");
                bool        bank4      = bodyTag3.Text.Contains("Bank");
                bool        bank5      = bodyTag3.Text.Contains("Account Name");
                bool        bankField1 = bodyTag3.Text.Contains("Delete");
                bool        bankField2 = bodyTag3.Text.Contains("DebitNickName1");
                bool        bankField3 = bodyTag3.Text.Contains("123456");
                bool        bankField4 = bodyTag3.Text.Contains("123456789");
                bool        bankField5 = bodyTag3.Text.Contains("commBank");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                Assert.IsTrue(bank1 == true && bank2 == true && bank3 == true && bank4 == true && bank5 == true && bankField1 == true && bankField2 == true && bankField3 == true && bankField4 == true && bankField5 == true);
                DebitPg.Deleteaccount().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                IWebElement bodyTag4 = WebDriver.FindElement(By.TagName("body"));
                bool        bankdet1 = bodyTag4.Text.Contains("DebitNickName1");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                Assert.IsTrue(bankdet1 == false);
                DebitPg.DebitCardBTN().Click();
                //verify the headings
                string title = CardPg.BankAccountTitles().Text;
                Console.WriteLine("title" + title);
                string data = CardPg.BankAccountData().Text;
                Console.WriteLine("data" + data);
                WebDriver.Navigate().GoToUrl("https://demo.billzy.com/received");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                HomePg.SignOutBTN().Click();
            }
            finally
            {
            }
        }
Пример #24
0
 public CardPageViewModel()
 {
     this.page = new CardPage();
 }
Пример #25
0
 public CardPageViewModel(CardPage page)
 {
     this.page = page;
 }
Пример #26
0
		/// <summary>
		/// Shows the async.
		/// </summary>
		/// <returns>The async.</returns>
		/// <param name="card">Card.</param>
		public Task ShowAsync (CardPage card)
		{	
			return Application.Current.MainPage.Navigation.PushModalAsync (card, false);
		}
Пример #27
0
        public Task CloseAsync(CardPage page)
        {
            if (_presentedCardPageContexts.ContainsKey(page))
            {
                var context = _presentedCardPageContexts[page];
                _presentedCardPageContexts.Remove(page);
                context.Popup.IsOpen = false;
            }

            return Task.FromResult(true);
        }
Пример #28
0
 /// <summary>
 /// Hides the async.
 /// </summary>
 /// <returns>The async.</returns>
 /// <param name="card">Card.</param>
 public Task CloseAsync(CardPage card)
 {
     var currentCardPageWrapper = _presentationContext.Pop();
     currentCardPageWrapper.Hide();
     return Task.FromResult(true);
 }
Пример #29
0
 /// <summary>
 /// Hides the async.
 /// </summary>
 /// <returns>The async.</returns>
 /// <param name="card">Card.</param>
 public Task CloseAsync(CardPage card)
 {
     return(Application.Current.MainPage.Navigation.PopModalAsync());
 }
Пример #30
0
		/// <summary>
		/// Hides the async.
		/// </summary>
		/// <returns>The async.</returns>
		/// <param name="card">Card.</param>
		public Task CloseAsync (CardPage card)
		{
			return Application.Current.MainPage.Navigation.PopModalAsync ();
		}
        public void ClientManagement01_TOM()
        {
            HomePage HomePg = new HomePage(WebDriver);

            try
            {
                WebDriver.Manage().Window.Maximize();
                WebDriver.Navigate().GoToUrl("https://demo.billzy.com/home");
                LoginPage loginPage = new LoginPage(WebDriver);
                loginPage.UserNameTextBox().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                loginPage.UserNameTextBox().Clear();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                loginPage.UserNameTextBox().SendKeys("*****@*****.**");
                loginPage.PasswordTextBox().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                loginPage.PasswordTextBox().SendKeys("Cognito1");
                loginPage.LoginButton().Click();
                SeleniumSetMethods   SetMethods = new SeleniumSetMethods(WebDriver);
                ClientManagementPage clientpg   = new ClientManagementPage(WebDriver);
                SeleniumSetMethods.WaitOnPage(secdelay7);
                CardPage CardPg = new CardPage(WebDriver);

                SendPage        SendPg         = new SendPage(WebDriver);
                ReceivedPage    Recpg          = new ReceivedPage(WebDriver);
                BillzyCashModal BillzyCashMlPg = new BillzyCashModal(WebDriver);
                SIVPage         SIVPG1         = new SIVPage(WebDriver);
                HomePg.Profile().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                clientpg.AddCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                IWebElement     bodyTag       = WebDriver.FindElement(By.TagName("body"));
                AddCustomerPage AddCustomerPg = new AddCustomerPage(WebDriver);
                Random          rand          = new Random();
                DateTime        dt            = new DateTime();
                string          dtString      = dt.ToString("MM/dd/yyyy HH:mm:ss");
                int             randnumber1   = rand.Next();

                DateTime duedate1      = DateTime.Today;
                string   SentPgDueDate = duedate1.ToString("yyMMMdd");
                string   today         = duedate1.ToString("dd/MM/yyyy");
                bool     data111       = bodyTag.Text.Contains("Business Name");
                bool     data22        = bodyTag.Text.Contains("ABN");
                bool     data33        = bodyTag.Text.Contains("Contact Email");
                bool     data44        = bodyTag.Text.Contains("Street");
                bool     data55        = bodyTag.Text.Contains("Suburb");
                bool     data66        = bodyTag.Text.Contains("Postcode");
                bool     data77        = bodyTag.Text.Contains("Country");
                bool     data88        = bodyTag.Text.Contains("State");
                bool     data99        = bodyTag.Text.Contains("Contact Name");
                bool     data1010      = bodyTag.Text.Contains("Contact Phone Number");
                SeleniumSetMethods.WaitOnPage(secdelay3);
                Assert.IsTrue(data111 == true && data22 == true && data33 == true && data44 == true && data55 == true && data66 == true && data77 == true && data88 == true && data99 == true && data1010 == true);
                AddCustomerPg.BusinessName().Click();
                AddCustomerPg.BusinessName().SendKeys("1X ");
                SeleniumSetMethods.WaitOnPage(secdelay3);
                bool data12 = bodyTag.Text.Contains("No similar Billzy businesses found.");
                SeleniumSetMethods.WaitOnPage(secdelay3);
                Assert.IsTrue(data12 == true);

                AddCustomerPg.BusinessName().Click();
                AddCustomerPg.BusinessName().Clear();
                AddCustomerPg.BusinessName().SendKeys("1XZ ");
                SeleniumSetMethods.WaitOnPage(secdelay3);
                bool data13 = bodyTag.Text.Contains("No similar Billzy businesses found.");
                SeleniumSetMethods.WaitOnPage(secdelay3);
                Assert.IsTrue(data13 == true);


                AddCustomerPg.BusinessName().SendKeys("CM01-" + randnumber1);
                AddCustomerPg.Abn().SendKeys("10987654321");
                AddCustomerPg.ContactName().SendKeys("Test@" + randnumber1);
                AddCustomerPg.ContactEmail().SendKeys("madcowtesting10 + " + randnumber1 + "@gmail.com");
                AddCustomerPg.ContactPhoneNumber().SendKeys("12345671447");
                AddCustomerPg.Street().SendKeys("10 Miller Street");
                AddCustomerPg.Suburb().SendKeys("Murarrie");
                AddCustomerPg.Postcode().SendKeys("4172");
                AddCustomerPg.AddBTN().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                AddCustomerPg.SelectCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                AddCustomerPg.EditCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                AddCustomerPg.EditBusinessName().SendKeys("CM01-" + randnumber1 + "edit");
                SeleniumSetMethods.WaitOnPage(secdelay3);
                AddCustomerPg.SaveCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                IWebElement bodyTag1 = WebDriver.FindElement(By.TagName("body"));
                bool        edit     = bodyTag1.Text.Contains("CM01-" + randnumber1 + "edit");
                SeleniumSetMethods.WaitOnPage(secdelay3);
                Assert.IsTrue(edit == true);
                AddCustomerPg.RemoveCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                AddCustomerPg.ConfirmRemoveCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                clientpg.AddCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay2);
                AddCustomerPg.BusinessName().Click();
                AddCustomerPg.BusinessName().SendKeys("madco");
                SeleniumSetMethods.WaitOnPage(secdelay3);

                IWebElement bodyTag0 = WebDriver.FindElement(By.TagName("body"));
                SeleniumSetMethods.WaitOnPage(secdelay3);
                bool data14 = bodyTag0.Text.Contains("10 similar Billzy businesses found.");
                SeleniumSetMethods.WaitOnPage(secdelay3);
                Assert.IsTrue(data14 == true);
                AddCustomerPg.SelectCustomerlist().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                AddCustomerPg.AddBTN().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);

                bool billzylogo = clientpg.BillzyLogoIdentifier().Displayed;
                SeleniumSetMethods.WaitOnPage(secdelay3);
                Assert.IsTrue(billzylogo == true);
                SeleniumSetMethods.WaitOnPage(secdelay3);
                AddCustomerPg.SelectCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                AddCustomerPg.RemoveCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                AddCustomerPg.ConfirmRemoveCustomer().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                //Show TOM score on member settings page
                TOM tompg = new TOM(WebDriver);
                tompg.TOMicon().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                IWebElement bodyTag2 = WebDriver.FindElement(By.TagName("body"));
                bool        tom1     = bodyTag2.Text.Contains("TOM (Trust Our Member)");
                bool        tom2     = bodyTag2.Text.Contains("Your TOM score is calculated based on a range of weighted factors, which are measured during your membership.");
                bool        tom3     = bodyTag2.Text.Contains("Interactions with other members, utilising cash flow optimising products billzy Cash or Deal and concluding business within the invoice terms will result in a healthy growth of your TOM score.");
                bool        tom4     = bodyTag2.Text.Contains("A lack of interaction with other members, paying invoices late and infrequent use of invoicing will result in a lower TOM score.");
                bool        tom5     = bodyTag2.Text.Contains("Getting a higher TOM score can mean lower rates for Cash and access to other offers from time to time.");
                bool        tom6     = bodyTag2.Text.Contains("TOM Score");
                bool        tom7     = bodyTag2.Text.Contains("Member Since");
                //string tom8 = tompg.Memnbershipdate().Text;
                //string tom9 = tompg.TOMScore().Text;
                SeleniumSetMethods.WaitOnPage(secdelay3);
                Assert.IsTrue(tom1 == true && tom2 == true && tom3 == true && tom4 == true && tom5 == true && tom6 == true && tom7 == true);
                //Action action = new Action(WebDriver);
                //WebDriver.FindElement(TOMinfoIcon())
                tompg.TOMinfoIcon().Click();
                SeleniumSetMethods.WaitOnPage(secdelay3);
                WebDriver.PageSource.Contains("22/10/2019");
                WebDriver.PageSource.Contains("0/100");
                IWebElement bodyTag3 = WebDriver.FindElement(By.TagName("body"));
                WebDriver.PageSource.Contains("A new member typically starts with a score of 24.");
                WebDriver.PageSource.Contains("As your time as a member increases and you interact with others in the community, your score will increase.");
                WebDriver.PageSource.Contains("A higher score makes other members more likely to do business with you");
                WebDriver.PageSource.Contains("A higher score also gives you access to lower rates for Cash and other special benefits from time to time.");
                WebDriver.PageSource.Contains("Raising invoices and paying them on time increases the score.");
                WebDriver.PageSource.Contains("So does using the billzy cashflow management tools such as paying by card, billzy Deal and billzy Cash.");
                WebDriver.PageSource.Contains("Paying late or raising invoices that do not get paid will lower it.");
                SeleniumSetMethods.WaitOnPage(secdelay3);
                WebDriver.Navigate().GoToUrl("https://demo.billzy.com/received");
                SeleniumSetMethods.WaitOnPage(secdelay2);
                HomePg.SignOutBTN().Click();
            }
            finally
            {
            }
        }