Exemple #1
0
        public void CheckLang()
        {
            DialogResult rs = DialogUtils.DialogConfirm("Is new content is updated with language?");

            if (rs == DialogResult.Yes)
            {
                Report.Success("Language content update successfully");
            }
            else
            {
                Report.Failure("Language content update failure");
            }
        }
Exemple #2
0
        public void Blinking()
        {
            Delay.Seconds(4);
            DialogResult rs = DialogUtils.DialogConfirm("Did warrant text box blinking 2 times?");

            if (rs == DialogResult.Yes)
            {
                Report.Success("The registration section is displayed 2 times");
            }
            else
            {
                Report.Failure("The registration section is not displayed 2 times");
            }
        }
Exemple #3
0
        public void Feedback()
        {
            repo.DHSMainWindow.Feedback.Click();
            Delay.Seconds(5);
            if (repo.DellInAppStudy.SelfInfo.Exists(20000))
            {
                DialogResult rs = DialogUtils.DialogConfirm("Please check there is no garbage/cutoff on the page \n Please check if the page is readable and cannot be zoom in/out");
                if (rs == DialogResult.Yes)
                {
                    Report.Success("Feedback page is displayed correctly");
                }
                else
                {
                    Report.Failure("Feedback page is displayed incorrectly");
                }
            }

            Delay.Seconds(5);
        }
        public void ClickImageButton()
        {
            Delay.Seconds(5);
            if (repo.DHSMainWindow.ClosePanelImageInfo.Exists(10))
            {
                repo.DHSMainWindow.ClosePanelImage.Click();
            }
            Delay.Seconds(2);

            repo.DHS_HaiNT21_Form.CircleButton.Click();

            DialogResult rs = DialogUtils.DialogConfirm("Did image is updated (Test image have red scrible)");

            if (rs == DialogResult.Yes)
            {
                Report.Success("New content is updated successfully");
            }
            else
            {
                Report.Failure("New content is not updated");
            }
        }