Problem: screenshots are being overwritten in each device's result html file
Scenario: I am running calabash-android to test a single mobile app running on multiple devices.
The SCREENSHOT_PATH environment variable is set as c:/AndroidApp/Results/deviceScreenshots/
This location will store all screenshots taken.
In a batch file an output format of html is specified and an output location of C:\AndroidApp\Results\device1\deviceId
For multiple devices we have a separate line per device, so device1, device2 etc.. etc..
When I finish the run and examine the screenshots for each device, I am seeing that screenshots are being overwritten and they are being taken from the environment variable location.
e.g: Environment variable folder has 10 screenshots
device 1 has taken 10 screen shots device 2 has taken 10 screen shots
device 2 contains the same 10 screen shots as device one, due to the environment variable folder's imagenames being screenshot1.png, screenshot2.png etc etc
I have specified an unique device folder for each device html result output, so we do have unique result files, however the screenshots are being overwritten as being taken from the Environment variable folder.
any ideas? thanks all.
Graeme