Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void TCID90407(AllAnswerableQuestionsCSVRecord data)
- {
- var testPage = TestCaseNavigation.
- GoToPageLocation(data.AccessionNumber, data.LoginId);
- testPage.Toolbar.ScratchworkButton.Click();
- testPage.ContentArea.VideoContent.MaxVolumeMuteButton.Validate().
- AssertVideoElementDisplayed().
- AssertVideoElementInDisabledState().
- AssertVideoElementHoverTextDisplayPrevented();
- }
- public class UnmuteButton : VideoContentElementWithHoverText
- {
- public override IWebElement ElementLocator => ElementRepository.UnmuteButton;
- public override string ExpectedDefaultHoverTextForEnglish => "Unmute";
- public override string ExpectedDefaultHoverTextForSpanish => throw new NotImplementedException();
- public UnmuteButton(IWebDriver driver) : base(driver)
- {
- }
- public UnmuteButtonAssert Validate()
- {
- return new UnmuteButtonAssert(Driver);
- }
- }
- public class PartialVolumeButton : VideoContentElementWithHoverText
- {
- public override IWebElement ElementLocator => ElementRepository.PartialVolumeButton;
- public override string ExpectedDefaultHoverTextForEnglish => "Mute";
- public override string ExpectedDefaultHoverTextForSpanish => throw new NotImplementedException();
- public PartialVolumeButton(IWebDriver driver) : base(driver)
- {
- }
- public PartialVolumeMuteButtonAssert Validate()
- {
- return new PartialVolumeMuteButtonAssert(Driver);
- }
- }
Add Comment
Please, Sign In to add comment