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

How to Verify if image was rotated ?

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mridula Seshadri
Top achievements
Rank 1
Mridula Seshadri asked on 22 Dec 2009, 04:59 PM
Telerik Team,
I have a rotate button next to my check Image in my applciation. How can I use WebAii Test Studio to verify if the rotate button actually rotated the image or not?
Thanks
Mridula

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 22 Dec 2009, 09:02 PM
Hello Mridula,

Thanks for the question and if the Image is just being moved, please see attached test that is based on this drag and drop example page. Please note there are a couple of solutions you can try:

- A custom code solution where the center point of the element rectangle before being moved is compared to the center point after being moved.

- A verification built in the Sentence Verification Builder (see this video for reference) that is verifiying the 
Style -> Display -> Left does not contain it's original position of 105 px.

Please let us know if you have any further questions on this.

Kind regards,
Nelson Sin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Mridula Seshadri
Top achievements
Rank 1
Answers by
Missing User
Share this question
or