I did a small web application for using PHP, HTML, and JavaScript.
I want to test my application in BlackBerry and iPhone, but I don't have either of them.
Is there any site providing facilities, something like a live BlackBerry tester site?
For Blackberry, you can download a simulator from RIM. You want to download the smartphone simulator and also the MDS simulator, which enables the smartphone simulator to connect to websites.
You could try downloading the Firefox add-on, User Agent Switcher, and have it act like a Blackberry. Granted though, it's not a true test. But if you are looking to see how your app reacts to this, it is a good first test.
You also have access to an iPhone simulator as a registered Apple developer. But this is for the Mac OS X platform, not Windows.
Related
I have been trying to locate WATIR/Webdriver gem for automating mobile applications. So far I am successful in finding the resources for Mobile Website testing but could not find Mobile Application automation testing like seeTest (experitest.com) provides. Like for example, i have an iPhone and it has tic-tac-toe app installed on it. I want to automate it through Watir/Webdriver or any other gem available to launch app from iphone and start playing it.
Can we accomplish such use case in watir?
Watir (and Selenium) can automate browsers only (including browsers on mobile devices). If you need to automate native mobile applications, take a look at appium, calabash, Frank or robotium.
As of now, still doesn't look like there's support for watir in Appium. It's good for selenium though, just the drawbacks are that you can't use the page object gem.
I'm developing a mobile website for iPhone, Android, etc. using jQuery Mobile. I'd like to be able to test this in my desktop browser and was wondering what the best approach is. I guess I could use a plugin to change the User-Agent header to the appropriate value and manually resize the browser to the device's width, but is there a simpler/more reliable way?
Update
Sorry, I should have mentioned that the only hardware available is a Windows laptop
Well if you have a Mac and xCode is installed you can use the Simulator. Open Mobile Safari and point to you web page on all Apple devices
You can also use the Android Emulator ( But I've not tested that it can access the web from the browser )
Alternatively you could use a plugin ( as you have suggested ).
I personally use Chrome with this plugin:
https://chrome.google.com/webstore/detail/ljfpjnehmoiabkefmnjegmpdddgcdnpo
with pretty good results.
I've used Device Anywhere before
http://www.keynotedeviceanywhere.com/
you access the device through a web portal/site and control it, but this costs $$$
Actual device testing in going to be the most reliable
related:
http://sixrevisions.com/tools/10-excellent-tools-for-testing-your-site-on-mobile-devices/ ( other suggestions )
Difference between iPhone Simulator and Android Emulator
In Chrome hit F12 to open the Developer Toolbar. Then click 'Toggle device toolbar' (tablet icon, top left next to select element). You can then choose the device at the top to test.
There's also PerfectoMobile for testing on devices remotely...though it can be painfully slow. I'd really recommend at least getting some 'base' testing devices, if possible.
There is also http://www.browserstack.com/responsive that can be used to get a screenshot of what your site would look like on a number of given devices.
There is however a limitation of how many screenshots you can get in the free version I have linked to here.
I got nice results, visualy, by using Chrome add-on called Ripple Beta. Bad thing is that there is no ability to add some custom device, like tablets of 8" or 9" or bigger... but works. I'm not sure is it able to show some errors visible on real device but seems nice.
Manymo should work very well simulating Android for you. It shows me exactly what my cell phone shows, even though my desktop browsers don't. Manymo is a website with a lot of Android phones pictured. Just click one and enter your URL. There are options such as Android versions and screen sizes.
Look for the Chrome plugin Responsive Web Design Tester - you'll be able to emulate mobile browsers for different device sizes on all platforms.
After reading monkeytalk faq from http://www.gorillalogic.com/testing-tools/monkeytalk/documentation/monkeytalk-faq :
How does it all work?
MonkeyTalk is a complete functional testing platform for mobile applications. Currently, it supports testing native iOS and Android apps.
Can I test HTML5 web apps?
No. Our initial release of MonkeyTalk comes with an iOS Agent and an Android Agent. That being said, we understand the importance of HTML5 apps, particularly in the mobile space. So don’t be surprised if you see an HTML5 Agent some time in the future.
Can I test desktop apps? Windows Phone 7? BlackBerry? Flex Mobile?
No. Our initial release of MonkeyTalk comes with a native iOS Agent and a native Android Agent. That being said, we hope to add more agents in the future.
... I am not really sure I can use monkeytalk to test phonegap applications. Does anyone have any experience?
I talked to the Gorilla Logic guys at the last AnDevCon and they had just cracked the ability to test a WebView inside of a native app. Sadly they could not record a test script but they can play back a manually created script. You may want to talk to Gorilla Logic directly.
(e.g. the Chrome browser for Android)
Talking about factory defaults here, not what users can install later.
(Sorry if this is a stupid question, I just can't find an answer anywhere)
Typically consumer facing Android devices do come with the browser. It is part of the core platform.
However, there is nothing stopping a manufacturer from removing the Browser for whatever reason. For example, that Android powered watch will not come with a web browser.
Yes, as it's part of Android OS.
For testing without an iPhone/Android phone, which desktop browser works best with Sencha Touch? I tried Chrome and Safari, which work fairly well, but both seem to have little issues.
Firefox and IE apparently don't work at all with Sencha Touch. Is there a secret weapon, like a port of a mobile browser, available?
There's a Chrome extension called Ripple that's pretty good, but most things can be tested quite productively in Chrome. Set Ext.is.Phone = true; at the beginning of your script when you need to test the phone UI.
You should be using the iPhone/iPad hardware simulator on a mac, or the Android simulator if you're on Windows. Desktop browsers will get you there - particularly desktop safari -- although there are enough differences that you should really use one of the simulators
A direct link to one ipad simulator online is: http://ipadpeek.com/
On Windows, Google Chrome is my favorite browser. When I'm done developing a section of the app I do test it on my real device, an HTC desire (Android). As expected, the real device is WAY slower than desktop browser, specially notable on animations, e.g sliding tabs and carousels.
I would say Google chrome is the best browser till date.... and its an ideal browser for sencha touch applications to run, since it contains webkit..
Also you can use Titanium (you can download it here) which has iphone/iPad simulater built in but for that you need a Mac and you also have to download ios sdk.
Working on these simulators is an awesome experience.