ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
how to generate numbers in between to numbers suppose 
numbers in between 500 to 1000 in sequencies using vbscript
 Question Submitted By :: Shavali
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript
Answer
# 1
Using loops in vb Script, you can generate numbers between 
specified range

E.g:
For i= 501 to 1000
  Reporter.ReportEvent micPass, "Value: " & i, "Number 
between 500 to 1000"
Next
'gives the output as 501,502, 503, etc...

If you want generate random number between 500 to 1000, use 
the function "RandomNumber(inbuilt function of QTP, but not 
VB Sscript function) 
E.g: var_Num = RandomNumber(500,1000)
 
Is This Answer Correct ?    0 Yes 0 No
Amarendra Kothuru
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What frame work ur using in QTP in ur current company? Accenture6
how to do regression testing in qtp? plz give ans with examples TCS3
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)  1
In qtp,how to interact tool & application build? Polaris1
what is the use of VIRTUAL OBJECTS? explain ?  4
What scripting language QTP of?  4
How do you return a value from a function  1
if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail Quinnox1
Hi, i am mallishwari, i am veryn ew to testing but i have very much interest in testing. plse give me some guidence to get the job in testing. send me required documents and faqs to my personal id: mallishwari_urs@yahoo.co.in thans for advance.  2
Which is the best testing institute for QTP training in Hyderabad.  3
hi i have one issue while coding the dates . i want to add the date curret to 4 days . can any one helme plz about this regards balaji  2
There are 4 webpages in an application, in third page there is one cancel button i want to click that cancel button only, how can I click that cancel buttton ? Wipro4
how to click the link in webpage by using QTP Script????????  2
what are the difference ways of parameterising?  1
How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent? Wipro3
Batch testing in howmany ways u perfrom in QTP Lehman-Brothers3
What is QTP Frame Work ,and i want it in detail Value-Labs1
what is Compile Module in QTP? what exactly it contains Functions or Actions?  1
where exactly we can't do the automation testing. give some examples Wipro2
What is difference between QC and TD?  8
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com