My Thoughts: November 2011

Tuesday, November 29

Mobile testing with Firefox

Most of the people are habituated to use their mobile for their daily usage - shopping , banking ,mail checking everything ..!!

So I am just going to share a piece of information with you i.e How to test mobile site usting Firefox. It's very simple.

Here are the steps for you to check the functionality of mobile site on Firefox :

1.First thing is you need to have two addons on your Firefox.
   a.Default user Agent
   b.Modify headers

2.Once you have successfully installed above two addons then you are done. Just restart your firefox.

3.You can find an option named "Default User Agent" under "Tools"

4.Just select the type of device on which you want to check your device. By default iPhone user agent will be added.Just select the agent and open your website. Now you are done. :)

5.If you want to test your site on Android then add the below user agent(Tools>>Default User Agent>>User Agent Switcher>>Options>>New>>New User Agent)

Mozilla/5.0 (Linux; U; Android 2.2; en-gb; GT-P1000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

Time for break . see you soon ..!! :)

Friday, November 25

Unable to connect to host on port 7055 after 45000 ms

Today I upgraded my current firefox version to 8.0. But all my scripts got failed with the error which reads

 org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host on port 7055 after 45000 ms at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start( 96) at org.openqa.selenium.firefox.FirefoxDriver.startClient( 149) at org.openqa.selenium.remote.RemoteWebDriver.( 73) at org.openqa.selenium.firefox.FirefoxDriver.( 128) at org.openqa.selenium.firefox.FirefoxDriver.( 79)

Immediately I downgraded my FF version to 3.6. Now all my scripts are running up fine.

 Lesson I learnt :
" Never be in hurry to get newer version. Let it stabilize stabilize stabilize :)
 Otherwise we will run into problems :)"