Sunday, June 21, 2015

Finding Xpath in different Ways

Finding Xpath in different Ways 
 
 
1.) //tagname[@attribute='value'] // to go to any class r any value
 like id r tag etc.... drictly give //tagname[@class='value']

2.) //tagname[text()='xxx'] // to go to any text directly 
give dat in xpath // tagname[text()='gotodattext'

3.) //tagname[contains(text(),'
xxx')] // to find 
any text is there r not in the linktext if spaces are there we use this

4) //tagname[@att='value']/
parent::ul // to go to immediate upper attribute we use this

5.) //tagname[@att='value']/div // to go to immediate lower attribute we use this

6) //tagname[@att='value']/
ancestor::div //to go to any of the upper
 attribute we use this by giving that attribute

7) //tagname[@att='value']/
descendant::div // to go to any lower attribute we use
 this by giving that attribute

8) //tagname[@att='value']/
following-sibling::li //to go to any
 upper attribute which are in the parent class we use this by giving that attribute 

9) //tagname[@att='value']/
preceding-sibling::li // to go to any lower 
attribute which are in the parent class we use this by giving that attribute 

//a[contains(text(),'Books')]
//div[@class='footer-menu-
wrapper']/div[1]/ul/li[1]
(//div[@class='footer-menu-
wrapper']/div)[2]/ul/li[2]

Wednesday, June 17, 2015

SELENIUM PRACTICE


Color Digest AgArAQICGQMVBBwTIRQHIwg0GUMURAZTBWQJcwV0AoEDAQ
Color Digest 2,43,2,25,

Tuesday, June 9, 2015

Database Testing In Software Testing

Database Testing :

The main aim of database testing is verify the data that are uploaded in the application (front-end) is stored in the database (back-end) or not.

In this tutorial you can learn the concepts which is required for database Testing


Pre-Requisites: MySql Need to be installed on Your System.

Click Here for the installation process of Mysql


After successful installation of mysql open mysql and create database

Creating Database in Mysql

create database <Database name>;

EX: mysql> create database Testdatabase;
Query OK, 1 row affected (0.01 sec)




  

Tuesday, May 19, 2015

What are the Test deliverables ?

Subscribe To get updates

Enter your email address:


Delivered by Mindq Software Testing Tutorials
Test deliverables:


Test deliverables in software testing are

---> Test plans
---> Test  scenarios 
---> Test cases
--->  Daily/ Weekly status reports
--->  Requirement traceability matrix
--->  Usecase Documents
--->  Review Documents
--->  Bug Report

Tags: Deliverables in Software Testing





Friday, May 15, 2015

Selenium Web driver Handling alert box -Popup example

Subscribe To get updates

Enter your email address:


Delivered by Mindq Software Testing Tutorials


Here is the example  for handling alert box in selenium


Click the below button to display a alert box.

Saturday, May 9, 2015

Difference between priority and severity in software testing with example

Subscribe To get updates

Enter your email address:


Delivered by Mindq Software Testing Tutorials

Priority in software testing : 

To assign priority for  "Test case" or Bug we need to think importance of the test case or bug in terms of customer (client)  perspective.

Severity in software testing :

To assign severity for  "Test case" or Bug we need to think importance of the test case or bug in terms of project(application) perspective.

Here are some examples for severity and priority Test case / Bug


High priority and low severity example

---> Customer (client) logo is not displaying in the application

In the above case functionality will work but logo is important from the client side so we can consider this as High priority and low severity

 

Introduction to selenium webdriver

  Subscribe to get Updates Enter your email address:


Delivered by Mindq Software Testing Tutorials


Selenium WebDriver is a open source automation tool for web based applications. It supports different browsers, supports many programming languages python, ruby, java, php, c# and perl so users can develop automated test cases in preferred language. In this tutorial we are learning selenium with java language, Beacause java is most popular language.

List of content

1) Selenium download and setup
2) Identifying elements in selenium
3) First selenium test case