Results 1 to 3 of 3

Thread: How to pick the data from the drop down list box

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Answers
    9

    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


  2. #2
    Contributing Member
    Join Date
    Feb 2007
    Answers
    61

    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..


  3. #3
    Junior Member
    Join Date
    Mar 2007
    Answers
    7

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact