Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Problem with ?parseDate function(Incorrect Function argument value.)
Problem with ?parseDate function [message #1470521] Wed, 12 November 2014 12:04 Go to next message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
Hello there,

i hava a problem with the ?parseDate function. In my case i just want to check if the timestamp of a generated file i correct. The AUT is able to show the timestamp in different timezones.
So i tried to use a case with a dataset to check if the different timezones are calculated correct.

So if i run this testcase locally it works without any problems. but if i run it with jenkins, the case passes the first two sets of data and with the third set i got this error: "Incorrect Function argument value."

I also tried to run the test locally on the slave that jenkins is using. i didn't have any problems that way...

Maybe someone have an idea.

FYI:
i've got this in console:
!!Error occurred !!
parsing failed, reason: Unable to parse the date: 2014-11-13 15:17 CET

Sincerely
Dominik

[Updated on: Thu, 13 November 2014 14:21]

Report message to a moderator

Re: Problem with ?parseDate function [message #1473271 is a reply to message #1470521] Fri, 14 November 2014 13:33 Go to previous messageGo to next message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 255
Registered: March 2012
Senior Member
Hello Dominik,
I am not sure where your data for the parseDate() is coming from? can you please provide more details? like the parse function .

Perhaps you could have a closer look in what the date differs in jenkins and running it locally.

with regards
Marvin
Re: Problem with ?parseDate function [message #1476555 is a reply to message #1473271] Mon, 17 November 2014 06:36 Go to previous messageGo to next message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
that's my problem i can't see any difference in the date. i get it from a table with the store value (at mouse position) step. when i run the test from ITE it works fine when i run the test with testexec.exe the error occurs.

i can also reproduce the problem without jenkins, running testexec with the parameters from cmd.exe

[Updated on: Mon, 17 November 2014 06:39]

Report message to a moderator

Re: Problem with ?parseDate function [message #1481221 is a reply to message #1476555] Thu, 20 November 2014 21:34 Go to previous messageGo to next message
David Hickernell is currently offline David HickernellFriend
Messages: 85
Registered: October 2012
Member
And the same data set is being used in both environments? And the mouse pointer is presumably in the same place at that point in the test?
Re: Problem with ?parseDate function [message #1481678 is a reply to message #1481221] Fri, 21 November 2014 06:20 Go to previous messageGo to next message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
Hi,

Yes. i know that the data is right because i get this error message

!!Error occurred !!
parsing failed, reason: Unable to parse the date: 2014-11-19 12:16 CET

the format to parse is stored in a variable and its always the same.

index.php/fa/19970/0/

thats how is the case looking. The first two sets will work the third not.

u can have a look at this. maybe u could see a fault
index.php/fa/19971/0/

Sincerely
Dominik
Re: Problem with ?parseDate function [message #1485993 is a reply to message #1481678] Mon, 24 November 2014 18:33 Go to previous messageGo to next message
David Hickernell is currently offline David HickernellFriend
Messages: 85
Registered: October 2012
Member
All I can think of is that perhaps the ITE has access to a different set of time zone definitions than the command-line does, and the command-line does not recognize the abbreviation "CET".
Re: Problem with ?parseDate function [message #1486670 is a reply to message #1485993] Tue, 25 November 2014 07:49 Go to previous messageGo to next message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
is there anything i could do?
Re: Problem with ?parseDate function [message #1488668 is a reply to message #1486670] Wed, 26 November 2014 20:34 Go to previous messageGo to next message
David Hickernell is currently offline David HickernellFriend
Messages: 85
Registered: October 2012
Member
If you're in Linux, you could check your /usr/share/zoneinfo directory to see if CET is there. Otherwise, I'm not sure how the time zone stuff is handled.
Re: Problem with ?parseDate function [message #1489169 is a reply to message #1488668] Thu, 27 November 2014 06:33 Go to previous message
Dominik Gabriel is currently offline Dominik GabrielFriend
Messages: 113
Registered: June 2013
Senior Member
i am only working on windows
Previous Topic:Problem clicking with an HTML app
Next Topic:AutStarter - sending message failed
Goto Forum:
  


Current Time: Wed Apr 24 20:39:16 GMT 2024

Powered by FUDForum. Page generated in 0.03597 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top