Micro Focus QTP (UFT) Forums
Click object - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Click object (/Thread-Click-object)

Pages: 1 2


RE: Click object - VikramWakhlu - 06-21-2011

To be a little more precise, the object spy identifies the object as winobject instead of win table.

i'm trying to figure out what platform the aplication is written on, but not much luck with that.

in the mean while let me know if there is a work around. I have added on all the possible packs, and I think I have all the add ons available on my edition since its a corporate version.


RE: Click object - parminderdhiman84 - 06-22-2011

Hello,

I can suggest you two approaches here. See if this solves your problem.

1) Try recording using low-level recording

2)Try using "Send Key" method

Regards,
Parminder


RE: Click object - VikramWakhlu - 06-22-2011

Hi Thanks for the reply, but as I mentioned the table/ menu is not accessable by keyboard, it needs a mouse click to enter.

I'll check up with the low level recording.

let me know if any thing else is possible .

thanks again



RE: Click object - VikramWakhlu - 06-23-2011

Low level recording takes us further into key stroke and pixel level .

I need to grab the table and run a loop by column number.

Any ideas please ??


RE: Click object - parminderdhiman84 - 06-23-2011

Hello,

The only thing that i guess will solve your problem now is Virtual Object. Add the table as a virtual table. Remember that you cannot use the getcelldata method with virtual table.

So to get the data use:
Window().Winobject().GetVisibleText(X1,Y1,X2,Y2)

X1,X2,Y1,Y2 can be calculated by dividing the width with no of columns and height with rows of the virtual table

Regards,
Parminder