Contributions
Error mscorlib.dll on integration with Appium to Test Android aplications
Hello, I'm trying to test mobile Android applications, so I'm doing a integration of Test Complete with Appium. But I'm receiving the folling error: mscorlib.dll I'm using this tutorial: https://unmesh.me/2013/08/25/testing-native-mobile-apps-with-testcomplete-and-appium-an-alternative/ This is my source code: procedure TstAndroid(); var Capabilities, CapabilityType, By, uri, driver, CalculateButton, WeightField, HeightField; begin Capabilities := dotNET.OpenQA_Selenium_Remote.DesiredCapabilities.zctor(); CapabilityType := dotNET.OpenQA_Selenium_Remote.CapabilityType; By := dotNET.OpenQA_Selenium.By; //Capabilities.setCapability(CapabilityType.BrowserName, 'Chrome'); Capabilities.setCapability(CapabilityType.Version, '19'); Capabilities.setCapability(CapabilityType.Platform, 'Android'); //Set up the RemoteWebDriver uri := dotNET.System.Uri.zctor('http://localhost:4723/wd/hub'); driver := dotNET.OpenQA_Selenium_Remote.RemoteWebDriver.zctor_3(uri,Capabilities); //Get the Hight text field and enter value HeightField := driver.FindElement(By.Name('Height')); HeightField.SendKeys('181'); //Get the Weight text field and enter value WeightField := driver.FindElement(By.Name('Weight')); WeightField.SendKeys('80'); //Get the Calculate button and tap/click on it CalculateButton := driver.FindElement(By.Name('Calculate')); CalculateButton.Click(); end; The error is occurring in this line: driver := dotNET.OpenQA_Selenium_Remote.RemoteWebDriver.zctor_3(uri,Capabilities);861Views0likes1Comment- 1.4KViews0likes1Comment
Re: I would like to known if is there any configuration when the TestComplete not find a object
First , thanks for you answer . I know the "wait window" property , or "wait object" . But I want this for the project and not to the specified test . I have a tree of tests , and I want that if a test not found the object , do a action. This action is , close the system , open the system and continues to run the next test of tree.1.2KViews0likes1Comment