Skip to main content

Posts

Showing posts with the label firefox

Search from the Address Bar

There are three things I’ll discuss in this post… Enable searching from the Address Bar of a browser Type “about:config” in your browser Accept the warning message given about being careful Search for “ keyword.enabled ” Toggle the value of the boolean variable by right clicking on it. If its set to false – you’ll not be able to search from the address bar If its set to true – you’ll be able to search from the address bar   Change the default search engine assigned Type “about:config” in your browser Accept the warning message given about being careful Search for “ keyword.enabled ” – Ensure that its “true” – if it isn’t then Toggle the value by right clicking on it and selecting “Toggle” Search for “ keyword.url ” Set the value to the search engine you want to use: For ex: to use Yahoo search engine – set the value to http://search.yahoo.com/search?p= To use Bing – set the value to http://www.bing.com/search?q= You are all set to search now…Just type the searc...

Export Bookmarks

There are alot of times when we would have to move the bookmarks from one machine to another for various reasons - backup/system migrations etc So here is a one stop solution on various browsers: On IE: Go to View Menu on the browser --> Toolbars --> Check (click) the Favorites Toolbar if its not already checked - This will enable you to see the favorites toolbar on the browser Once you see the Favorites toolbar, click on the "Favorites" menu button on the favorites toolbar. This will enable you to see a sidebar on the browser with your favorites listed You will also see a "Add to Favorites" button with a side arrow. Click that side arrow to get a menu where you have an "Import and Export" option. Click the "Import and Export" option On Firefox : Go to Bookmarks Menu on the browser, then click "Organize Bookmarks" -- this will open a new window which has options to import/export bookmarks One change for Firefox 7...

Running Firefox with Firebug

Many a times our XPATH's would fail on test execution. This is when we would want to run the browser with the firebug extension. Just add this section of code in your code:  File file = new File("firebug-1.5.4.xpi"); FirefoxProfile firefoxProfile = new FirefoxProfile(); firefoxProfile.addExtension(file); WebDriver driver = new FirefoxDriver(firefoxProfile); 

XHR Issue with Selenium - Firefox

When we try executing our suite on Firefox, there is an issue with the new Selenium 1.0.3 server: Got result: XHR ERROR: URL = http://www.____.com/ Response_Code = 503 Error_Message = Serrvice Temporarily Unavailable on session b882a11224b7____ This doesn't occur with the older selenium server jar but just the new one. Root Cause: This occurs mainly due to Open command If we alter the open command to have its second argument as TRUE...it works! Reference: Reference2 Also suggest  that you might want to use the latest version of Selenium RC...RC's 2 and above don't throw the XHR error... Get the latest RC here .