Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» 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

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

New user extension regarding wait and traverse in browser.

View previous topic View next topic Go down

New user extension regarding wait and traverse in browser.

Post by Adviser on Fri Sep 18, 2009 11:52 am

hi guys,

There is some more function in new user extension related to the sleep/wait and history. It contain the following functions:


1. Sleep :

This function will wait/sleep the thread for specified amount of time in milliseconds.

command use: sleep | 10000 | | \\wait for 10 sec


2. GoBackOnePage :

This function will simulate back button of browser. This will help user to go one page back.

command use: GoBackOnePage | | |


3. GoForwardOnePage:

This function will simulate forward button in browser after click on back button.This helfule if suer click on back button and want to go the forward page.

command use: GoForwardOnePage| | |

4. RandomNumber :

This function will give you rabdom number of any digit. This function will be
* useful where you want any arbitary number to fill in any field.
*
* @param number of digit random number you want.
*
* How it works:
* 1 = between 0-9 digit
* 11 = between 0-100 digit
* 111 = betwwen 0-1000 digit
* .
* .
* .
* work for around 20 or more ones's.


command use: StoreRandomNumber |111111111111 | variableName| // this will store random number of 12 digit into variable


5. LastTimeVisited:


* This function store the last visited date and time user visted the particular page. It is taking information from Cookies.
* The result will be store into variable.
*
* @param This variable will store the browser name.
* Provide the value in any Target/value options of IDE.
*

command use: StoreLastTimeVisited | | variableName|


Download this user extension from this link:
http://www.mediafire.com/file/eigncigz3u2/BasicFunctions_UserExtension.rar

Enjoy it.

Bye

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

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

http://seleniumforum.forumotion.net

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