History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-438
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Andras Hatvani
Reporter: Serik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

captureScreenshot should create all necessary directories for PNG file if they don't exist

Created: 28/Feb/08 10:19 PM   Updated: 14/Nov/08 07:05 PM
Component/s: Server
Affects Version/s: 0.9.2
Fix Version/s: 1.0

Original Estimate: 2h Remaining Estimate: 0h Time Spent: 0.17h


 Description  « Hide
when we call captureScreenshot, we point path for PNG file. . In case when client is on one computer and server - on another, client has no ability to create non-existent directories.
So, captureScreenshot command should create them automatically.

 All   Comments   Work Log   Change History      Sort Order:
Andras Hatvani - 29/Sep/08 06:11 PM
The mentioned task can be done as a manual preparation activity prior to test execution, which is a workaround, so reducing priority. However, implementing the change is easy and would further increase reliability of the feature.

Philippe Hanrigou - 30/Sep/08 02:59 PM
It is worth mentioning that "captureScreenshotToString" can be used to retrieve the screenshot from the remote control to the client. It suffers from the same bug and should be fixed too.

Andras Hatvani - 08/Oct/08 07:45 PM
Change implemented in r2471. Philippe, the mentioned alternative command doesn't deal with the file system, so it is not affected.