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
I have 14 itmes in a drop down that are associated with an 
account And these items change with different accounts 

I want to be able to define it by and index number or any 
other id so if I enter 2 in my Global excel sheet it 
selects the 2nd item  from the drop down - is this possible?

 Question Submitted By :: Azeem Ahmed
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?
Answer
# 1
Hi,
It is very much possible to get List Items by passsing 
Index from Excel.

Syntax:
Browser("e-OSCAR").Page("e-OSCAR").Frame("Main").WebList
("Listbox").Select 1 (One is Index, else u canpass variable 
after importing value to variable )
 
Is This Answer Correct ?    1 Yes 0 No
Puruhsotham
 
  Re: I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?
Answer
# 2
thanks alot 

i tried

Browser("e-OSCAR").Page("e-OSCAR").Frame("Main").WebList
("Listbox").Select "#1"

worked grt
 
Is This Answer Correct ?    0 Yes 0 No
Azeemuddin
 
 
 
  Re: I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?
Answer
# 3
Hi,
Even i have the same problem. I have to get the values from 
the weblist which i am not able to. I tried with the script 
mentioned above. It is not working for me.
Can anyone help me out to retrieve the data from the 
weblist.
 
Is This Answer Correct ?    0 Yes 0 No
Babu
 
  Re: I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible?
Answer
# 4
try with this
option explicit
dim a
a=Browser("name:=Google").page("name:=Google").WebList
("name:=State).GetItem(1)
msgbox(a)
 
Is This Answer Correct ?    0 Yes 0 No
Jaipalreddy
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is the Limitations of Testing ? TCS3
If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP? CTS3
For Usability testing, which is preferable Automation or Manual?  6
Which property do you use to retrieve or assign data into a cell in a Data Table object?  1
How will you load few objects in Active Screen?  1
Can you do more than just capture and playback?  2
hello...any one tell me , where can i get company email id.. actually i am searching on testing... in my CV i put 3+ exp.. but all companies are asked company email id.. please provide solution for that... thanx in advance... HDFC6
In my script there is a link(e.g. 'My Page') when I execute the script sometimes(not every time) QTP throws an error that "My Page(as link)" not found. Pleaase tell me where I need to update  2
we have one text box and one list box(list box appear in same page or another page) what ever the text enter in text box that must be displyed in list box as first one. for example if we enter 10 in text box that is the 1st item in list box . after that we enter 11 then 11 is the 1st item and 10 is 2nd item. the maximum limit of list box is 10 items. if we enter 11th item the 10th item is deleted and llth one is add as 1st one and 9th one goes to 10th position Covansys3
how to open Excel sheet & write in it & save it? InTech1
how many types of actions r there? what r they? explain? pls give any one answer? IBM2
What is Data driven Testing Frame work.Anybody can expain it in Detail.. Pls anybody can give the answer.. Thanks in advance... Navis1
i have 2 year experience in manual and automation testing, I have less percentages in X, Xii (Second grade), can i elgible to TCS interview (Or MNC's)  2
What is InStr() Kanbay5
Object recognition in QTP is based on which model ? a) COM b) DCOM c) DOM d) None of the above Ordain-Solutions1
what is the script to select 2 or more than 2 options from a listbox. Polaris1
Why QTP is termed as a Record and Playback tool?  1
Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value  1
what are the disadvantages of descriptiveprograming GE4
In Object Repository, two actions r there. Action1 name is A.tsr, Action2 name is B.tsr. Is it Possible? if Yes, what is the out put of A+B? if No, why? Kanbay2
 
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