Micro Focus QTP (UFT) Forums
QTP: When coordinates are changin on for any action - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP: When coordinates are changin on for any action (/Thread-QTP-When-coordinates-are-changin-on-for-any-action)



QTP: When coordinates are changin on for any action - hi.manishsinha@gmail.com - 02-13-2008

Hi.

I am facing an issue while recording an action in QTP for windows application.
Every time , coordinate gets changes and so on replay scrips fails
It records like:
Code:
Window("Plan (2008)").Window("Stage").WinObject("F3 Server 09a00000_2").Click 330,89

and if we recrd it again, value 330,89 changes.

How to handle it.
Thanks in advance
Manish


RE: QTP: When coordinates are changin on for any action - Ankur - 02-14-2008

Just try after removing co-ordinates info altogether


1)
Code:
Window("Plan (2008)").Window("Stage").WinObject("F3 Server 09a00000_2").Click

2) If that doesn't work, let us know the add-ins you have selected.


RE: QTP: When coordinates are changin on for any action - hi.manishsinha@gmail.com - 02-14-2008

Thanks .. but there are many selections there , which can only be distinguised by coordinates , and these are varying too.
I am usind Active X and .Net add ins here


RE: QTP: When coordinates are changin on for any action - Ankur - 02-14-2008

Have you checked with your application developers about the technology?

Generally, I see windows based application require VB and Active X addins only.