Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

New user extensions for date and time related functions. Empty New user extensions for date and time related functions.

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


Enjoy it. New user extensions for date and time related functions. Icon_bounce New user extensions for date and time related functions. Icon_bounce New user extensions for date and time related functions. Affraid

Bye
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

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

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




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

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

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
avatar
travsam
Posts : 1
Join date : 2011-05-21

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

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
avatar
rashmi2012
Posts : 1
Join date : 2012-05-11

New user extensions for date and time related functions. Empty Not able to download UserExtension.rar

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

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

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

Mon Dec 17, 2012 9:12 pm
Notice http://www.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

New user extensions for date and time related functions. Empty 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