05 Jul 2010 @ 6:29 PM 

This application is free to use for training purpose. You are not authorized to publish answers in public on blogs, forums, groups, or any other public medium.

I have created this small application in order to provide as an exercise in finding bugs and patterns. It is a little bit weird but so does some applications to test in real environment.

So please add comments or sent an email if you detected some of the patterns or bugs.

Hint:
pattern: There is a regular star polygon drawn that has the number of sides equal to number entered
bug Entering values like “6.” draws a triangle instead of 6 sided star polygon

Edit: I removed the comments with solutions to give opportunity to others to test themselves. If you really want to give the solution please sent at eusebiu.blindu@testalways.com

ShareThis
Posted By: Eusebiu Blindu
Last Edit: 10 Jul 2010 @ 06:02 PM

EmailPermalink
Tags
Categories: Uncategorized


 

Responses to this post » (13 Total)

 
  1. James Bach says:

    Nice puzzle. What’s the mission, though?

    Without a mission, it’s hard to know if I’ve solved the puzzle. But I’ve learned a lot about it.

  2. Eusebiu Blindu says:

    @James Bach

    Thanks for solving ALL patterns within minutes!
    I am stunned…

  3. UnChaparrito says:

    I detected the next bugs(?):
    - Entering values not numeric always draw a 3-side triangle.
    - Entering integer values less five don’t draw a star.

  4. Sonia Fransin says:

    Interesting puzzle, I think there are many traps to think complexly, but simplicity is always best.

  5. Ranjit says:

    Perhaps too late in responding, but never late to attempt a puzzle, I’ve emailed you my observations… Your feedback is much appreciated.

  6. [...] Eusebiu  Blindu, a Czech tester, recently came up with an interesting online challenge. He created a testing exercise in finding bugs and patterns. The application drew a polygon with the number of sides determined by a number you entered into the field. You can see it here: http://www.testalways.com/2010/07/05/find-bugs-and-patterns/ [...]

  7. Neha Jain says:

    pattern: the sides entered will display the figure having that many number of vertices, the number displayed inside the figure is the number of triangles used to form that figure.
    bug: when 5 is entered in the sides in the input box, it displays 9. It should display 3 as this figure can be formed by using 3 triangles.

  8. SHAFI says:

    pattern: The sides entered (x>=5) will display the figure that have two*x edges connected to an end point with each other and other two end point connected to the circle.
    bug: The slides enterd less than 5 will display the figure that have x edges conneted with each other.

  9. John says:

    Bug : Entering values like negative always draw a 9-side triangle.
    Entering larger values like for 100000 always makes the image disappear,so it can not take larger values like that.

    Pattern:It can not make star for non negative values less than 5 ,only make polygonal star for the values greater or equal 5,but can not take larger values like 100000

Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


 Last 50 Posts
 Back
  • Users » 2
  • Posts/Pages » 139
  • Comments » 148
Change Theme...
  • VoidVoid
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight « Default

bug bounty

  • No categories

Bugs

  • No categories

Carnivals

  • No categories

challenge

  • No categories

Classic Tests

  • No categories

conferences

  • No categories

EWT

  • No categories