Skip to main content

Posts

Showing posts with the label emulator

Mobile Application Testing Change Host to Redirect Test Environment

When you need to test the server side development via Mobile application in isolation, you can redirect the host of the API over the hosts file in the emulator. By this way, with the same application that users have, you can test the new development before passing it to live servers. Android Application I have using GenyMotion for emulating android devices. You can edit the hosts file in GenyMotion by the following commands, at the third step you need to change `hosts` file then push it emulator. adb root adb pull /etc/hosts hosts adb remount adb push hosts /system/etc See the example below, the host of the application is www.morhipo.com which is now hitting the test server. The third step is important, if you don't remount new host file can not be push to device . ~ adb root adbd is already running as root ~ adb pull /etc/hosts hosts ~ cat hosts ~ echo "10.1.6.37 www.morhipo.com" > hosts ~ cat hosts 10.1.6.37 www.morhipo.com ~ adb remount remount

How to Use Internet Explorer and Safari for Mobile Testing

Have you recognized that everyone is mobile! And almost everyone socialize with mobile internet (this socialization doesn't mean to have sharing with anyone close to you, it means to chat/share/discuss online with anyone far to you). Since the ratio of using mobile devices are getting increased, needs for mobile testing is also increased. Many companies have developed mobile applications and mobile website to increase their customer satisfaction and to catch up with their rivals especially in e-commerce sector. In this post, I want to share :) some information how to test mobile application with your desktop. Mobile websites/applications target mobile devices but testing everything may not be possible with your devices, or not effective! For some test case like searching, defining cookies; checking links, redirection can be tested easily with your web browsers. For example, Apple's Safari and Internet Explorer can be used for mobile testing.  Safari : you must activate t