Esempio n. 1
0
        /// <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();
        }
Esempio n. 2
0
        /// <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);
        }
Esempio n. 3
0
 /// <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);
 }
Esempio n. 4
0
 /// <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))
 {
 }
Esempio n. 5
0
 /// <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();
 }
Esempio n. 6
0
 /// <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;
 }