Guest User

Untitled

a guest
Apr 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. public void TCID90407(AllAnswerableQuestionsCSVRecord data)
  2. {
  3. var testPage = TestCaseNavigation.
  4. GoToPageLocation(data.AccessionNumber, data.LoginId);
  5. testPage.Toolbar.ScratchworkButton.Click();
  6. testPage.ContentArea.VideoContent.MaxVolumeMuteButton.Validate().
  7. AssertVideoElementDisplayed().
  8. AssertVideoElementInDisabledState().
  9. AssertVideoElementHoverTextDisplayPrevented();
  10. }
  11. public class UnmuteButton : VideoContentElementWithHoverText
  12. {
  13. public override IWebElement ElementLocator => ElementRepository.UnmuteButton;
  14.  
  15. public override string ExpectedDefaultHoverTextForEnglish => "Unmute";
  16. public override string ExpectedDefaultHoverTextForSpanish => throw new NotImplementedException();
  17.  
  18. public UnmuteButton(IWebDriver driver) : base(driver)
  19. {
  20. }
  21.  
  22. public UnmuteButtonAssert Validate()
  23. {
  24. return new UnmuteButtonAssert(Driver);
  25. }
  26. }
  27. public class PartialVolumeButton : VideoContentElementWithHoverText
  28. {
  29. public override IWebElement ElementLocator => ElementRepository.PartialVolumeButton;
  30.  
  31. public override string ExpectedDefaultHoverTextForEnglish => "Mute";
  32. public override string ExpectedDefaultHoverTextForSpanish => throw new NotImplementedException();
  33.  
  34. public PartialVolumeButton(IWebDriver driver) : base(driver)
  35. {
  36. }
  37.  
  38. public PartialVolumeMuteButtonAssert Validate()
  39. {
  40. return new PartialVolumeMuteButtonAssert(Driver);
  41. }
  42. }
Add Comment
Please, Sign In to add comment