Regression Test FAT

Calabash ¿Why?

Provides a natural language to understand each test step

Based on BDD

The functional tests are independent of the developing proyect

Both Android and iOS frameworks covered

Pros vs Cons

Uses cucumber for better understanding of the tests

Query syntax to find elements on screen

Really simple coding, based on Ruby language

Available methods that allows to simulate common user gestures

Application Scope only

Some methods differ between iOS and Android Frameworks

Requires a signing process on Android and a particular scheme on iOS

How did we do it?

  • Tags
  • Scaffolding
  • Page Objects
  • Canned Steps
  • Utils
  • Scaffolding
  • Tags
  • Canned Steps

Examples

Install and Run

1) Clone Git repository

2) In businessassurance-nativefat folder run "./fat.sh"

3) Run command 

"nativefat generate -e calabash -p android -s mla" to generate users

4) Run command 

"nativefat run -e calabash -p android -v 6.15.0 -f 001_vip.feature -t @REGRESION" to run vip regression tests

Next steps...

  • Test user
  • Multisite
  • Release process
  • Colaborating

Mobile Automation FAT

By Leandro Romero

Mobile Automation FAT

  • 37