Skip to main content

Problems with taking screenshot during the test

  5 posts   Feedicon  
Replies: 4 - Last Post: April 15, 2013 20:43
by: natalja.librante
showing 1 - 5 of 5
Posted: April 05, 2013 12:25 by natalja.librante
I have a problem with taking screenshot during the test running and thereby Thucydides didn't create reports.

In test i receive following error

77634 [main] WARN net.thucydides.core.webdriver.WebDriverFacade - Failed to take screenshot - driver closed already? (Could not take screenshot of current page - TypeError: c is null
Command duration or timeout: 237 milliseconds
Build info: version: '2.30.0', revision: 'dc1ef9ceb805a672f56dc49198f9ffbd4ca345c7', time: '2013-02-19 09:14:38'
System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_17'
Session ID: 2cd90a1e-f8c6-485e-a8cf-78de1131d319
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=XP, databaseEnabled=true, cssSelectorsEnabled=true, javascriptEnabled=true, acceptSslCerts=true, handlesAlerts=true, browserName=firefox, browserConnectionEnabled=true, nativeEvents=true, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=19.0.2}])
77637 [main] INFO net.thucydides.core.steps.StepInterceptor - STEP DONE: logout_from_page

Is this my project error, or it is Thucydides problem?
Posted: April 09, 2013 09:37 by Alexey
Hi!
I have similar messages in logs sometimes, but screenshots seem to be taken correctly nevertheless.
Are any screenshots really missed in your project's runs?
Posted: April 11, 2013 10:06 by natalja.librante
Yes - screenshots doesn't takes .
The directory were previously was collected all the screenshots - target\site\thucydides - is empty after test. So I cant aggregate any report for running tests
Posted: April 13, 2013 06:56 by johnsmart
Is the browser opening at all? Could be a problem with the Firefox/Selenium version - do you have the latest version of both Firefox and Thucydides?

By the way, the notification on the java.net site doesn't work well - the Google Groups (https://groups.google.com/forum/?fromgroups#!forum/thucydides-users) are more active.
Posted: April 15, 2013 20:43 by natalja.librante
Thanks. I repeat my question in Google Group
Replies: 4 - Last Post: April 15, 2013 20:43
by: natalja.librante
 
 
Close
loading
Please Confirm
Close