Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
selecting the checkbox item within in a combox box
#1
Not Solved
I have a problem in writing a script for selecting the checkbox item in a combox box. please help me.

my Problem in brief summary:

I have to select a checkbox item with in a combobox (combox box contains many checkbox items).
when I try to use the following code :
Code:
SwfWindow("frmSplash").SwfWindow("Prompts : Answers").SwfComboBox("ModuleComb").Select "xxxx"

QTP is throwing error message:
“Cannot identify the specified item of the ModuleComb object. Confirm that the specified item is included in the object's item collection.”
I am using shared Object repository...

While adding the object of SwfWindow("Prompts : Answers") i have selected all object types in the define object filter of the Object Repostory Manager.only combox object is captured and checkbox item list object not captured.


ii)and also how to select the checkbox items in the combo box?


Attached Files
.doc   checkbox-combox.doc (Size: 639 KB / Downloads: 120)
Reply


Messages In This Thread
selecting the checkbox item within in a combox box - by vangala srinivas - 12-06-2010, 10:44 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to check Checkbox in SSDBGrid in windows application RamUFT 0 983 02-13-2020, 07:34 PM
Last Post: RamUFT
  Webtable Checkbox in UFT Syahirah 7 10,809 11-15-2017, 03:47 PM
Last Post: Ankur
  Cannot identify the specified item Beginner 0 2,341 06-22-2017, 04:55 PM
Last Post: Beginner
  QTP not selecting appropriate webelement from the webtable..Need Solution satishkumarm 11 21,103 03-23-2016, 12:47 PM
Last Post: Swetha_Bayya
  WinListView set item command Shahino007 0 2,540 10-06-2015, 03:57 PM
Last Post: Shahino007

Forum Jump:


Users browsing this thread: 1 Guest(s)