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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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
Hi .. i want to write the script for  the  combo nox list .
For example if  any combo box having a  multipul itme. So
how can i retrive each item for each  iteration ? help me out .
 Question Submitted By :: Njnirmal
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi .. i want to write the script for the combo nox list . For example if any combo box having a multipul itme. So how can i retrive each item for each iteration ? help me out .
Answer
# 1
Suppose u have Countries Combo, u can use below script
Set Browser_Page = Browser("title:=").Page("title:=.*")
cnt_CountryList = Browser_Page.WebList("html
id:=Countries").GetROProperty ("items count") 
MsgBox(cnt_CountryList)
If  cnt_CountryList >= 0 Then
Dim For_i
For For_i = 0 to cnt_CountryList -1 
	Browser_Page.WebList("html id:=Countries").Select For_i
	MsgBox(Browser_Page.WebList("html
id:=Countries").GetROProperty("value"))
	wait(1)
Next


Thanks,
Sandip, 09714177088
 
Is This Answer Correct ?    1 Yes 0 No
Sandipgami84
 
  Re: Hi .. i want to write the script for the combo nox list . For example if any combo box having a multipul itme. So how can i retrive each item for each iteration ? help me out .
Answer
# 2
x=Browser("name:=xxxx").page("title:=xxxx").WebList
("name:=statusVI").GetROProperty("items count")
For i = 1 to x
	allitems=Browser("name:=xxxx").page("title:=xxx 
x").WebList("name:=statusVI").GetItem(i)
    msgbox allitems
Next
 
Is This Answer Correct ?    1 Yes 0 No
Bindu Kumar
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How to do the scripting. Is there any inbuilt functions in QTP as in QTP-S. Whatz the difference between them? how to handle script issues?  1
w is descriptive programming TCS2
Plz explain about object propeties in object identification? means.. explain about 1. mandatory properties.2. assestive properties 3. ordinal properties. TCS3
What is the method for maximize the application while we using Decriptive programming in QTP?  2
I learned all the objects of my application in object repository thru English Language. now i want to use same object repository for other languages(French,Dutuch and Chinese) Wipro1
Among the 3 Recoring modes,Standard, Analog and Low Level. which one is mostly used. I know that Analog id used for Graphs, Digital Signatures and Barcoding. so, which one among the 2?  1
Hello everyone, I am trying to parametrize a script. Its clear to me that, we use data table to enter various text data. but if I want to change the radiobutton (e.g. if for first iteration I selected radio button 'A' and for second iteration I want to use 'B' radio button for second iteration) then how can I make it happen. I have tried to define the question but still if not clear plz tell me. Thanks everyone  1
how can i call reusable action in a function could any one explain me? Livetek2
In VSS, HoW the documents send to local folder? copy paste or any other? plz explain about VSS TOOL kit? Oracle2
what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them. Intel8
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
what is defination of regression testing?  2
Question:how many types of repositories in QTP9.2?and explain??  3
does qtp need record and playback in realtime. plz tell exactly wat happens HP3
hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com  2
for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process? Logica-CMG12
difference Between Call Run action and copy of action?  1
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?  2
how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch Hydus6
How to connect to the Database from QTP? Thatavarti-Technologies7
 
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