Share
Go down
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

New user extensions for date and time related functions.

on Sat Sep 12, 2009 1:01 pm
hi guys,

There is some more function in new user extension related to the date and time. It contain the following functions:


1. StoreCurrentDate :

This function store current system date in MM/DD/YYYY format.If you want to change the format,just change the order in second last line of this function.
The result will be store into variable.


2. StoreFullCurrentDate :

This function store current system full date like "Saturday, September 12, 2009" format.If you want to change the format,just change the order in second last line of this function.The result will be store into variable.


3. StoreCurrentTime :

This function store current system time like "10:49:51" .If you want to change the format,just change the order in second last line of this function.
The result will be store into variable.


Download this user extension from this link:
mediafire.com file/edco01ghd24/Date&Time_Related_UserExtension.rar


Enjoy it.

Bye
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: New user extensions for date and time related functions.

on Fri May 28, 2010 1:19 pm
one more function is added to this user extension :

StoreAddExtraDaysToCurrentDate :

This function store current system date like "10/05/2010" + extra days . The result will be store into variable.

Sample Commands:

# [info] Executing: | StoreAddExtraDaysToCurrentDate | ModifiedCurrentdate| extraDays|
# [info] Executing: |type | Locator | ${ModifiedCurrentdate} |




--------------------------------------------------------------------------------------
mediafire.com file/nmd1dr2ynym/DateRelated_updated_userExtension2.rar
saint_angerrr
Posts : 9
Join date : 2010-05-29

Re: New user extensions for date and time related functions.

on Sat Jun 12, 2010 12:59 am
ive done exactly wat is said in installation file but i cannot find and use this command in selenium i.e storeAddExtraDaysToCurrentDate.....plz help
travsam
Posts : 1
Join date : 2011-05-21

Re: New user extensions for date and time related functions.

on Sat May 21, 2011 2:49 am
Hi Adviser, your plugin is great, but I am still having troubles to use the StoreAddExtraDaysToCurrentDate.

By example I settled in IDE this command like this

StoreAddExtraDaysToCurrentDate | 10 | ModifiedCurrentDate

Given 10 as the number of days I want to add to my date...

The result:

ModifiedCurrentDate = 5/Nan/2011

Given today 5/20/2011 I expected to see 5/30/2011

Could you help me to get the expected result? Regards
rashmi2012
Posts : 1
Join date : 2012-05-11

Not able to download UserExtension.rar

on Fri May 11, 2012 2:20 pm
Not able to download Date&Time_Related_UserExtension.rar

, pls help me to download.
olivier verhoek
Posts : 4
Join date : 2012-01-23

Re: New user extensions for date and time related functions.

on Mon Dec 17, 2012 9:12 pm
Notice mediafire.com file/nmd1dr2ynym/DateRelated_updated_userExtension2.rar
And after that the same problem occurs with me

The following code...
storeCurrentDate - -Datum
storeAddExtraDaysToCurrentDate - 1 - DatumExtra

...results in
Datum = "17-12-2012"
1 = "NaN/12/2012"
Sponsored content

Re: New user extensions for date and time related functions.

Back to top
Permissions in this forum:
You cannot reply to topics in this forum