Importance of Cross Browser Testing

Importance of Cross Browser Testing

Cross browser compatibility is a major challenge for software application development. Cross Browser testing has very little to do with how a web application looks like in different browsers, but a lot more to do with how it functions? Some browsers are only compatible with a set of operating systems and there are features such as auto-updating and privacy mode which are available with only particular browsers. A web application is great only when it is compatible with multiple browsers regardless of version. There are client components that can generate different results depending on the browsers they are run with, such as AJAX requests, Flash, JavaScript, Applets, and so on.

There are a number of browser & operating systems combinations to test for compatibility. Creating automated tests that can be recorded in one browser, then repeat executions across other supported browsers requires us to invest in an advanced automation technology. While it is perfectly possible to form cross browser tests through custom scripts, these custom cases won’t work for many corner cases.

Cross Browser Testing using Worksoft Certify

Worksoft Certify is one of the very few Business Process Validation tools which support Cross Browser Compatibility testing.  As of now Certify supports 4 browsers viz Internet Explorer, Chrome, Firefox, and Safari. By default, Internet Explorer (IE) is used to capture test steps and validate end to end business functionality before re-executing in Cross Browsers.

Certify ‘Web Learn’ can also be used to determine the objects within HTML page. In addition, a feature called ‘Extensibility Framework’ is provided by Worksoft. For one of our client we used ‘Live Touch’ utility to learn objects and add steps to processes and save objects to application versions in Certify Database. During cross browser testing whenever there is failure in object identification we used Extensibility frame work to derive attributes for those objects in cross browser.

To enhance browser compatibility ‘Extensions’ are required. Worksoft Automation Extension files are available in folder “Worksoft\Certify\Interface Client\Worksoft\wsTest\HTML”, for Chrome (.crx) and Firefox(.xpi) can be used.

By default, ‘Internet Explorer’ will be the desired Browser ‘Execution Engine’. The only change to be done while we execute in Cross browsers is set this Execution Engine as ‘Cross Browser’, this will ensure smooth execution in Non-IE browsers unless there are any application compatibility issues.

Contributed by Saravana Kumar & Shashibhushan D