Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

New user extensions for date and time related functions.

View previous topic View next topic Go down

New user extensions for date and time related functions.

Post by Adviser on Sat Sep 12, 2009 11:31 am

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:
http://www.mediafire.com/file/edco01ghd24/Date&Time_Related_UserExtension.rar


Enjoy it.

Bye

Adviser
------------------------
------------------------

Posts: 332
Join date: 2009-07-30
Location: India

http://seleniumforum.forumotion.net

Back to top Go down

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

Post by Adviser on Fri May 28, 2010 11:49 am

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} |




--------------------------------------------------------------------------------------
http://www.mediafire.com/file/nmd1dr2ynym/DateRelated_updated_userExtension2.rar

Adviser
------------------------
------------------------

Posts: 332
Join date: 2009-07-30
Location: India

http://seleniumforum.forumotion.net

Back to top Go down

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

Post by saint_angerrr on Fri Jun 11, 2010 11:29 pm

ive done exactly wat is said in installation file but i cannot find and use this command in selenium i.e storeAddExtraDaysToCurrentDate.....plz help

saint_angerrr

Posts: 9
Join date: 2010-05-28

Back to top Go down

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

Post by travsam on Sat May 21, 2011 1:19 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

travsam

Posts: 1
Join date: 2011-05-21

Back to top Go down

Not able to download UserExtension.rar

Post by rashmi2012 on Fri May 11, 2012 12:50 pm

Not able to download Date&Time_Related_UserExtension.rar

, pls help me to download.

rashmi2012

Posts: 1
Join date: 2012-05-11

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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