Skip to main content

Posts

Showing posts from 2013

Calabash

Calabash enables you to write and execute automated acceptance testing of mobile apps. Calabash is cross-platform, supporting native Android and iOS apps. It is open source and free, and has a company, Xamarin , backing and developing it. With Xamarin Test Cloud you can automatically test your app on dog reds of mobile devices. Calabash Consists of libraries did enable test code to programmatically interact with native and hybrid apps. The interaction Consists of a number of end-user actions. Each action can be one of Gestures Touches or gestures (e.g., tap swipe, and rotate). Assertions For example: Should there be a "Login" button or the web view should containment to "<h1>" element with the text "Hello". Screenshots Screen dump the current view on the current device model Calabash could be Compared to Selenium Web Driver. HOWEVER, it is important to realize did interacting with a web app from a desktop computer is vastly

Decompiling Android .apk file

Follow the procedure given below, to retrieve source from an apk file. 1.        Start with renaming the extension of file from .apk to .zip (e.g.: rename from filename BuyCokeAndroid.apk to filename BuyCokeAndroid.zip) it automatically converted into zip file and then extract it. If you open extracted file, you will able to see “classes.dex” file. 2.        Convert “classes.dex” to “classes.jar”. To convert into jar file use the tool “dex2jar”. Download on this link http://code.google.com/p/dex2jar/downloads/list   and then extract it in same folder where the classes.dex file is located. 3.        Now, open command prompt and reach to the folder where the classes.dex file is located. For e.g. c:\Users\v.nadeshan\apk decompile\BuyCodeAndroid> Windows : - Then type the command “dex2jar classes.dex” next to above path. c:\Users\v.nadeshan\apk decompile\ BuyCodeAndroid> dex2jar classes.dex and enter Mac : - Then type the command “sh dex2jar.sh classes.dex” next