Esempio n. 1
0
        public AlienWeightResultPage FillOutForm(string planet, int earthWeight)
        {
            SelectElement planetDropDown = new SelectElement(AlienPlanet);

            planetDropDown.SelectByText(planet);
            EarthWeight.SendKeys(earthWeight.ToString());

            CalculateButton.Click();

            return(new AlienWeightResultPage(driver));
        }
Esempio n. 2
0
 public void ClearForm()
 {
     EarthWeight.Clear();
 }