Exemplo n.º 1
0
        public void CreateNewProject(string name)
        {
            KeyChain kc = CTX.keyChain;

            CTX.driver.Url = kc.UrlBimTrack;

            BTLogin login = new BTLogin();

            login.LogIn(kc.LoginUsername, kc.LoginPassword);

            BTHubsTracks btHubsTracks = new BTHubsTracks();
            ProjectList  prjList      = btHubsTracks.OpenHubByName(kc.HubName);

            prjList.ClickMenuItem("Projects");
            ProjectList.AddProjectDialog addProjectDialog = prjList.ClickAddNewProject();
            addProjectDialog.FillProjectForm(name);
            addProjectDialog.ClickCreateButton();
        }