/// <summary> /// Selects an OTL subscription plan on the web page. /// </summary> /// <param name="subscriptionPlan">Lynda.Test.ConsumerPages.OTLSubscriptionPlan.SubscriptionPlan type to select.</param> public void SelectOTLSubscription(OTLSubscriptionPlanRegPage1.SubscriptionPlan subscriptionPlan) { OTLSubscriptionPlanRegPage1 otlSubscriptionPlan = new OTLSubscriptionPlanRegPage1(subscriptionPlan); browser.ClickTitleBar(); otlSubscriptionPlan.EnterOTLSubscriptionPlan(); }
/// <summary> /// Gets OTL subscription plan info from the web page. /// </summary> /// <returns>OTL subscription plan info.</returns> public OTLSubscriptionPlanRegPage1 GetOTLSubscriptionPlan() { OTLSubscriptionPlanRegPage1 otlSubscriptionPlan = new OTLSubscriptionPlanRegPage1(); browser.ClickTitleBar(); otlSubscriptionPlan.GetOTLSubscriptionPlan(); return(otlSubscriptionPlan); }
/// <summary> /// Initializes a new Lynda.Test.ConsumerPages.RegPageStep1 class. /// </summary> /// <param name="browserForPage">Browser instance containing the consumer registration page step 1.</param> /// <param name="subscription">Subscription to select.</param> /// <param name="customAccountInfo">Custom account information to enter.</param> public RegPageStep1(Browser browserForPage, OTLSubscriptionPlanRegPage1.SubscriptionPlan subscription, AccountInfo customAccountInfo) : this(browserForPage) { SelectOTLSubscription(subscription); FillAccountInfo(customAccountInfo); }
/// <summary> /// Initializes a new Lynda.Test.ConsumerPages.RegPageStep1 class. /// </summary> /// <param name="browserForPage">Browser instance containing the consumer registration page step 1.</param> /// <param name="subscription">Subscription to select.</param> /// <param name="accountDefaultInfo">Type of account information to enter.</param> public RegPageStep1(Browser browserForPage, OTLSubscriptionPlanRegPage1.SubscriptionPlan subscription, AccountInfo.DefaultInfo accountDefaultInfo) : this(browserForPage, subscription, new AccountInfo(accountDefaultInfo)) { }
/// <summary> /// Gets OTL subscription plan info from the web page. /// </summary> /// <returns>OTL subscription plan info.</returns> public OTLSubscriptionPlanRegPage1 GetOTLSubscriptionPlan() { OTLSubscriptionPlanRegPage1 otlSubscriptionPlan = new OTLSubscriptionPlanRegPage1(); browser.ClickTitleBar(); otlSubscriptionPlan.GetOTLSubscriptionPlan(); return otlSubscriptionPlan; }