background preloader

Test

Facebook Twitter

Adding an existing project to GitHub using the command line. Putting your existing work on GitHub can let you share and collaborate in lots of great ways.

Adding an existing project to GitHub using the command line

If you are migrating your project from CodePlex, read the migration guide for more information. Warning: Never git add, commit, or push sensitive information to a remote repository. Sensitive information can include, but is not limited to: PasswordsSSH keysAWS access keysAPI keysCredit card numbersPIN numbers For more information, see "Removing sensitive data from a repository. " Create a new repository on GitHub. At the top of your GitHub repository's Quick Setup page, click to copy the remote repository URL. Create a new repository on GitHub. At the top of your GitHub repository's Quick Setup page, click to copy the remote repository URL. Create a new repository on GitHub. At the top of your GitHub repository's Quick Setup page, click to copy the remote repository URL. Further reading "Adding a file to a repository using the command line" Top 20 SQL Interview Questions with Answers.

SQL is a language for accessing and manipulating database standardized by ANSI.

Top 20 SQL Interview Questions with Answers

To be successful with database-centric applications (which includes most of the applications Data Warehousing domain), one must be strong enough in SQL. In this article, we will learn more about SQL by breaking the subject in the form of several question-answer sessions commonly asked in Interviews. Selenium Integration with Jenkins. TestNG Tutorial. TestNG (Next Generation) is a testing framework which, inspired by JUnit and NUnit, but introducing many new innovative functionality like dependency testing, grouping concept to make testing more powerful and easier to do.

TestNG Tutorial

It is designed to cover all categories of tests: unit, functional, end-to-end, integration, etc… JUnit 4 Vs TestNG – Comparison. JUnit 4 and TestNG are both very popular unit test framework in Java.

JUnit 4 Vs TestNG – Comparison

Both frameworks look very similar in functionality. Which one is better? Which unit test framework should I use in Java project? Here I did a feature comparison between JUnit 4 and TestNG. 1. The annotation supports are implemented in both JUnit 4 and TestNG look similar. The main annotation differences between JUnit4 and TestNG are 1. 2. 3 additional setUp/tearDown level: suite and group (@Before/AfterSuite, @Before/AfterTest, @Before/AfterGroup). JUnit 4 @BeforeClass public static void oneTimeSetUp() { System.out.println("@BeforeClass - oneTimeSetUp"); } TestNG @BeforeClass public void oneTimeSetUp() { System.out.println("@BeforeClass - oneTimeSetUp");} In JUnit 4, the annotation naming convention is a bit confusing, e.g “Before”, “After” and “Expected”, we do not really understand what is “Before” and “After” do, and what we “Expected” from test method?

Junit Selenium Training. Ant and TestNG Task example. In this tutorial, we will show you how to run a TestNG test in Ant build. 1.

Ant and TestNG Task example

Run by Classes. Testing Basic Interview Questions : Difference between Smoke and Regression Testing in Tabular Form. Connect to Oracle DB via JDBC driver. Here’s an example to show you how to connect to Oracle database via JDBC driver. 1.

Connect to Oracle DB via JDBC driver

Download Oracle JDBC Driver. Database Testing using Selenium: Step by Step Guide. Selenium Webdriver is limited to testing your applications using Browser.

Database Testing using Selenium: Step by Step Guide

To use Selenium Webdriver for Database Testing you need to use the JDBC ("Java Database Connectivity"). JDBC (Java Database Connectivity) is a SQL level API that allows you to execute SQL statements. It is responsible for the connectivity between the Java Programming language and a wide range of databases. The JDBC API provides the following classes and interfaces Driver ManagerDriverConnectionStatementResultSetSQLException.

OracleDriver (Oracle Database JDBC Java API Reference) Skip navigation links oracle.jdbc Class OracleDriver java.lang.Object oracle.jdbc.driver.OracleDriver oracle.jdbc.OracleDriver.

OracleDriver (Oracle Database JDBC Java API Reference)

JDBC - Database Connections. After you've installed the appropriate driver, it is time to establish a database connection using JDBC.

JDBC - Database Connections

The programming involved to establish a JDBC connection is fairly simple. Here are these simple four steps − What's the difference between JavaScript and Java? Web Service Testing: A Beginner's Guide. What is WebService?

Web Service Testing: A Beginner's Guide

Why is it Needed? In General, software applications are developed to be consumed by the human beings, where a person sends a request to a software service which in-turn returns a response in human readable format. In the modern era of technology if you want to build a software application you don't need to build each and everything from scratch. There are lots of readymade services available which you can plug into your application and you can start providing those services in your application.

For example you want to display whether forecast information you don't need to collect, process and render the data in your application. Web services allow us to do these kind of implementations. As an example, consider the following WebService It gives Share Value for a Company. Let's find share price for Google (Symbol: GOOG ) The response XML gives the stock price. This WebService can be called by a Software Application using SOAP or HTTP protocol. Set up Page Object Model (POM) in Selenium Automation Framework. Creating Selenium test cases can result in an unmaintainable project.

One of the reasons is that too many duplicated code is used. Duplicated code could be caused by duplicated functionality and this will result in duplicated usage of locators. The disadvantage of duplicated code is that the project is less maintainable. If some locator will change, you have to walk through the whole test code to adjust locators where necessary. By using the page object model we can make non-brittle test code and reduce or eliminate duplicate test code. Java Properties File: How to Read config.properties Values in Java? Java Properties File: How to Read config.properties Values in Java?

Interface in java with example programs. Earlier we discussed about abstract class which is used to achieve partial abstraction(hiding irrelevant details from user). In this tutorial we are going to discuss about interfaces, which are used for achieving full abstraction. In this post, we will discuss what is an interface? What is the significance of it? When and how to use it? Read: Difference between abstract class and interface. JDBC - Database Connections. List of all java interview algorithms - Java Interview Programs. Java interview questions - Java Interview Questions & Answers. Some interesting Software testing interview questions. Posted In | Basics of Software testing, Career in Software Testing, Testing Interview questions In this post I am going to answer some of the questions asked by one of the reader Srinivas M. 1.

In an application currently in production, one module of code is being modified. Is it necessary to re-test the whole application or is it enough to just test functionality associated with that module? Vijay: Well, the answer is both. I think this scenario will explain the answer to your question well. If Module A is modified, Module B is depending on module A, and Module C is a general module independent of module A.

Again if you are a white box tester you probably know which modules will get affected and which modules should be tested. 2. Manual and Automation Software Testing Interview Questions and Answers. I’ve prepared this comprehensive list of software testing interview questions and answers post. These questions include tips to prepare testing interview, manual and automation testing questions, ISTQB and CSTE certification questions and some mock test to judge your testing skills. I hope if you go through all these questions and answers you will definitely crack any interview or at least feel comfortable and confident attending QA interviews.

Manual testing interview questions and answersAns. How to define a standard process for the entire testing flow, how to explain challenging situations in manual testing career, What is the best way to go about getting a pay rise. Click above link for answers to these questions. Top 10 Automation Testing Interview Questions. 1) When will you automate a test? Automation in preferred in following cases Repetitive TasksSmoke and Sanity TestsTest with multiple data setRegression test cases Usually the decision is based on the ROI (Return on Investment) 2) When you will not automate testing? 50 Most Popularly Asked Selenium Interview Questions and Answers - Selenium Tutorial #33. Selenium Integration with Jenkins. Step to Step guide for Selenium integration with jenkins. Selenium integration with Jenkins Before starting if you have be having Eclipse , TestNG and if you are using Excel sheets or CSV File, then these jars should be ready. Check out the full video for the same We will divide this post into Following section.

Working with HashMaps in Java. A HashMap basically designates unique keys to corresponding values that can be retrieved at any given point. Some core features of the HashMap are- a) The values can be stored in a map by forming a key-value pair. The value can be retrieved using the key by passing it to the correct method. Introduction to Selenium Grid. What is Selenium Grid? Selenium Grid is a part of the Selenium Suite that specializes on running multiple tests across different browsers, operating systems, and machines in parallel. Java tutorial for beginners with examples.

This tutorial would help you learn java like a pro. We have shared 500+ tutorials on various topics of java including basic java concepts, java programming examples and flow diagrams. JUnit 4 Vs TestNG – Comparison. Java tutorial for beginners with examples. Working with HashMaps in Java. Difference between List and Set in Java Collection. 50 Most Popularly Asked Selenium Interview Questions and Answers - Selenium Tutorial #33. JDBC - Database Connections. JDBC - Database Connections. Steps to connect to the database in java.

JDBC Tutorial: Example to connect to the oracle database. Create table emp(id number(10),name varchar2(40),age number(3)); create table emp(id number(10),name varchar2(40),age number(3)); How connect to Jira server with REST API and Java language? Automation Testing Interview Questions: Prepare For Your QA Position Today. Interface in java with example programs. System Dashboard - JIRA. Linux Mint 17.2 "Rafaela" - Cinnamon (64-bit)