cancel
Showing results for 
Search instead for 
Did you mean: 

Image comparison with Map

SOLVED
Highlighted
New Contributor

Image comparison with Map

 Hi All,

     I have to test a Desktop UI with a Map ( Not google maps). In the application I have some brushes and other regular drawing tools. I recorded a Test with a brush by drawing some random figure and added a Image comparison as the last step. But when I re-run the test the testcomplete is drawing based only on the starting and ending point and the whole image is different. How can i make the re test to follow the exact steps I made? Also I have a option to start a projectile by specifying Starting and ending point. Is there a way to verify its movement also?

 

Thanks and Regards,

Anandhu

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Image comparison with Map

Hi,

 

Consider LLPlayer object and check if it can help you with drawing exactly the same shape.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

3 REPLIES 3
Highlighted
Community Hero

Re: Image comparison with Map

Hi,

 

Consider LLPlayer object and check if it can help you with drawing exactly the same shape.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

Highlighted
Community Leader

Re: Image comparison with Map

Hello,

Like @AlexKaras mentioned.

 

You can Use LLPlayes and hold button using specific "key number", for example:

 

LLPlayer.KeyDown(VK_SHIFT, sDelay);

 

or in my opinion, You can use .Drag() action too.

 

If You have a problem with starting points You can set specific width and height of Your current window application, after that set coordinates based on the (x,y) of that window.

Set cursor at specific x and y and start drawing.

Highlighted
New Contributor

Re: Image comparison with Map

Thanks, Will try with that

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors