Web Testing

How to add proxy setting to webdriver 

I had to run the Webdriver scripts on a Firefox and I had to use a particular proxy to get access to the QA/Dev environment. Here is the code that you can use to change the proxy settings.

FirefoxProfile firefoxProfile = new FirefoxProfile();
firefoxProfile.setPreference("network.proxy.type", 1);
firefoxProfile.setPreference("network.proxy.http", "100.00.100.100");
firefoxProfile.setPreference("network.proxy.http_port", 80);
firefoxProfile.setPreference("network.proxy.ssl", "100.00.100.100");
firefoxProfile.setPreference("network.proxy.ssl_port", 80);
firefoxProfile.setPreference("network.proxy.no_proxies_on", "");
driver = new FirefoxDriver(firefoxProfile);

Make changes to the PROXY_HOST – “100.00.100.100″ and the PROXY_PORT – 80. The PROXY_PORT is an Integer and PROXY_HOST is a String.

IE 7 Shortcut or Hot keys 

Hot Key for View Source in IE

ALT+V+C
F10+V+C
SIMPLE
TOGGLE FILE MENU WITH ALT KEY ,
V IS FOR VIEW
C IS FOR SOURCE

More…

Internet Explorer market share falls below 60 percent for first time, according to NetApplications 

NetApplications has just released its browser market share stats for the month of April, and there is something notable here: Internet Explorer has fallen to a “historic low” of 59.95 percent market share, losing about 0.69 points since last month. Google’s Chrome continues its assault on Safari, reaching a 6.73 percent share (while Safari nabbed 4.72). Of course, Internet Explorer is still so far ahead of the rest of the pack it’s hard to make these losses — however significiant — into a tragedy of epic proportions story for Microsoft, so we’re not going to do that. Keep in mind, as well, that NetApplications is not the only measurement of market share — and StatCounter, by comparison, currently estimates IE’s share at about 51.42 percent. Hit up the source link for the full battery of data.

Ranorex Recorder 

The Ranorex Recorder is much more than the capture/replay application that you may already be familiar with. Its actions table editor allows not
only object-based capturing of user actions but also provides the
ability to extend and maintain existing recordings easily via the
integrated Ranorex repository. In addition to its excellent GUI object recognition, RanoreXPath ensures small and easily
maintainable recordings.

More…

iMacros for Firefox 6.6.5.0 

Automate Firefox. Record and replay repetitious work. If you love the Firefox web browser, but are tired of repetitive tasks like visiting the same sites every days, filling out forms, and remembering passwords, then iMacros for Firefox is the solution you’ve been dreaming of!

More…

Canoo WebTest White Paper 

Testing is an important part of any serious development effort.For web applications it is crucial. Defects in your corporate website may be only annoying at one time but they can cost you real money at other times, they can lower your market value and may even put you out of business.

More…

By Pavandeep Puddupakkam on January 4, 2009 | Automation Tools, Software Testing | A comment?
Tags: ,