Beispiel #1
0
        public virtual void SetUp()
        {
            Util.ClearTmpDir();

            TestService.StartSession(MonoDevelopBinPath);
            TestService.Session.DebugObject = new UITestDebug();
        }
Beispiel #2
0
        public virtual void SetUp()
        {
            SetupTestResultFolder(TestContext.CurrentContext.Test.FullName);
            var currentXSIdeLog = Path.Combine(currentTestResultFolder, string.Format("{0}.Ide.log", TestContext.CurrentContext.Test.FullName));

            Environment.SetEnvironmentVariable("MONODEVELOP_LOG_FILE", currentXSIdeLog);
            Environment.SetEnvironmentVariable("MONODEVELOP_FILE_LOG_LEVEL", "UpToInfo");

            var mdProfile = Util.CreateTmpDir();

            TestService.StartSession(MonoDevelopBinPath, mdProfile);
            TestService.Session.DebugObject = new UITestDebug();

            FoldersToClean.Add(mdProfile);
        }
Beispiel #3
0
        public virtual void SetUp()
        {
            SetupTestResultFolder();
            SetupTestLogger();
            SetupScreenshotsFolder();
            SetupIdeLogFolder();

            var mdProfile = CreateProfileAndInitSettings();

            TestService.StartSession(MonoDevelopBinPath, mdProfile);
            TestService.Session.DebugObject = new UITestDebug();

            FoldersToClean.Add(mdProfile);

            Session.WaitForElement(IdeQuery.DefaultWorkbench);
            TakeScreenShot("Application-Started");
            TakeScreenShot("Application-Ready");
        }
Beispiel #4
0
        public virtual void SetUp()
        {
            Util.ClearTmpDir();

            TestService.StartSession();
        }