Entrepreneur, Blogger, Author

Wednesday, August 17, 2011

On Wednesday, August 17, 2011 by Nishant Verma in , , ,    2 comments
Twist 2.3 supports Selenium 2. So let’s take a sample mobile web application to Test.
Let’s say the basic test scenarios we want to automate is
  • Navigate to the URL
  • Search for "Thoughtworks Studios"
  • Open the link "Twist for Agile testing"
  • Verify the link "ThoughtWorks"
Let’s run through few steps which will enable us to do that.
Step 1: Create a new Twist project with Selenium 2.0 as underlying driver and Firefox as the browser and Click on Finish.
image
Step 2: On the New Scenario Page in Scenario Editor, create a new Business Workflow
image
Step 3: Start recording the steps. (This will help you record the test in Firefox.)
Step 4: Open the Project properties and Select the Twist Properties and click on the Selenium2 tab. Select Android Browser for the browser.
image
Step 5: Make sure the android emulator is running (Webdriver Installed) and pointing to the android server at “http://localhost:8080/wd/hub”. To install Android Emulator use the following help.
Step 6: Execute the scenario.
Refer the attached video which records the test on a browser and plays it back on Android Emulator.

Twist 2.3 is out and allows Emulator Testing
You can download Twist 2.3 here

2 comments:

  1. This is interesting and I should try it out !

    ReplyDelete
  2. Nice information, many thanks to the author. It is incomprehensible to me currently, but in general, the usefulness and significance is overwhelming. Thanks again and fine luck!
    android application development

    ReplyDelete

Your comments will be reviewed and then published !

Instagram Feed

Web Analytics