Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

» Selenium IDE Verify different Maps (Hybridview, Mapview etc.)
Fri Nov 25, 2016 9:56 pm by DJ87

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

Bye

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

Posts : 379
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 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

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

Posts : 379
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 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

saint_angerrr

Posts : 9
Join date : 2010-05-29

Back to top Go down

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

Post by travsam 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

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 2:20 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

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

Post by olivier verhoek on 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"

olivier verhoek

Posts : 4
Join date : 2012-01-23

Back to top Go down

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

Post by Sponsored content Today at 1:16 am


Sponsored content


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