Friday, March 21, 2014

Some Issues when using Telerik Tool



Telerik is the first tool that I’m using it. Sometime, I get stuck with this tool. It makes my jobs paused for a short time. So, I share with you about my little knowledge and experience how I got over them. Maybe they are known-issues, or you have better solutions for them, please share it to me and make this topic better.
     1. Control type.
Once I faced with this situation: Before website was updated, I had to check below type as ratio; but after updating, it was changed to tab control. At first, I thought “Well, okay, I only need to change the expression for searching”. And then, it didn’t work. I was wonder why it happened. I tried to search exactly this element but it was still not checked. So I looked all of this element detail, and find out that: I find button by using radio control class. 



ð  Lesson learn: use exactly control type for each type of element.

     2.  Multiple elements at the place that I need to check them.
I have meet different issue and it looked like this: I wanted to click a tab. But, this tab contains another element, a span, inside it. First time, I captured a span, not a tab. I ran the test script with step “Click <Tabname>”.Sadly, Telerik couldn’t find this element. So, I tried to re-capture the tab, using firebug on this page to find tab’s border and span border first. After feel times, I finally could make Telerik captured this step. Such hard work.

ð  Lesson learn: If you faced with an element contain another element, please try to identify the borders of them first.


3. Working with pop-up 
I had a test case. This test case required a step “Handle 'Alert' dialog.” It worked very well on my computer. Unfortunately, when I bring it to server for running on production, this popup could not be closed, though this step marked as passed. After checking their telerik’s version, I figured out that server and my computer have different versions. Considering this as root caused.

ð  Lesson learn: Tried to use the same version on all computers. 

      4. How many is enough for working with an element?
Sometime, my telerik failed at searching element. After trying will all attributes this element had, this step passed. It looks like at this time, this page contained some elements with same attributes.
ð  Lesson learn: If one attribute cannot help telerik find out this element, try with more attribute.

This is some of my problems when working with Telerik. I don’t remember all of them, just some issues came out of my head when I was doing it. My feeling was so fun when working with Telerik. Hope you guys enjoy this topic. If I have any mistake or you have better solutions, please let me know.


                                                                                                     Hoa Le
Refer: http://b4usolution.com/

 


No comments:

Post a Comment