Month: October 2014

How to close all browsers other than ALM in UFT using Descriptive Programming.

October 30, 2014

Requirement:– Close all browsers other than Application life cycle (ALM/QC)  Kill browser other than ALM  Solution:– We followed the concept of Descriptive Programming in UFT to achieve the result.Approach:– Very simple and straight flow,look for all the opened browsers (Creating DP object ). Incase browser is not ALM close it.How to Kill Process from Task […]

Read More

How to Downgrade the existing Sass Version ?

October 29, 2014

Issue :- We installed the newest version of compass but it is giving unpleasant error. How we can downgrade to an older version to make things working.Solution:-When installing compass (v1.0.1), it will download the latest sass v3.4.6 (because it’s a dependency), but compass won’t work with the latest sass. You have to downgrade sass to […]

Read More

Understanding Selenium WebDriver Navigation Commands?

October 29, 2014

After successfully running our first test case on Firefox and Chrome. We are stepping towards grasping the essential navigation commands in Selenium. Thus we are going to discuss about multifarious browser commands that we would be using in our day to day automation testing. Requirement :- How to navigate in Browser using Selenium Webdriver?Solution :-We are […]

Read More

Getting started with Sass (Installation)

October 28, 2014

Requirement:-Installing Sass on Windows/Linux/Mac platform.What is Sass?Sass(Syntactically Awesome StyleSheets) is an extension of CSS that adds power and elegance to the basic language. It allows you to use variables, nested rules, mixins, inline imports, and more, all with fully CSS-compatible syntax and adds features to combat shortcomings. Sass helps keep large stylesheets well-organized, and get […]

Read More

Running Selenium test case in Google Chrome?

October 27, 2014

We have already learned to execute selenium test case in Firefox browser . Now we thought of running the same test on “Google Chrome”.Requirement:- Executing selenium webdriver test case in Google chrome for the first time.Solution:-We simply tried to change the previous code and passed the reference of “chromedriver”.Before :-  WebDriver driver = new FirefoxDriver();After:-  […]

Read More

How to Dismiss angular modal on URL change ?

October 17, 2014

Requirement :-We have a Angular bootstrap Modal to show a popup window. On clicking backspace / browser back button, we want to cancel the popup and continue with the url change. The default behaviour is that page behind the modal changes, but the modal remains on top.Plunker link for issue GitHub issueSolution :- We have seen lot […]

Read More

How to write my first Test Case using Selenium in Eclipse?

October 17, 2014

We are already finished with the prerequisite for starting with “Selenium”.Now we are taking a step further towards learning “Selenium”.You can also check how to write first program in Eclipse.Requirement:-Configuring Selenium Webdriver Jar files in Eclipse to write our first Selenium Program.Solution:-Step1:-Adding Jar files to EclipseRight Click “Java Project” in Package Explorer ->Build Path ->Configure Build Path Configure […]

Read More

“Hello World!”- My First Java Program in Eclipse.

October 14, 2014

Understanding IDE of Eclipse is the core for starting with Selenium. Today we are trying our age long program “Hello World!” in Eclipse using Java.Hope it would motivate our automation lovers in the journey towards Java and Selenium using Eclipse 🙂Requirement:- How to write a Java program in Eclipse?Solution:-Step1:-After downloading Eclipse, launch the IDE and […]

Read More

How to solve the issue with Resize of TextArea in IE using JQUERY?

October 12, 2014

Requirement:- We need our TextArea should be flexible to be re-sized by user in Internet Explorer?Solution:-We followed the approach of JQuery to solve the problem.Method:-Resizable Working DemoCode:-CSS:- CSS part HTML:- HTML Code JavaScript:- JavaScript Result:- Resize the TextArea Note:–We can apply the above code on other HTML elements also like DIV.-We can also write the Directive in Angular to […]

Read More

Prerequisites for starting with selenium webdriver?

October 12, 2014

Whole automation fraternity is crazy about the emerging demand of selenium.Today we are sharing our 1st post on selenium.We are not doing something out-of-box, however we tend to start a basic step towards helping people learn Selenium.Hope our this initiative can guide and mentor our budding automation coders.Requirement:- What is required to execute and get […]

Read More