Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

How to pick the data from the drop down list box

This is a discussion on How to pick the data from the drop down list box within the QTP forums, part of the Software Testing category; Hi I am New to Qtp tool. My project is an Desktop Application developed in Java. How to pick the data from the drop down list box. At the record ...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 03-26-2007
Junior Member
 
Join Date: Mar 2007
Location: Pune
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Livetek is on a distinguished road
How to pick the data from the drop down list box

Hi

I am New to Qtp tool. My project is an Desktop Application developed in Java.

How to pick the data from the drop down list box. At the record time it captures the data from the combo box but while running the script QTP is unable to open/recognise the Drop down combo box to select the data.

Is there any code for that?Can any one solve my problem plz.
I am really running out of time.


Thanks,
Livetek
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-26-2007
Contributing Member
 
Join Date: Feb 2007
Location: Madras
Posts: 72
Thanks: 11
Thanked 7 Times in 7 Posts
raghav.kamal is on a distinguished road
Re: How to pick the data from the drop down list box

Hi,

After u stop recording, just go to object repository & check for the properties of the Weblist/ComboBox selected & remove all the properties except 'name' & 'htmltag'

I tried this way when i got the same problem & i got suceeded..Jus' give it a try & let me know ya..
Reply With Quote
  #3 (permalink)  
Old 03-27-2007
Junior Member
 
Join Date: Mar 2007
Location: Kolkata
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
chiranjib S is on a distinguished road
Re: How to pick the data from the drop down list box

Hi,

Before running the script,check the object repository.The objects you recorded probably are not present there.Try to add those and you can try with the index.It would be better to use index than that of html id if you want to run the script in a loop.

Thanks.
Chiranjib.
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to drop all tables from a user akmohanty Oracle 2 10-13-2007 05:15 AM
Pick the Odd One Robert Brainteasers 3 09-04-2006 04:19 AM
Think and Pick the Odd Number nancyphilips Brainteasers 2 09-04-2006 04:07 AM
Pick out the number StephenRaj Brainteasers 2 08-23-2006 04:57 PM
Pick The Right Online College Lokesh M Online Degree Programs 0 06-21-2006 02:06 AM


All times are GMT -4. The time now is 08:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved