This is a migrated thread and some comments may be shown as answers.

Telerik Test Studio Map Interactions Capabilities

5 Answers 126 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mehmet
Top achievements
Rank 1
Mehmet asked on 17 Nov 2011, 11:17 AM
Hi,

We have an application based on Telerik components and ESRI map functionalities.

And while we recorded functional test with Telerik Test Studio  if we want to enter coordinate field (latitude and longitude) by selection it from the map , Telerik Test Studio records coordinate. But after if we want to replay this recorded test ,Telerik Test Studio selects the coordinate which is different than recorded one. 

We want to learn that do you support the map interaction activities or not?

Thanks.

5 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 21 Nov 2011, 07:19 PM
Hello Mehmet,
you state:
Telerik Test Studio records coordinate
would you please clarify this.

I checked out some ESRI sample applications like this one:
http://gis.peoriacounty.org/peoriasl/
I assume your application is also Silverlight based.

The actual map object in this application is perceived by Test Studio as a single element. When you record "normal" clicks on this element they will be automatically redirected to the center of the element (the center of the map). This is expected behavior - Test Studio doesn't know you need to click on a specific part of the element and simply records a "generic" click that clicks the center of the control.

You can invoke a coordinate-specific click by using this feature:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/troubleshooting_guide/test-execution-problems/invoke-blind-mouse-click.aspx

There depending on your application, there might be differences between the coordinate-specific clicks in different browsers

All the best,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Esra
Top achievements
Rank 1
answered on 24 Nov 2011, 10:05 AM
Hello Stoich,

I'm facing the same problem. We are using ESRI and our application is silverlight based.
In the application, there is a coordinate selection button. When you press that button and after point the location with the mouse,
the point that is clicked is saved as a new coordinate.

In my test, I should pan to the location where I want to select on the map and select a coordinate.
I tried your way, a new step with the prefix "Desktop command" is added but in the step there is no information about the spesific point(coordinate) that I clicked. While executing the test, it pans to different locations and cannot click on this spesific coordinate.

Thanks,

Esra


 

0
Stoich
Telerik team
answered on 29 Nov 2011, 09:19 AM
Hello Esra,
check out this video:
http://screencast.com/t/iA1ubXZijVM

As you can see you can specify the exact point where the click needs to occur. You can also change the coordinates for the click one it has been implemented. Keep in mind that the coordinates are in reference to the highlighted element (which servers as a reference). So "Offset Reference: AbsoluteCenter" mean that the coordinates specify where the click point it in reference to the center of the highlighted element.

All the best,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Esra
Top achievements
Rank 1
answered on 01 Dec 2011, 09:10 AM
Hello Stoich,

Really thanks for the answer, but it still cannot solve my problem. Maybe I am doing something wrong.
Before selecting a spesific coordinate, I should pan to the location first, and then I should select the spesific coordinate. For example,
the map initially shows Washington and around but I want to select a location from London. Therefore, I have to pan to the London first.

But while executing the recorded test, it pans to different locations and clicks different point. (I used your way for clicking spesific point.)
PS: I am only using IE and same resolution.

Thanks,

Esra
0
Stoich
Telerik team
answered on 06 Dec 2011, 11:25 AM
Hello Esra,
I believe it might be most time-efficient to look at this issue directly on your machine via screensharing. Please go ahead and suggest a time and I'll send you a meeting request for a GoToMeeting.

All the best,
Stoich
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Mehmet
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Esra
Top achievements
Rank 1
Share this question
or