Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

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


Enjoy it.

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




--------------------------------------------------------------------------------------
mediafire.com file/nmd1dr2ynym/DateRelated_updated_userExtension2.rar
avatar
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 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


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