Completed
Last Updated: 18 Jan 2016 07:16 by ADMIN
ADMIN
Ivaylo
Created on: 11 Feb 2014 11:59
Type: Bug Report
3
Missing images and DOM info from failed result using Remote Execution
Using project with failing test in list, run remotely or schedule the Telerik Test list. 

After run is completed, trying to see the Failure Image/DOM for the failed Step is not possible and exceptions are present in log about wrong path for image and DOM

[02/11 13:47:40,Telerik.TestStudio.RemoteExecutor.exe(9708:32),Execution] TestPlatform.AfterRunFinished() : Finished running test platform- attempting publish
[02/11 13:47:40,Telerik.TestStudio.RemoteExecutor.exe(9708:32),TestStudio] AutomationHostState.LoadFailureImageFromDisk() : Invalid file path to load the bitmap from: C:\Users\ittodorov\AppData\Local\Temp\ 130365928600593653_files\Add To Cart_0_ImageOnFailure.png
[02/11 13:47:40,Telerik.TestStudio.RemoteExecutor.exe(9708:32),TestStudio] AutomationHostState.LoadFailureDOMFromDisk() : Invalid file path to load the DOM from: C:\Users\ittodorov\AppData\Local\Temp\ 130365928600593653_files\Add To Cart_0_DomTreeOnFailure.txt
[02/11 13:47:40,Telerik.TestStudio.RemoteExecutor.exe(9708:5)] First trace message from pool unnamed thread (managed ID = 5, native ID = 11516).
[02/11 13:47:40,Telerik.TestStudio.RemoteExecutor.exe(9708:5),TestStudio] AutomationHostState.LoadFailureImageFromDisk() : Invalid file path to load the bitmap from: C:\Users\ittodorov\AppData\Local\Temp\ 130365928600593653_files\Add To Cart_0_ImageOnFailure.png
[02/11 13:47:40,Telerik.TestStudio.RemoteExecutor.exe(9708:5),TestStudio] AutomationHostState.LoadFailureDOMFromDisk() : Invalid file path to load the DOM from: C:\Users\ittodorov\AppData\Local\Temp\ 130365928600593653_files\Add To Cart_0_DomTreeOnFailure.txt
[02/11 13:47:40,Telerik.TestStudio.RemoteExecutor.exe(9708:5),TestStudio] AutomationHostState.LoadFailureImageFromDisk() : Invalid file path to load the bitmap from: C:\Users\ittodorov\AppData\Local\Temp\ 130365928600593653_files\Add To Cart_0_ImageOnFailure.png
[02/11 13:47:40,Telerik.TestStudio.RemoteExecutor.exe(9708:5),TestStudio] AutomationHostState.LoadFailureDOMFromDisk() : Invalid file path to load the DOM from: C:\Users\ittodorov\AppData\Local\Temp\ 130365928600593653_files\Add To Cart_0_DomTreeOnFailure.txt
7 comments
ADMIN
Daniel Djambov
Posted on: 18 Jan 2016 07:16
Telerik: it seems to be some confusion about this item (which is fine) and another item that is a Feature Request (http://feedback.telerik.com/Project/161/Feedback/Details/168477-executed-test-list-through-scheduling-does-not-include-screenshots-in-the-email-a) - please follow and vote for the latter item, which is about DOM and Image on failure in email attachments. The initial implementation of the mailing feature is to use emails for leads/managers to see overall run statistics, not dig into problems, that is why not needing DOM and images on failure. Thank you for the feedback.
Briar
Posted on: 15 Jan 2016 12:57
!?!  I beg to differ.  There is still a problem.  Because of the error,  the attached results file with the email notification is missing information about the failure(s).  The Images and DOM tab is either blank or displays a black image.  

We plan to use these email notifications to allow our project managers a quick view into automated test results without necessarily having to open TestStudio.  Being able to communicate this information is key to our implementation of automated testing.

Just my two cents.  Thanks.

Briar
ADMIN
Daniel Djambov
Posted on: 15 Jan 2016 11:23
Telerik: actually the only problem is that there is an error in the log for missing image and DOM, because during remote run files are saved to a local temp folder, then uploaded to storage DB and deleted locally, so the log says it cannot find them locally, but they are actually available in the failed step as being read from database. Bottom-line, no known problem exists currently.
ADMIN
Ivaylo
Posted on: 11 Jan 2016 16:24
This problem is reproduced again, reopening this bug
ADMIN
Daniel Djambov
Posted on: 07 Sep 2015 13:56
Telerik: we have fixed this scenario and all related remote execution scenarios and fixes will be available in our next official release planned for Q3 2015.
Ewin
Posted on: 31 Aug 2015 15:09
@Telerik, with this feedback item being in progress, I have a related feedback item that can relate to this. 

http://feedback.telerik.com/Project/161/Feedback/Details/126901-long-file-path-exception-handling

Resolving this feedback item would be appreciated since they both relate to the remoteexecutor.exe
ADMIN
Konstantin Petkov
Posted on: 10 Apr 2014 12:26
This is currently not supported and will be evaluated for future development.