Category: Canarys

  • Handling dropdown’s using Selenium Webdriver

    Dropdown’s can be handled in Selenium webdriver using Select Class which has some predefined methods like selectByIndex(index), selectByValue(value), selectByVisibleText(text), getFirstSelectedOption(),getOptions() Select class can be found under org.openqa.selenium.support.ui.Select package Consider dropdown (Fig a) from a sample webpage. If we inspect the above dropdown refer fig (a) its html code will be as shown below In order…

  • Cross Browser issue, How to handle in Internet Explorer?

    Cross Browser issue , How to handle in Internet Explorer? Now a days in online there are good number of browsers like Mozilla Firefox, Safari, Google Chrome, Internet Explorer etc. User of these browsers are also there. So one website has to be fixed all cross browser issues. Otherwise, one site may look correct in…

  • Brief Journey to Asp.Net MVC Framework

    Introduction: ASP.NET MVC is a  framework for building web applications that uses the model-view-controllerpattern. Like ASP.NET Web Forms, ASP.NET MVC is also built on top of the ASP.NET Framework. This means we can use same APIs like security, state management, membership, caching,ajax etc in MVC Applications. Every ASP.NET MVC application has three parts: a model,…

  • Converting UserControl into a dll

    User controls are containers into which you can put markup and Web server controls. You can then treat the user control as a unit and reuse it in many other ASP.NET pages. But here I show you how to combine any number of UserControls into a dll and re-use across applications. Step1: Creating a UserControl…

  • ASP .Net MVC Error Logging Using Elmah

    ASP .Net MVC Error Logging Using Google Elmah Introduction: ELMAH is one of the popular Library to logging unhandled errors provided by Google .It’s an application wide error logging facility which can be dynamically plugged. You don’t need to recompile the code. It’s pluggable. Below I will show you how to log your errors using…

  • Starting with CSS Preprocessor

    In this article we learn about,  1.What is CSS Preprocessor?  2.Installations  3.How to useVariables?  4.Preprocessor Based Popular CSS Frameworks  5.What is Crunch?  6.How to use math function in LESS?  7.How to use arithmetic in LESS?  8.Mixins  9.Benefits of CSS preprocessor 10.What is next? 1.What is CSS preprocessor? CSS preprocessor is nothing but which is a…

  • How to develop apps for Windows Phone

    In today’s market, all we know that the importance of mobile apps for companies to improve their business is high. No matter of what business it is, a mobile app can help them to get and retain the customers. Recently I was exploring on available frameworks for developing mobile apps to iPhone, Android and Windows…

  • General guidelines to be followed by .Net Developers to write optimized code.

    Looping  Please avoid if else conditions .Instead use switch statements. Avoid For-Each for iteration in performance critical code paths, instead use FOR loops.  If you test for multiple exit conditions, begin the expression with the one most likely to allow you to exit.  Avoid calling properties inside within loops. If the methods called inside the…

  • What is a 9 patch image and how is it useful?

    A 9 patch image is a regular png (.PNG) image which is needful for android app developers where they require to wrap any content within a background image without pixelating the background image. Usually background images have a fixed height and width, but sometimes we may require background images which does not pixelate though stretched,…

  • Continued improvements in Canarys SEPG

    A Software Engineering Process Group (SEPG) is an organization's focal point for software process improvement activities. (ref – http://en.wikipedia.org/wiki/Software_Engineering_Process_Group). When we say engineering, we generally think of building something. In the software industry we build software. And we build software in the same way as any other construction company will build a bridge or a skyscraper…