Good afternoon, guys.
I have a problem and your help is important. I have a mass of tests written in TestManager online and my scripts are in visual studio 2015. My VS scripts are logged in TestManager online and via Xpath takes the mass data. However, he had to do it differently. This part of logging in the testmanager should not appear, that is, it could be used, I believe, some api that would take the parameters without having to log in to TestManager. Can you help me with this? Today my code looks like this:
drivertfs.FindElement(By.XPath("html/body/div[2]/div/div[1]/div/div[2]/div[6]/div[1]/form/div[1]/div[4]/div/input")).SendKeys("[email protected]");
Thread.Sleep(5000);
drivertfs.FindElement(By.XPath("html/body/div[2]/div/div[1]/div/div[2]/div[6]/div[1]/form/div[1]/div[6]/div/input")).SendKeys("Ao198119");
drivertfs.FindElement(By.XPath("html/body/div[2]/div/div[1]/div/div[2]/div[6]/div[1]/form/div[2]/input")).Click();
Thread.Sleep(10000);
drivertfs.FindElement(By.XPath("html/body/div[1]/div/div[2]/div/div/div[1]/div/div[1]/div[2]/div/ul/li[4]/span/span/div/a")).Click();
Thread.Sleep(6000);
drivertfs.FindElement(By.XPath("html/body/div[1]/div/div[1]/div[2]/div[1]/div[2]/ul/li[5]/a")).Click();
Thread.Sleep(10000);
drivertfs.FindElement(By.LinkText("Parameters")).Click();
Thread.Sleep(10000);
var CloudPadraoAmbAdd = drivertfs.FindElement(By.XPath("html/body/div[1]/div/div[2]/div/div/div/div[3]/div/div[1]/div[3]/div[2]/div/div[1]/div[2]/div/div[2]/div[2]/div[1]/div[2]".Trim()));
String CloudPadAmbAdd = CloudPadraoAmbAdd.Text;
var AmbAdicP = drivertfs.FindElement(By.XPath("html/body/div[1]/div/div[2]/div/div/div/div[3]/div/div[1]/div[3]/div[2]/div/div[1]/div[2]/div/div[2]/div[2]/div[1]/div[6]".Trim()));
String AmbAdicionalP = AmbAdicP.Text;
drivertfs.Close();