GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  SilkTest
Go To First  |  Previous Question  |  Next Question 
 SilkTest  |  Question 3 of 24    Print  
What is the wait statement in Silkest
Sleep


  
Total Answers and Comments: 4 Last Update: April 16, 2007     Asked by: veejee 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Sheebha
 

The wait satement in Silk Test is 'sleep'

Syntax:

Sleep(nSeconds)

Example:

Sleep(0.5) // half a second



Above answer was rated as good by the following members:
pradeep.pamidipalli
August 21, 2006 07:16:16   #1  
Sheebha        

RE: What is the wait statement in Silkest

The wait satement in Silk Test is 'sleep'

Syntax:

Sleep(nSeconds)

Example:

Sleep(0.5) // half a second


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
September 22, 2006 18:08:38   #2  
Shruti        

RE: What is the wait statement in Silkest

A wait statement prevents silktest from consuming processor power for the specified period of time. Can be used to avoid race conditions occuring between processes.

For example in my web-based application a certain task was consuming a lot of processor power due to the amount of text being printed out from my repository to internet sxplorer. On top of that silktest was waiting for a particular text to appear on the same browser. A combination of both these processes caused a race condition which had to be avoided. So I had a wait time in silktest which acted as sleep for a few seconds and search again.


 
Is this answer useful? Yes | No
September 22, 2006 18:16:20   #3  
monaAmb Member Since: September 2006   Contribution: 3    

RE: What is the wait statement in Silkest
A wait statement is mostly used to avoid race conditions. For example in my application there was a race condition occuring between repository which was trying to add information to the internet explorer and silktest which was polling the same browser for a particular text item to appear. The race condition occuring between this was taken care of by adding a wait/sleep in silktest which would wait for the specified period of time before polling again.
 
Is this answer useful? Yes | No
April 16, 2007 07:28:48   #4  
VJ        

RE: What is the wait statement in Silkest
U can use sleep(n) or waitforready() functions to wait. Using Waitforready () SILK waits till the browser loads all the objects.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape