Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to get the list of items in Delphi Combobox Environment Object
#1
Not Solved
Hi Folks,

In below line of code, as this is combo box in Delphi Environment of desktop application, i want to get all the values that is currently available in this combo box. Am not able to do so as no such property is there that is holding the list items in this combo box object.
It have all items property but after spying it showing no value;

Window("ABC").DelphiWindow("ChiidABC").DelphiComboBox("SubChildABC"),GetROProperty("?")---> which property shall i use ?
i have tried so far "all Items", "text", "items count", "rows"
but it didn't work.

PF below object property of this object(DelphiComboBox("SubChildABC")) through Object Spy.
********************************************************************************
"Class Name:=DelphiComboBox",
"abs_x:=102",
"abs_y:=460",
"all items:=",
"delphi_name:=cmbGeneral10EV__1",
"enabled:=True",
"focused:=False",
"height:=21",
"hwnd:=67488",
"items count:=0",
"nativeclass:=TADBLookupCombo",
"regexpwndclass:=TADBLookupCombo",
"regexpwndtitle:=",
"rightaligned:=False",
"righttoleftlayout:=False",
"righttoleftreading:=False",
"selection:=",
"testobjgentype:=list",
"text:=",
"visible:=True",
"width:=128",
"window id:=0",
"windowextendedstyle:=512",
"windowstyle:=1442906176",
"x:=106",
"y:=464"
*********************************************************************************
Though, in  a web application, we have "all Items" property that we can use to get list as below but here it;s not useful.
Browser("ABC").Page(:"ChiidABC").WebList("SubChildABC").GetRoProperty("all items")

I searched a lot on this site and other places but didn't get anything relevent. 
Please help at earliest guys, i need it for my project work.
Reply
#2
Not Solved
(08-12-2019, 05:53 PM)Raj Aryan Singh Wrote: Hi Folks,

In below line of code, as this is combo box in Delphi Environment of desktop application, i want to get all the values that is currently available in this combo box. Am not able to do so as no such property is there that is holding the list items in this combo box object.
It have all items property but after spying it showing no value;

Window("ABC").DelphiWindow("ChiidABC").DelphiComboBox("SubChildABC"),GetROProperty("?")---> which property shall i use ?
i have tried so far "all Items", "text", "items count", "rows"
but it didn't work.

PF below object property of this object(DelphiComboBox("SubChildABC")) through Object Spy.
********************************************************************************
"Class Name:=DelphiComboBox",
"abs_x:=102",
"abs_y:=460",
"all items:=",
"delphi_name:=cmbGeneral10EV__1",
"enabled:=True",
"focused:=False",
"height:=21",
"hwnd:=67488",
"items count:=0",
"nativeclass:=TADBLookupCombo",
"regexpwndclass:=TADBLookupCombo",
"regexpwndtitle:=",
"rightaligned:=False",
"righttoleftlayout:=False",
"righttoleftreading:=False",
"selection:=",
"testobjgentype:=list",
"text:=",
"visible:=True",
"width:=128",
"window id:=0",
"windowextendedstyle:=512",
"windowstyle:=1442906176",
"x:=106",
"y:=464"
*********************************************************************************
Though, in  a web application, we have "all Items" property that we can use to get list as below but here it;s not useful.
Browser("ABC").Page(:"ChiidABC").WebList("SubChildABC").GetRoProperty("all items")

I searched a lot on this site and other places but didn't get anything relevant. 
Please help me guys, i need it for my project work.
Reply
#3
Not Solved
HI I am Facing on Issue
Is there any way to click button or Close icon on WpfTable(Windows Application)
Its Identifying as whole table , not identifying as individual objects
Reply
#4
Not Solved
(12-12-2019, 07:05 PM)Ashok Maddineni Wrote: HI I am Facing on Issue
Is there any way to click button or Close icon on WpfTable(Windows Application)
Its Identifying as whole table , not identifying as individual objects

Hi Ashok,

I have not worked on Windows Presentation Foundation application though there are few links i found on google, that i am not able to paste here may be due to some policy issue on this forum. please just check on google as "[UFT] [WPF] Table: how simulate Click and DBLClick event" and see if is useful.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to get relative path by using testdir environment variable Sathyaprasad 1 1,988 11-30-2017, 02:21 AM
Last Post: supputuri
  [UFT] [WPF] DataGrid: get items of ControlTemplate robertosalemi 0 3,508 07-14-2016, 07:52 PM
Last Post: robertosalemi
  SwfList: unchecked all items robertosalemi 0 1,971 12-21-2015, 03:46 PM
Last Post: robertosalemi
  Select Menu items shilpaS 1 7,114 06-19-2015, 01:23 AM
Last Post: supputuri
  environment variable path for qc automation2012 0 2,893 01-18-2015, 08:18 AM
Last Post: automation2012

Forum Jump:


Users browsing this thread: 1 Guest(s)