Being a Silver Winner in the Visual AI Rockstar Hackathon - What test design I used?
Applitools Hackathon Banner

Being a Silver Winner in the Visual AI Rockstar Hackathon - What test design I used?

On January 23rd, Applitools announced the winners of the Visual AI Rockstar Hackathon Winners. And yes, I am one of them, Hurraaaaaay! Thousands of top engineers in top tech companies from all around the world have participated and a 100 people have made it to the winners list. 

I love how Applitools’s Head of Growth Marketing Raja Rao has described the winners of the best and most exciting QA automation hackathon out there:

We think the people who participated and won the Hackathon are not just some of the top QA engineers but also trailblazers who are leading the way in pushing the QA industry forward. Congrats to all of them!

You can read the full blog post here: if you are interested  in understanding more about the hackathon idea, app, judging, and results.

Here is the summary of the results:

“Part of our test design included building on-page functionality that required thoughtful test engineering. Hackathon winners needed to cover relevant test cases as well as ensure page functionality. Generally speaking, people who scored the highest points wrote a lot of code and spent a lot of time in the traditional approach. Even with economic coding, the winners wrote many lines of code to validate a large number of on-page changes, such as sorting a table.

Unfortunately, we also found that many participants struggled writing proper tests in the traditional approach.  Some struggled with test design, some with the validation of a given page structure, and some struggled with other technical limitations of the code-based approach.

While participants either struggled or succeeded with traditional test code, pretty much every participant excelled at using Visual AI. Many of them succeeded on their first try! We found this to be very gratifying.”

What test design I adopted?

Truth to be told, it is painful to try to imitate a powerful AI agent like Applitools. Even if you are successful to achieve the best test coverage, you are most likely to fail covering an element existence in the code at least. Here is my test design which covered:

  • Login Page UI Elements Test
  • Data-Driven Test
  • Table Sort Test
  • Canvas Chart Test
No alt text provided for this image

For the Login Page UI Elements Test I tried to code a visual check which includes:

  • Elements existence
  • Position
  • Size
  • Value
  • Weight (for text)
  • Color (for text. For a logo or an image this is just impossible in the traditional way. If the element exists and has the same tag but different in color, there is no way to check that with locators)
  • Font family

And more!

Here is the GitHub page for the traditional test code:

In this blog post, I show a statistical comparison  in terms of time, number of lines of code, and effort between the use of Applitools and the traditional method.

Beside the huge amount of time and effort one would lose using the traditional method, the coverage can’t and won’t be 100%. Also the test code most likely won’t be reusable as the test code depends heavily on the page code.

I would love to read about the experience of the top winners and learn about their test design and code. I believe that Applitools presents not only the future of QA but also the chance of building a community.

Kübra Güle?

Santral ve evrak sorumlusu

4 年

Bravo Monsieur ! Où tu te trouves entre-temps, en Turquie ?

回复
Yaseen Shaik

CTO at Spiralyze

4 年

Proud of you buddy

Gajan Retnasaba

Conversion Rate Optimization for B2B SaaS Companies

4 年

That is epic! Congratulations Abdou.

Rachelle Olvida

Team Lead - Quality Engineer

4 年

You rock! Congrats ??

要查看或添加评论,请登录

社区洞察

其他会员也浏览了