GeekInterview.com
Home
Tech Articles
Code Samples
Learn
Freelance Projects
Online Testing
Geek Talk
Job Postings
Knowledge Base
Geek Blogs
Question Bank
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
I am new,
Sign me up!
User Name
Remember Me?
Password
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
GeekInterview.com
>
Tech FAQs
>
QTP
Go To First
|
Previous Question
|
Next Question
QTP
| Question 665 of 674
Print
Get Value from Combo
How to write descriptive programming for getting value from Combo for QTP 10.0?
Total Answers and Comments:
3
Last Update: November 19, 2009 Asked by:
QTPbeginner
Sponsored Links
Best Rated Answer
—
No best answer available. Please pick the good answer available or
submit
your answer.
September 08, 2009 05:45:12
#1
facepiyush
Member Since: September 2009 Contribution: 1
RE: Get Value from Combo
Browser( title: Browser title ).Page( title: Page Title ).WebList( html id: value ).Select Value name from dropdown
Is this answer useful?
Yes
|
No
October 06, 2009 03:14:10
#2
deepaksporty
Member Since: September 2007 Contribution: 27
RE: Get Value from Combo
For every combo box there is a method "Getcontent" which you can use to get the values of the drop box. For e.g
msgbox Window("Flight Reservation").WinComboBox("Fly From:").GetContent
In this example of classic Flight Reservation demo application I have clicked on "Fly From" to add this object to our repository and then I have used "GetContent" method to get all the values in the combo box.
Is this answer useful?
Yes
|
No
November 19, 2009 02:24:27
#3
rajaembees
Member Since: November 2009 Contribution: 2
RE: Get Value from Combo
We can also use 'getselection" method for combobox.
a browser("a").page("b').webList("c").getselection /* getselection will be used to get the selected value of the combo box */
msgbox a
Is this answer useful?
Yes
|
No
Go To Top
Sponsored Links
Related Categories
—
Abinitio FAQs
AJAX FAQs
Concepts FAQs
Data Warehousing FAQs
Database FAQ
DataStage FAQ
Informatica FAQ
LoadRunner FAQ
Lotus Notes FAQ
Mainframe FAQs
Networking FAQ
OOPS FAQ
Operating System FAQ
Oracle FAQs
Oracle Apps FAQs
PeopleSoft FAQs
PL/SQL FAQ
Programming Faqs
QTP FAQ
Rational Robot FAQ
RDBMS FAQs
SAP R/3 FAQs
Scripting FAQs
Siebel FAQ
SilkTest FAQs
Oracle SQL FAQ
SQL Server FAQs
Test Director FAQ
Testing FAQs
Testing Definitions
Websphere FAQ
WinRunner FAQ
Sponsored Links
About Us
-
Privacy Policy
-
Terms and Conditions
-
Contact
-
Ask Question
-
Propose Category
-
Site Updates
Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved