Identifying Test Cases to be Automated

0 comments


Persistent application features:
Core functionality Test Cases of the System those are unlikely to change significantly over time.

Driving with Value:
At fundamental level, Automation value is driven by the coverage it provides contrasted against the time it takes to automate it versus the time saved by the automation.

Time and Effort Saving
Which test cases consume huge amount of manual effort, they should be getting automated.

Consistent and Accurate Test Execution

Where manual testing fail to provide accurate results and consistency in every run

Benefits of Automation

0 comments
Benefits of Automation

What Does Test Automation Mean?

0 comments



It Really means using tools to:
   - Manage Test Scheduling
   - Do repetitive testing tasks
   - Be able to accurately reproduce tests
   - Run more tests in less time
   - Build Regression test suites
   - Build tests to validate requirements/functionalty


Difference between webdriver.Dispose(), .Close() and .Quit()

0 comments


Difference between webdriver.Dispose(), .Close() and .Quit()



1   webdriver.Close() - method closes the browser instance which was opened by the WebDriver. Suppose, during execution Webdriver had opened multiple browser windows. When close() method is called, it will close only the browser instance opened by it.

2   webdriver.Quit() - It closes all the browser windows that opened by the webdriver i.e. destroy the WebDriver instance. Suppose, during execution Webdriver had opened multiple browser windows. When quit() method is called, it will close all the browser windows opened by Selenium WebDriver.

3    webdriver.close() - closes the browser window on which the focus is set.
If there are more than one Browser window opened by the Selenium Automation, then the close( ) command will only close the Browser window which is having focus at that time. It wont close the remaining Browser window

Switch Comands

0 comments


What is switch command?
Webdriver library contains a set of classes and methods that help us to communicate with the web browser. In most of testing scenarios we find element on the website and then click it in case of buttons or fill the text in case of text boxes. Often, it’s enough when you begin to automate your tests in the web browser.
However, at some point you may get stuck discovering that you’re not able to find the element on the page. The first thing that you should ask yourself is: Maybe my application opened a new popup window and the element that I’m trying to find is placed in this new window? If your answer is “YES” – remember one thing:
The new popup window (or new tab) shows another HTML page which opens in a new context, so you should switch context to the new window first and then you can communicate with the new window. This is exactly what switch command comes into play.
Selenium WebDriver in C#: Switch To new window or tab
//switch to new window.
driver.SwitchTo().Window(driver.WindowHandles.Last());

//if you want to switch back to your first window
driver.SwitchTo().Window(driver.WindowHandles.First());

Adding LinkedIn Share button to Blogger

1 comments
Have you ever wondered how inconvenient it is when there is no option to share your posts in LinkedIn with one SINGLE  click.When i started Blogging i could only see following and I felt it is huge inconvenient not to share your professional work in LinkedIn.


With the few simple steps i will show you how to add LinkedIn Share to your Blogger and You can share your blog with one simple click


Step 1: We need to get Plugin from LinkedIn - Click the Link to get the Plugin "Share Plugin Generator LinkedIn"





Step 2: Once you have created the button and copied the share button codes, Go to your blogger >> Blog >> Theme >> EDIT HTML, And search for



Step 3 : Now paste LinkedIn Share Plugin as shown bellow under the above code and SAVE.See bellow Picture



Now you will be able to see LinkedIn Share button as bellow which can help to share blog to your LinkedIn account in Single click



Page Object Model

0 comments
Page Object Model is an Object Repository design pattern in Selenium WebDriver. POM creates our testing code maintainable, reusable. 

Final project Looks like Following.



Copyright © Learn software testing - Blogger Theme by BloggerThemes & newwpthemes - Sponsored by Internet Entrepreneur