Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue related to dropdown selection(Please help urgent)
#1
Not Solved
Hi
I am facing a problem i.e. i am unable to select item in dropdown box. Earliar it was working fine but due to some refactoring, static text control is used. As i run script it gives message as "Object disabled"


Code:
count1 = Dialog("text:=XYZ").WinComboBox("attached text:=Primary Property","nativeclass:=ComboBox").GetROProperty("Items count")

print count1

For i =0 to count1-2
Dialog("text:=XYZ").static("nativeclass:=Static","window id:=2212").WinComboBox("attached text:=Primary Property","nativeclass:=ComboBox").Select i

Next


I wonder that it is giving correct count but on selection it fails. Please help........

image of object spy is attached

Thanks in advance


Attached Files Image(s)
   
Reply


Messages In This Thread
Issue related to dropdown selection(Please help urgent) - by excellentpawan123 - 05-27-2014, 03:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Different Type of Dropdown Selector zunebuggy 6 2,854 05-01-2018, 06:46 PM
Last Post: zunebuggy
  QTP system related issue Bharathi Kanagarajan 1 1,980 09-12-2015, 11:28 PM
Last Post: ADITI1992
  Weblist selection diya 11 20,551 06-16-2015, 08:27 PM
Last Post: rajpradeep32
  Not able to click text inside the grid dropdown szkapoo 6 4,293 12-20-2014, 09:43 PM
Last Post: supputuri
Exclamation URGENT: ActiveX component can't create object citibank_ani 3 15,288 09-09-2014, 01:02 PM
Last Post: VarunKaushik

Forum Jump:


Users browsing this thread: 1 Guest(s)