Automated mobile tests
Upcoming SlideShare
Loading in...5
×
 

Automated mobile tests

on

  • 255 views

Automated mobile testing with Cucumber and Calabash

Automated mobile testing with Cucumber and Calabash

Statistics

Views

Total Views
255
Views on SlideShare
254
Embed Views
1

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 1

https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • - Farklıcihazlardateslerikosturupsonucekranlarininciktisinialiyor

Automated mobile tests Automated mobile tests Presentation Transcript

  • Cucumber & Calabash Onur Taşkın – Elif Özdemir
  • Layers of Testing Pessimistic case
  • Testroid Pessimistic case
  • Testroid Pessimistic case
  • Calabash Enables you to write and execute automated acceptance tests of mobile apps. Cross-platform, supporting Android and iOS native apps. Open source and free. Libraries that enable test-code to interact with native + hybrid apps. Pessimistic case A number of end-user actions, like: Gestures Touches or gestures (e.g., tap, swipe and rotate). Assertions e.g.: there should be a "Login" button or the web view should contain an "<h1>" element with the text "Hello”. Screenshots screendump the current view on the current device model
  • Cucumber Express the behavior of our app using natural language understood by business experts: Feature: Rating a stand Scenario: Find and rate a stand from the list Given I am on the foodstand list Then I should see a "rating" button Pessimistic case And I should not see "Dixie Burger & Gumbo Soup" When I touch the "rating" button Then I should see "Dixie Burger & Gumbo Soup" When I touch "Dixie Burger & Gumbo Soup" Then I should see details for "Dixie Burger & Gumbo Soup" When I touch the "rate_it" button Then I should see the rating panel When I touch "star5" And I touch "rate" Then "Dixie Burger & Gumbo Soup" should be rated 5 stars
  • Cucumber Pessimistic case
  • User Story to Cucumber Test As a valid user I want to log into my app So that I can start using my app Acceptance Criteria: Pessimistic case • GIVEN I’m on the login page • WHEN I enter a valid uname + password combination • AND I press login button • THEN I should navigate to home page
  • Cucumber For Android Cucumber Steps • • • • • Scenario: As a valid user I can log into my app Then I enter text "testmail3@pismail.com" into field with id "loginEmailET" Then I enter text "123qwe" into field with id "loginPassET" Given I press the "Giriş Yap" button Then I wait to see ”Home Page" Pessimistic case