Twist provides Intelligent Recording

Continuing from my previous post…
Twist allows you to write manual tests and then automate it. It allows one to create Hybrid, Automated as well as Manual test suite. So let’s take a situation where the application under test (AUT) is Flipkart mobile site (http://www.flipkart.com/m).
If you notice the site carefully, you will find that when you
  • Search for “Alchemist”, category shown is “Books
  • Search for “Inspiron” category shown is “Computers
  • Search for “Elvis Presley” category shown is “Music
Below is a small video demonstrating the same. Please watch it in HD version.
So as a tester on the project I would write my tests in way shown below:
  • Search for "Elvis Presley" and verify category is "Music"
  • Search for "Alchemist" and verify category is "Books"
  • Search for "Andaz apna apna" and verify category is "Movies"
  • Search for "Formula1" and verify category is "Games"
  • Search for "HTC" and verify category is "Mobiles"
  • Search for "nikon" and verify category is "Cameras"
  • Search for "Inspiron" and verify category is "Computers"
  • Search for "ipod" and verify category is "MP3 Players/iPods"
While recording the actions for the above test using a Test tool, we would expect at least 9 different implementations (for each of the 9 test cases) but that's a dumb way of implementation I would say.
Let’s see how Twist do this. For the sake of time I have created a project and written the manual tests in one of the scenario. See the video and you will be amazed by the intelligence of Twist.
The Video shows recording the action:Searching “Elvis Presley” and asserting that the result was found in “Music” category.  Sorry for the bad quality of video, please watch it in HD mode.
So when we finish recording for 1 test, actually all the test gets recorded. So if you notice before recording all tests appears in “brown colour” and post recording the test it turns black and so the other tests (which were also in “brown colour”). By the way brown is when the test is unimplemented and black is when it is implemented.
I am sure post reading this blog and watching this video you would be tempted to try it. So go ahead and download your trial copy of Twist from ThoughtWorks Studio and try it yourself.

Comments

Popular posts from this blog

The 3 qualities that will always help you become better at almost anything…

Embracing the Journey: Finding Joy in the Process

How to install Android Emulator on Windows