Where would I find in Eclipse 4.9.0 a view which displays System.out.println()
outputs?
I am running tests via Ant
script from the Eclipse's Window. I can see the console output of the build but no internal messages from the tests.
Sample code:
List<WebElement> links = driver.findElements(By.partialLinkText("selenium i testowanie"));
assertEquals(6, links.size());
for (WebElement link : links) {
System.out.println("link: "+link.getAttribute("href"));
}
Please check below link for more information https://www.eclipse.org/forums/index.php/t/173521/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.