//Click on the add lane button and verify the UI. public string AddLane_Verify() { try { //To pass !DEFAULT! for verification and actual value for adding a lane Assert.IsTrue(AddLane_Open()); Assert.IsTrue(Origin.ClearAndEdit(origin)); Thread.Sleep(2000); Assert.IsTrue(Origin.Edit(Keys.Enter)); Assert.IsTrue(Destination.ClearAndEdit(destination)); Thread.Sleep(2000); Assert.IsTrue(Destination.Edit(Keys.Enter)); Assert.IsTrue(Distance.ClearAndEdit(distnace)); Assert.IsTrue(LaneType.SelectByText(laneType)); Assert.IsTrue(EquipMode.SelectByText(equipMode)); Assert.IsTrue(EquipType.SelectByText(equipType)); Assert.IsTrue(EquipLength.ClearAndEdit(equipLength)); Assert.IsTrue(MinRate.ClearAndEdit(minRate)); Assert.IsTrue(MaxPay.ClearAndEdit(maxPay)); Assert.IsTrue(EffDate.ClearAndEdit(effDate)); Assert.IsTrue(ExpDate.ClearAndEdit(expDate)); Assert.IsTrue(VolType.SelectByText(volType)); Assert.IsTrue(VolTotal.ClearAndEdit(volTotal)); Assert.IsTrue(CoyoteRank.SelectByText(coyoteRank)); Assert.IsTrue(BidID.ClearAndEdit(bidID)); Assert.IsTrue(CustLaneID.ClearAndEdit(custLaneID)); Assert.IsTrue(CustCommitment.ClearAndEdit(custCommitment)); Assert.IsTrue(RateQuoteType.SelectByText(rateQuoteType)); Assert.IsTrue(OfferDistType.SelectByText(offerDistType)); Assert.IsTrue(PreTender.StatusCheckORPerFormAction(preTender)); Assert.IsTrue(AddLaneSubmitButton.StatusCheckORPerFormAction(addLaneBtn)); Assert.IsTrue(CancelAddLaneButton.StatusCheckORPerFormAction(cancelLaneBtn)); Assert.IsTrue(WaitUtilDisplayed(byObjRtGdDD)); return("VerificationSuccess"); } catch { return("VerificationFailed"); } }