public bool Click_SignIn()
 {
     try
     {
         obj = new Sign_inPL();
         Common.press(obj.Get_Signin_Btn());
         return(true);
     }
     catch (Exception e)
     {
         Console.Write(e.Message);
         return(false);
     }
 }
Exemplo n.º 2
0
        public bool pick_flight()
        {
            try
            {
                common1.switchwindow();
                common1.wait();
                FlightReviewAndSelecionBL.fare = common1.getFare1(obj1.slect_fligh1());

                common1.press(obj1.slect_fligh1());
                common1.wait();
                common1.switchwindow();
                common1.press(obj1.slect_fligh2());
                common1.switchwindow();
                common1.wait();
                common1.press(obj1.slect_fligh3());
                return(true);
            }
            catch (Exception e)
            {
                Console.Write(e.Message);
                return(false);
            }
        }
        public void click_flight()
        {
            try
            {
                obj = new HomePL();
                common.press(obj.Get_FLight_Btn());
                common.press(obj.Get_Multicity());
            }

            catch (Exception e)
            {
                Console.Write(e.Message);
            }
        }