public void Length_Conversion_Km_Mile() { // 1. Navigate to View page ViewPage vp = new ViewPage(); // 2. Navigate to UnitConversion page UnitConversionPage ucp = vp.ClickUnitConversion(); // 3. Set Unit type, From, To comboboxes ucp.SetComboBox(ucp.comboBoxUnitType, "Length"); ucp.SetComboBox(ucp.comboBoxFrom, "Kilometers"); ucp.SetComboBox(ucp.comboBoxTo, "Mile"); // 4. Input the value on From Edit ucp.EnterText(ucp.editFrom, "1"); // 5. Verify the result in To Edit Assert.AreEqual("0.621371192237334", ucp.editTo.Text); Playback.Wait(2000); }