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   SiteMap shows list of All Categories in this site.
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 can you select random value for every iteration from a
weblist
 Question Submitted By :: Raj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how can you select random value for every iteration from a weblist
Answer
# 1
get thetotal items in the list 
and use the ' Randamize ' function Rnd()
 
Is This Answer Correct ?    0 Yes 0 No
Kiran1783
 
  Re: how can you select random value for every iteration from a weblist
Answer
# 2
First get the Items count from the List and Use the 
RandomNumber() function to get the random Index value. The 
below code will work

ItemsCount = Browser("Browsername").Page("PageTile").WebList
("WebListName").GetROProperty("items count")
Browser("Browsername").Page("PageTile").WebList
("WebListName").Select ("#" & RandomNumber(0,ItemsCount))
 
Is This Answer Correct ?    1 Yes 0 No
Amarendra Kothuru
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
HI ALL, HOW WE INSTALL .NET ADD-IN OR JAVA ADD-IN TO THE QTP? PLZ URGENT.ANSWER ME.  2
What is the extension for Recovery scenario?  2
i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks  2
Pls explain me the difference between ........ Description.Create and CreateObject  1
How to retrieve the property of an object in QTP?  3
what is the Vbscript to connect Database IBM3
how do u copy object repository?  1
What is a Web Table? Kanbay4
How to handle dynamic objects in QTP?  3
In an Excel sheet take two fields as agentname and password and type some valid agentname and password.call that excel sheet in qtp so that qtp opens the flightreservation window taking into consideration how many records are entered in the excel sheet.For example if 3 records are entered today it will open 3 FR windows,if in near future the records are more than 3 then it will open that number of times.  2
actuall wat my doubt is:while doin regression testin we enter all +ve & -ve data....system has to accept +ve and reject -ve data.in such case we get a popup window sayin that wrong entry...now i wan to overcome this popup window..how do i go further....plz explain.i tried thru rec.scenario but of no use.  1
What is the Dynamic Scenario in QTP? And also anybody give the example for this?  3
What are the file extensions for per-action, shared object repository files and what is the extension for library files?  4
Thanks Rag... One more question, How we test the dynamic images which frequently changed?Using the bitmap checkpoint r any other options available.... Can u give the steps pls... Thanks  1
Actually what is Quality center..is it Test Director or some other tool..Anybody can expalain it in detail..Thanks in advance.. Sony3
How to retrive XML file data in QTP ? using Script(Chandana) Wipro4
is qtp 9.2 create the scripts with the application run on mozilla firefox browser?  2
How to covert a String to an integer?  2
In how many ways we can add check points to an application using QTP.  3
what is a test strategy & what is the difference between test strategy & test plan?  3
 
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