Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Spy not detecting items in C ICL
#1
Not Solved
Hi guys,

Complete newbie to QTP here and hoping someone can help.

We've just started using QTP to replace our outdated Winrunner but are having some problems.

Our system runs on a C front end and within some of the screens we have what Winrunner refers to as an ICL container.

Basically it's a table within the screen that has rows of data in of multiple columns.

When using QTP I need to be able to see whats in this area but under objects it just recognises the container as one object, not as separate objects for all the various headings, rows or columns contained inside it.

Anyone able to point me in the right direction to try and find a way round this problem?

Apologies if I seem a bit vague but i've literally just been thrown in the deep end and am having to learn VB script and QTP as I go along!
Reply
#2
Not Solved
Hey can you let me know what is class type QTP recognized for table object?
If possible, snapshot of object spy.
Reply
#3
Not Solved
Hopefully this is what you're looking for?

It is recognised as a single object but it is in fact a table containing multiple columns and rows and I need to be able to access each of the individual rows and columns within it to retrieve data.

Thanks for any help you can offer.

Code:
"Class Name:=WinObject",
"abs_x:=662",
"abs_y:=652",
"attached text:=",
"enabled:=True",
"focused:=False",
"hashscroll:=False",
"hasvscroll:=False",
"height:=87",
"hscrollpagesize:=",
"hscrollposition:=",
"hwnd:=1901946",
"leftscrollbar:=False",
"maxhscrollpos:=",
"maxvscrollpos:=",
"minhscrollpos:=",
"minvscrollpos:=",
"nativeclass:=ICL Container LDetail",
"object class:=ICL Container LDetail",
"regexpwndclass:=ICL Container LDetail",
"regexpwndtitle:=",
"rightaligned:=False",
"righttoleftlayout:=False",
"righttoleftreading:=False",
"text:=",
"va_name:=",
"visible:=True",
"vscrollpagesize:=",
"vscrollposition:=",
"width:=809",
"window id:=32759",
"windowextendedstyle:=0",
"windowstyle:=1409286144",
"x:=42",
"y:=230"
Reply
#4
Not Solved
To study what is the reason behind unable to delete you send the screen shot image of the object spy so i may find solution to resolve your problem
Reply
#5
Not Solved
Screenshot attached with the area in question highlighted in red.

The highlighted area usually contains rows of data but I cant get QTP to actually access the data in it


Attached Files
.pdf   Doc1.pdf (Size: 93.16 KB / Downloads: 165)
Reply
#6
Not Solved
No response so assume this one had people stumped.

In the end we couldn't get around it in QTP so have had to call an external C function to retrieve the data and pass it back.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can UFT Handle Detecting Redirects? zunebuggy 0 895 05-28-2020, 06:50 PM
Last Post: zunebuggy
  Not able to get the list of items in Delphi Combobox Environment Object Raj Aryan Singh 3 2,269 02-04-2020, 12:32 AM
Last Post: Raj Aryan Singh
  object spy not recognizing object.. pleaseeeee help Sonia Sadeque 3 3,431 12-22-2016, 02:42 PM
Last Post: ishan.mahajan@adp.com
  [UFT] [WPF] DataGrid: get items of ControlTemplate robertosalemi 0 3,484 07-14-2016, 07:52 PM
Last Post: robertosalemi
  SwfList: unchecked all items robertosalemi 0 1,952 12-21-2015, 03:46 PM
Last Post: robertosalemi

Forum Jump:


Users browsing this thread: 1 Guest(s)