Beispiel #1
0
        public PassoDoTeste(TestCase parent)
        {
            //if (parent.SistemaPai == null)
            //{
            //    MessageBox.Show("Passo do Teste: parent.SistemaPai == null");
            //}
            //else
            //{
            //    MessageBox.Show("sistema " + parent.SistemaPai.Nome);
            //}
            telasPossiveis = ScreenRepository.getAllTelas(parent.SistemaPai);

            //telasPossiveis = new ObservableCollection<Tela>(parent.SistemaPai.telas);
            resultado           = new AcaoDynResult();
            this.TestCaseParent = parent;
            List <Screen> telas = telasPossiveis.ToList();

            telas.OrderBy(tela => tela.Nome);
            telasPossiveis = new ObservableCollection <Screen>(telas);
        }