コード例 #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));
        }
コード例 #2
0
 public void ClearForm()
 {
     EarthWeight.Clear();
 }