PHP Classes

error when app is executed from jenkins

Recommend this page to a friend!

      PHP Screen Recorder  >  All threads  >  error when app is executed from jenkins  >  (Un) Subscribe thread alerts  
Subject:error when app is executed from jenkins
Summary:remote execution
Messages:2
Author:Cosmin Pintea
Date:2018-09-12 07:59:21
 

  1. error when app is executed from jenkins   Reply   Report abuse  
Picture of Cosmin Pintea Cosmin Pintea - 2018-09-12 07:59:21
Hi,

I have integrated you library in my testing framework (selenium base).
If i run my php test framework form local it work(the record is started).
But, when i execute my test from jenkins on a remote machine the record is not started and an exception is throw when i am stop the recording. It look like the recording is not started (but no exception is throw when the record is initialized). If i log in to machine using rdp and run the code from there it work. When i start the cod through jenkins on the same machine it fail.
Any ideas why this happen?

Regards,
Cosmin

  2. Re: error when app is executed from jenkins   Reply   Report abuse  
Picture of Cosmin Pintea Cosmin Pintea - 2018-09-12 08:52:42 - In reply to message 1 from Cosmin Pintea
I have run the comand that is generated by the library:

[gdigrab @ 00000000012e2cc0] Capture area (0,0),(1080,768) extends outside window area (0,0),(1024,768)desktop: I/O error

This is what i get when i run from jenkins; I will try to change the "setScreenSizeToCapture"