Contributions
Re: How to capture Test PASS or FAIL test count using a property
Am getting the following error as "Unexpected end of file after null" for the below script at Test Suit level in TearDown Can someone help me to resolve it. def passed=Integer.parseInt(runner.testSuite.project.getPropertyValue("passed")) def failed=Integer.parseInt(runner.testSuite.project.getPropertyValue("failed")) for ( testCaseResult in runner.results ) { for ( testStepResult in testCaseResult.getResults() ){ log.info testCaseResult.getResults().metaClass.methods*.name.sort().unique() log.info testStepResult.status if (testStepResult.status.toString()=="OK") passed++ else failed++ } } log.info "passed="+passed+" failed="+failed runner.testSuite.project.setPropertyValue("passed", "$passed" ) runner.testSuite.project.setPropertyValue("failed", "$failed" )1.3KViews0likes0CommentsRe: Can we invoke Selenium Webdriver through SOAP UI Pro
1.It was missing jar. 2. One part of the use case needs web interaction and other part should interact with web services, to complete that scenario. Due to this I wanted to invoke the web application using as ReadyAPI supports it through Groovy script. 3.Can you please elaborate what you meant by "while you can execute the tests independently"7 years agoPlace ReadyAPI QuestionsReadyAPI Questions5.8KViews0likes5CommentsCan we invoke Selenium Webdriver through SOAP UI Pro
Getting this error: java.lang.NoSuchMethodError: com.google.common.util.concurrent.SimpleTimeLimiter.create(Ljava/util/concurrent/ExecutorService;)Lcom/google/common/util/concurrent/SimpleTimeLimiter; error at line: 8 Here is the code Groovy script code: import org.openqa.selenium.By; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.WebElement; log.info("The Chrome driver test"); System.setProperty("webdriver.chrome.driver", "C:\\Users\\nhy1117\\Downloads\\chromedriver_win32\\chromedriver.exe"); // Initialize browser def driver = new ChromeDriver(); // OpenGoogle driver.get("http://www.google.com"); // Maximize browser driver.manage().window().maximize(); log.info("Go to thelaunch page");Solved7 years agoPlace ReadyAPI QuestionsReadyAPI Questions6.3KViews0likes11Comments