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

How can I test tooltips?

3 Answers 204 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kristine Ayson
Top achievements
Rank 1
Kristine Ayson asked on 15 Jun 2010, 06:40 AM
Is it possible to automate testing of tooltips?

3 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 15 Jun 2010, 07:07 PM
Hi Kristine Ayson,

Unfortunately at this time it is not really possible. It is on our TODO list but I can't give an ETA on this feature. The closest we can come is to automate hovering the mouse over an element in order to make the tooltip appear. We don't have a mechanism that will allow you to read what the tooltip is and verify it is correct. You could take a screenshot and manually look at the screenshot after a test run. Would that work for you?

Regards,
Cody
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
Kristine Ayson
Top achievements
Rank 1
answered on 16 Jun 2010, 03:49 AM
Hi Cody,

There are pages in the application I'm testing that have A LOT of tooltips. But snapshots will work for now. :)
Will the testing time be affected if the tool takes many screenshots?

Regards,
Kristine
0
Cody
Telerik team
answered on 16 Jun 2010, 10:25 PM
Hello Kristine Ayson,

I don't think the tests running time will be significantly affected by many screenshots. I believe each screenshot takes 20-30 milliseconds to perform (depending on the performance of the hardware). So even 100 screenshots is only an additional 2-3 seconds of run time. Is that OK?

Regards,
Cody
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
Kristine Ayson
Top achievements
Rank 1
Answers by
Cody
Telerik team
Kristine Ayson
Top achievements
Rank 1
Share this question
or