Forum Discussion
Any help on this one ?
Any help would be appreciated.
- baxatob10 years agoCommunity Hero
Please provide more details about your application and test elements. As far as I know TC does not provide a special support for DirectX, but you can design some workaround depending on your needs.
- fazlook10 years agoFrequent Contributor
My elements are all WPF objects unless you meant something else ny elements.
I would like to click on a point on the map and see it is Long/Lat. I also would like to track that point when it moves. (ex: someone is driving from A to B)
- AlexKaras10 years agoCommunity Hero
Hi,
TestComplete does not provide any special support for DirectX, so you won't be able to access points on the DirectX canvas as objects.
However, considering that your application is WPF one and thus is 'open' for TestComplete, you may talk to your developers and ask if they can provide you with any piece of advice on how this can be handled. The chances are that there is some structure/array that keeps points to be drawn and this structure can be accessed from TestComplete either directly or via some helper function. While this will not let you check how points are drawn, you will be able to check that the point has expected internal properties (coordinates, etc.).
Another possible approach (if the points are not drawn too close to one another) is to try the image search functionality in TestComplete and try to search the point within some expected area. Doing the search twice with some timeout you might be able to calculate the distance that the point has been shifted and do some verifications.