cancel
Showing results for 
Search instead for 
Did you mean: 

Image comparison with Map

SOLVED
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
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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

3 REPLIES 3
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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

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.

New Contributor

Re: Image comparison with Map

Thanks, Will try with that