This is a migrated thread and some comments may be shown as answers.

Failure to load DOM and Image

10 Answers 105 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Briar
Top achievements
Rank 1
Briar asked on 07 Dec 2015, 03:54 PM

Having recently set up a scheduling server and when running scheduled test lists, the DOM and the associated runtime images at the point of test failure are not available.  The log entries indicate the file path for these files is invalid:

 

"[12/07 10:40:32,Telerik.TestStudio.ExecutionManagerService.exe(4312:53),TestStudio] AutomationHostState.LoadFailureImageFromDisk() : Invalid file path to load the bitmap from: C:\Windows\TEMP\ 130939764253142044_files\eReg ProjectInfoPage CUP NWFWMD_0_ImageOnFailure.png
[12/07 10:40:32,Telerik.TestStudio.ExecutionManagerService.exe(4312:53),TestStudio] AutomationHostState.LoadFailureDOMFromDisk() : Invalid file path to load the DOM from: C:\Windows\TEMP\ 130939764253142044_files\eReg ProjectInfoPage CUP NWFWMD_0_DomTreeOnFailure.txt"

 

How do I set up the correct file path?  Any direction on how to resolve this error would be much appreciated!

 

Thanks,

 

Briar

10 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 07 Dec 2015, 07:50 PM
Hi Briar,

This was a known bug in Test Studio which we fixed a little while ago. What build of Test Studio do you have installed? The latest build and release contains the fix for this problem


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Briar
Top achievements
Rank 1
answered on 07 Dec 2015, 08:00 PM

Hi, Cody.

 

I have version 2015.3.1015.0 installed on the client machine and the server machine.

 

Briar

0
Cody
Telerik team
answered on 07 Dec 2015, 08:20 PM
Hello,

Okay that explains it. The fix for this was included in our very next release which is an internal build, build number 2015.3.1112.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Briar
Top achievements
Rank 1
answered on 07 Dec 2015, 09:10 PM

Thank you, Cody!  I will install that version in the next day or two and see if it clears up the problem.

 

A second issue (which I can re-enter as a new issue if necessary) is I seem to have old versions of tests being used when the test lists are executed remotely.  Is there a way to force an update of the test list code on the scheduling server?

 

 

0
Cody
Telerik team
answered on 07 Dec 2015, 09:45 PM
Hello Briar,

Test Studio compares the date and time stamp of the test file on disk to the date and time stamp of the test stored in the scheduling server. It only uploads the test if the date and time stamp on disk is newer than what's stored in the storage server. This means the way you force a test to be uploaded to storage is by touching the date and time stamp of the test file itself. I'm referring to the .tstest file. This can also be done by making a benign change in the test itself and then saving everything to disk. This will force a new date and time stamp on the test.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Briar
Top achievements
Rank 1
answered on 08 Dec 2015, 12:56 PM
I thought I had tried that.  Where are the copies on the storage server?
0
Briar
Top achievements
Rank 1
answered on 08 Dec 2015, 01:29 PM

While I've got you :) ...

Test lists scheduled remotely for immediate execution run successfully but test lists scheduled for recurring execution at specific times are failing.  An excerpt of the application log at the beginning of the first scheduled test list:

 

[12/07 18:00:59,Telerik.TestStudio.Scheduling.Client.exe(1156:18)] First trace message from pool unnamed thread (managed ID = 18, native ID = 1152).
[12/07 18:00:59,Telerik.TestStudio.Scheduling.Client.exe(1156:18),Execution] JobRunner.RunJobAsync() : Unable to load test list, aborting run.
[12/07 18:00:59,Telerik.TestStudio.Scheduling.Client.exe(1156:18),Execution] JobRunner.RunJobAsync() : Use source control server: NO
[12/07 18:00:59,Telerik.TestStudio.Scheduling.Client.exe(1156:18),Execution] JobRunner.RunJobAsync() : Project source location: I:\Application Development Team\TestStudio\briar-tests\Regression Tests
[12/07 18:00:59,Telerik.TestStudio.Scheduling.Client.exe(1156:18),Execution] JobRunner.RunJobAsync() : Check if test list is available at project location. Consider cleaning Job storage!
[12/07 18:00:59,Telerik.TestStudio.Scheduling.Client.exe(1156:18),Execution] JobRunner.RunJobAsync() : Job storage location: C:\Users\bparmer\AppData\Roaming\Telerik\TestStudio\Scheduler\ScheduleStorage
[12/07 18:00:59,Telerik.TestStudio.Scheduling.Client.exe(1156:18),Execution] JobBroker.ctor() : Job runner refused this job!

 

This type of message repeats over and over with different thread ids.  How do I clean job storage? I see one file at the job storage location.  Any other suggestions?

 

Thanks for your help!

Briar

0
Cody
Telerik team
answered on 08 Dec 2015, 04:45 PM
Hi Briar,

Test Studio stores all scheduled jobs, including those that are set to recurring, in the job storage location. Each file you find there represents one scheduled job or one recurring job. Test Studio does this so that when the machine is rebooted or restarted it can pick up where it left off and maintain the scheduled test lists.

The standard way of deleting a schedule test list is to delete it from the results view as documented here. If that approach does not work what you can do is delete all of the files from the job storage folder. Then restart the Telerik scheduling service using the Windows services control panel. This will purge all scheduled test lists and make the scheduling service start again from scratch.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Briar
Top achievements
Rank 1
answered on 09 Dec 2015, 02:49 PM

Cody, I really appreciate your help.  It saved me a lot of time working through issues to get the scheduling server working for us.  Thanks!

 

Briar

0
Cody
Telerik team
answered on 09 Dec 2015, 05:32 PM
Hi Briar,

I'm glad I could help. Let me know if you need anything further.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Briar
Top achievements
Rank 1
Answers by
Cody
Telerik team
Briar
Top achievements
Rank 1
Share this question
or