public RepresentativeQuestionnaireSteps(LoginSteps loginSteps, TestContext testContext, BrowserContext browserContext, ErrorMessage errorMessage, InformationSteps information, ScenarioContext scenarioContext) : base(testContext, browserContext, information, scenarioContext) { _information = information; _browserContext = browserContext; _aboutVideoHearings = new DecisionJourney(browserContext, RepresentativePageUrl.AboutVideoHearings); _aboutYouAndYouClient = new DecisionJourney(browserContext, RepresentativePageUrl.AboutYouAndYourClient, RepresentativeQuestionKeys.AboutYourClient); _aboutYou = new DecisionJourney(browserContext, RepresentativePageUrl.AboutYou, RepresentativeQuestionKeys.AboutYou); _accessToRoom = new DecisionJourney(browserContext, RepresentativePageUrl.AccessToRoom, RepresentativeQuestionKeys.AccessToRoom); _aboutYourClient = new DecisionJourney(browserContext, RepresentativePageUrl.AboutYourClient, RepresentativeQuestionKeys.AboutYourClient); _clientAttendance = new DecisionJourney(browserContext, RepresentativePageUrl.ClientAttendance, RepresentativeQuestionKeys.ClientAttendance); _hearingSuitability = new DecisionJourney(browserContext, RepresentativePageUrl.HearingSuitability, RepresentativeQuestionKeys.HearingSuitability); _yourComputer = new DecisionJourney(browserContext, RepresentativePageUrl.YourComputerRep, RepresentativeQuestionKeys.YourComputer); _aboutYourComputer = new DecisionJourney(browserContext, RepresentativePageUrl.AboutYourComputerRep, RepresentativeQuestionKeys.AboutYourComputer); _questionnaireCompleted = new DecisionJourney(browserContext, RepresentativePageUrl.QuestionnaireCompleted); _thankYou = new Page(browserContext, RepresentativePageUrl.ThankYouRep); _pleaseContactUs = new Page(browserContext, RepresentativePageUrl.PleaseContactUs); _checkYourComputer = new DecisionJourney(browserContext, PageUri.CheckYourComputer); _switchOnCameraAndMicrophone = new DecisionJourney(browserContext, PageUri.SwitchOnCameraAndMicrophone); _testYourEquipment = new DecisionJourney(browserContext, PageUri.TestYourEquipment); _cameraWorking = new DecisionJourney(browserContext, PageUri.CameraWorking); _microphoneWorking = new DecisionJourney(browserContext, PageUri.MicrophoneWorking); _videoWorking = new DecisionJourney(browserContext, PageUri.VideoWorking); _signInOnComputer = new Page(browserContext, PageUri.SignInOncomputer); _signBackIn = new Page(browserContext, PageUri.SignBackIn); _equipmentBlocked = new Page(browserContext, PageUri.EquipmentBlocked); _testContext = testContext; _representativeParticipantId = _testContext.RepresentativeParticipantId; _loginSteps = loginSteps; }
public QuestionnaireJourney(TestContext testContext, BrowserContext browserContext, InformationSteps information, ScenarioContext scenarioContext) { _information = information; _errorMessage = new ErrorMessage(browserContext); _thankYou = new Page(browserContext, PageUri.ThankYouPage); _checkYourComputer = new DecisionJourney(browserContext, PageUri.CheckYourComputer); _scenarioContext = scenarioContext; _testContext = testContext; }
public IndividualQuestionnaireSteps(LoginSteps loginSteps, TestContext testContext, BrowserContext browserContext, InformationSteps information, ScenarioContext scenarioContext) : base(testContext, browserContext, information, scenarioContext) { _aboutYou = new DecisionJourney(browserContext, PageUri.AboutYouPage); _interpreter = new DecisionJourney(browserContext, PageUri.InterpreterPage); _yourComputer = new DecisionJourney(browserContext, PageUri.YourComputerPage); _aboutYourComputer = new DecisionJourney(browserContext, PageUri.AboutYourComputerPage); _information = information; _yourInternetConnection = new DecisionJourney(browserContext, PageUri.YourInternetConnectionPage); _accessToRoom = new DecisionJourney(browserContext, PageUri.AccessToARoomPage); _consent = new DecisionJourney(browserContext, PageUri.ConsentPage); _checkYourComputer = new DecisionJourney(browserContext, PageUri.CheckYourComputer); _switchOnCameraAndMicrophone = new DecisionJourney(browserContext, PageUri.SwitchOnCameraAndMicrophone); _testYourEquipment = new DecisionJourney(browserContext, PageUri.TestYourEquipment); _cameraWorking = new DecisionJourney(browserContext, PageUri.CameraWorking); _microphoneWorking = new DecisionJourney(browserContext, PageUri.MicrophoneWorking); _videoWorking = new DecisionJourney(browserContext, PageUri.VideoWorking); _signInOnComputer = new DecisionJourney(browserContext, PageUri.SignInOncomputer); _signBackIn = new DecisionJourney(browserContext, PageUri.SignBackIn); _testContext = testContext; _individualParticipantId = _testContext.IndividualParticipantId; _loginSteps = loginSteps; }