ContributionsMost RecentMost LikesSolutionsRe: Jenkins problem with Desktop application Any other ideas ? I have tried to swap/turn on/ turn off checkboxes in the job, but the result still remains the same with TestExecute, it doesn't matter which version is used. Everything works fine with TestComplete though. Re: Jenkins problem with Desktop application So after more research I have found that the problem occurs only then I run the project suite on TestExecute program and it's ok on TestComplete. Any ideas why this could be happening ? This is a bad solution for us, because our company has several TestExecute licenses and only 1 TestComplete and we need to run several projects at the same time. Re: Jenkins problem with Desktop application Hellomikef, Unfortunately it didn't help. I have even .mht file generated on the Slave machine , but on Jekins it is stuck in the console at this point: [TestComplete] The test execution started (Maxima_WinPos_LT). [TestComplete] Found TestComplete/TestExecute installations: Type: TC, Version: 14.0.317.7, Path: "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\bin\TestComplete.exe" Type: TE, Version: 14.0.317.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 14\x64\bin\TestExecute.exe" [TestComplete] Selected TestComplete/TestExecute installation: Type: TE, Version: 14.0.317.11, Path: "C:\Program Files (x86)\SmartBear\TestExecute 14\x64\bin\TestExecute.exe" [TestComplete] [WARNING] The node is connected via Java Web Start (JNLP). In this mode, the "Run interactive user session" property of the TestComplete Test step is ignored. TestComplete (or TestExecute) will work in the current user session. [TestComplete] Launching the test runner. $ "C:\Program Files (x86)\SmartBear\TestExecute 14\x64\bin\TestExecute.exe" D:\AutoTesting\Maxima_WinPos_LT\Maxima_WinPos_LT.pjs /run /SilentMode /ForceConversion /ns /exit /ExportLog:D:\Jenkins\workspace\WinPos_Maxima\WinPos_Maxima_LT\1652357752415.tclogx /ExportLog:D:\Jenkins\workspace\WinPos_Maxima\WinPos_Maxima_LT\1652357752415.htmlx /ErrorLog:D:\Jenkins\workspace\WinPos_Maxima\WinPos_Maxima_LT\1652357752415.txt /ExportLog:D:\Jenkins\workspace\WinPos_Maxima\WinPos_Maxima_LT\1652357752415.mht /DoNotShowLog /exit /JenkinsTCPluginVersion:2.8.1 Re: Compare file date with current date What format is the file with the modified current date? It is .ini extension. I would suggest using a checkpoint which uses a dynamic variable to accomplish this. Can you please give me and example ? I am quite novice at these kind of things Compare file date with current date Hello everyone, I would like to compare a date of a modified file with a current date and log a certain message for whatever the result is. Can anyone help me out with this one ? Jenkins problem with Desktop application Hello, I have an issue with Jenkins and Slave machines. The main problem appears then I run my full test project(tried to run .pjs and .mds files) which takes ~18 minutes to finish . The test on the computer finishes closes TestExecute(but doesn't prompt Test results on the screen), but on Jenkins it is stuck and you need to cancel it. So it automatically fails. The most interesting part that it has done the log files. I have tried to run a small number of tests, it does finish on the computer(still doesn't prompt Test results on the Slave machine) and it has exported logs to Jenkins. Re: switch statement on assert element Helloebarbera, Thank you for your response, but I sorted this out just through if... else for now. switch statement on assert element Hello, I am trying to make a switch statement on returned text for the first time. But I am doing something wrong. Can anyone guide me to the right path ? function test () { AssertSum = Aliases["Kernel"]["MainForm"]["CheckControl"]["zcheckTop"]["lblSum"]["Text"]; switch (AssertSum) { case AssertSum("56,22"): SumButtonClick() PaymentWindowClickCash() PaymentWindowClickPay() PaymentWindowClickFinalizePayment() break; case AssertSum("0,91"): SumButtonClick() PaymentWindowClickCash() PaymentWindowClickPay() PaymentWindowClickFinalizePayment() break; case AssertSum("40,63"): SumButtonClick() PaymentWindowClickCash() PaymentWindowClickPay() PaymentWindowClickFinalizePayment() break; default: Log["Error"]("There is no sum like this") break; } } SolvedRe: (aqDateTime["Today"](), "%Y%m%d") -1); problem Thank younpaisley This was exactly I was looking for ! Really appreciate all of you help. Re: (aqDateTime["Today"](), "%Y%m%d") -1); problem Not quite. In the Log it shows the format the one I need: But the thing is I need to press buttons one by one in this order on my keypad Sample code without date formatting that works at this moment: function YeterdayInput () { var CurrentDate = aqDateTime.Today(); // Convert the date/time value to a string and post it to the log Today = aqConvert["DateTimeToStr"](CurrentDate); // Calculate the yesterday’s date, convert the returned date to a string and post this string to the log DateYesterday = aqDateTime["AddDays"](CurrentDate, -1); ConvertedYesterdayDate = aqConvert["DateTimeToStr"](DateYesterday); for (var i = 0; i < aqString["GetLength"](DateYesterday); i++) { PressNumber( aqString["GetChar"](DateYesterday, i)); } ClickOk() }