Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to check data/list in dropdown list
#1
Solved: 10 Years, 9 Months ago
Hi, plz help me.
I want to check content(list) in drop down list. I hav a set of data in my data sheet. so I need to check both data (in drop down list and data sheet) whether they are same or not.
thanks in advance
Reply
#2
Solved: 10 Years, 9 Months ago
Hi Gurram,

just check with the below code :
Code:
datasheet_item=trim(datatable("Dtcolname",dtGlobalSheet))
DDList_ItemCount=Window("..").winComboBox("...").GetItemCount()
   For i=0 to (DDList_ItemCount-1)
       ddlist_item=trim(Window("..").winComboBox("...").GetItem(i))
           if (datasheet_item=ddlist_item) then
                 msgbox "data is same"
                 Exit for
           end if
   Next
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Not able to get the list of items in Delphi Combobox Environment Object Raj Aryan Singh 3 1,942 02-04-2020, 12:32 AM
Last Post: Raj Aryan Singh
  Different Type of Dropdown Selector zunebuggy 6 2,829 05-01-2018, 06:46 PM
Last Post: zunebuggy
  List of properties same alpha1 4 2,406 05-11-2016, 01:18 AM
Last Post: alpha1
  [UFT] Compare value of List with DataTable robertosalemi 2 2,878 04-06-2016, 08:12 PM
Last Post: robertosalemi
  Auto Complete list not displayed in PEGA7 adityacharan 0 2,311 11-29-2015, 12:07 PM
Last Post: adityacharan

Forum Jump:


Users browsing this thread: 1 Guest(s)