Exemple #1
0
        //----------ANTECEDENCIA MINIMA GRAVACAO-------------\\
        public void PreencherDiasAntecedencia(string dias)
        {
            InputAntecedenciaMinima.Esperar(Browser, 2000);
            InputAntecedenciaMinima.EsperarElemento(Browser);
            if (InputAntecedenciaMinima.IsElementVisible(Browser))
            {
                AutomatedActions.SendDataATM(Browser, InputAntecedenciaMinima, dias);
            }

            SalvarParametrosProducao();
            PopUpAtencaoParametros();
        }
Exemple #2
0
        public void AlterarParametrosProducao(string FolgaSemanal, string AntecedenciaMinima)
        {
            if (FolgaSemanal != "")
            {
                InputQtdDiasFolgaSemanal.EsperarElemento(Browser);
                InputQtdDiasFolgaSemanal.IsElementVisible(Browser);
                AutomatedActions.SendDataATM(Browser, InputQtdDiasFolgaSemanal, FolgaSemanal);
            }
            if (AntecedenciaMinima != "")
            {
                InputAntecedenciaMinima.EsperarElemento(Browser);
                InputAntecedenciaMinima.IsElementVisible(Browser);
                AutomatedActions.SendDataATM(Browser, InputAntecedenciaMinima, AntecedenciaMinima);
            }

            SalvarParametrosProducao();
            PopUpAtencaoParametros();
        }