Micro Focus QTP (UFT) Forums
What is Click Value - 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: What is Click Value (/Thread-What-is-Click-Value)



What is Click Value - debindas - 08-09-2012

What is the number after Click represents?

Example :

Code:
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Sign-In").[b][color=#FF0000]Click 28,8
[/color][/b]

Thank you.


RE: What is Click Value - sshukla12 - 08-09-2012

These are coordinates where u want to click.

Regards,
Sankalp


RE: What is Click Value - debindas - 08-09-2012

Thanks Shulka, but i have few more Questions.
How are this coordinates decided?
Are there some kind of virtual graph coordinates on the webpage?
And if I have to type the commands manually(Expert View), how can I recognize these coordinates??


RE: What is Click Value - vIns - 08-09-2012

Hi,
Since we click on an image, QTP records these coordinates as well.
These coordinates are not mandatory for QTP to click. So you can actually remove these coordinates and run your scripts.
Browser("Welcome: Mercury Tours").Page("Welcome: Mercury Tours").Image("Sign-In").Click --> It will still work.
Also , this is relative coordinates. Not absolute coordinates.


RE: What is Click Value - debindas - 08-10-2012

Thanks vIns