Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Grid identified as WinList
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi ,
I have been given a windows application to automate which is written in Visual Basic 6.0. Grid in a window is being identified as WinList and the Editboxes in the grid are not being identified by QTP. When clicked on EditBoxes in grid then the EditBox is being Identified once i run the test , it is not being identified uniquely.
Challenge here is i need to read and write into the editboxes in the grid which is appearing as WinList .
Tried Record and PlayBack and also Object Identification i.e tried to map this winlist but Map to: Drop down in Object Mapping does not contain WinTable added in the list.
Can anyone suggest any other way out for this where i could detect the grid and its edit boxes.
Thanks in advance.
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,
Is the application is Facets...
i have some code for that
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
Application is no distinct but coded 20yrs back but updated though....
What code do you have ?
I needed an approach which could solve my problem. Sad
Reply
#4
Solved: 11 Years, 4 Months, 3 Weeks ago
first assign the winobject to a variable then click on 1,1 location( to identify the winedit box) use discriptive program to identify the object.
below is some code.


Code:
'set the winobject to a variable.
set ogrid=windiow("facets").winboject("object")
ogrid.click(1,1)
ogrid.winedit("focused:=true").set datatable("a",dtglobalsheet)
ogrid.winedit("focused:=true").type mictab
Reply
#5
Solved: 11 Years, 4 Months, 3 Weeks ago
Thanks for the reply. Going to try this.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  WinList Behavior marse91782 0 2,969 11-24-2016, 06:32 AM
Last Post: marse91782
  Object identified despite having no information mjt 1 2,148 09-14-2015, 08:25 PM
Last Post: mjt
  Not able to click text inside the grid dropdown szkapoo 6 4,728 12-20-2014, 09:43 PM
Last Post: supputuri
  SAPGUI Grid Ansh123 1 5,699 11-20-2014, 05:05 PM
Last Post: supputuri
  Toolbar object not identified excellentpawan123 0 2,142 10-29-2014, 04:37 PM
Last Post: excellentpawan123

Forum Jump:


Users browsing this thread: 2 Guest(s)