Are you looking for a method to measure your test coverage? Are you finding it difficult to give an exact percentage of your testing? If so here is a simple template for you to calculate the test coverage. As we know, test coverage is the amount of testing performed. It could be calculated as below:
(Number of test cases executed/Total number of test cases) X 100%
Quality Assurance
The testing tool selenium IDE is usually used to develop test cases. It is a Firefox plugin So Our first step is, to install Selenium IDE. For that you can download it from the following place http://seleniumhq.org/download/. After that 'Selenium IDE' add-on to be installed. You should restart the fire fox browser.
We all are familiar with the drop-downs on website. It is used to list a series of items under a box/menu. Suppose we have a page which lists apparels. And in apparels we have categories like shirts, t-shirts, trousers etc. We can sort these categories with the help of a drop-down (select tool). The working of drop-down is in such a way that, by default the drop-down will list only one item. When user clicks the down arrow which is displayed near to the menu, the drop-down will be dropped down and will list all the choices below. The drop-down may have pretty large list of items. So in order to select the down most items, there will option for users to scroll down. These are the primary things about a drop-down. Now lets see the test cases for testing the drop-down.
Cause effect graphing is a mapping technique, which is used to analyse combination of input conditions and effects may be through of as the output. The Cause-Effect Graphing technique derives the least number of test cases to cover 100% of the functional requirements to improve
the quality of test coverage.The cause-effect graphing technique uses the same algorithms that are used in hardware logic circuit testing. It has the ability to detect defects that cancel each other out, and the ability to detect defects hidden by other things going right. It is a graphical representation of inputs (causes) with their associated outputs (effects), which can be used to design test cases.
Imagine that your website has been hacked and defaced. Owning and running a good website can be challenging. Having your website hacked can be a nightmare and dealing with a hacked website, an even scarier one.
With the coming of broadband the importance and relevance of audio/video streaming has increased to a pretty impressive level on the internet. Almost all media related websites contain video/audio streaming in one form or the other. Streaming videos is a good choice when you don't want people to download your videos and share with others. Here are some quick steps to test video/audio streaming.
How to convert to Uppercase, Lowercase and Titlecase using spreadsheet formulas - These formulas will work on OpenOffice/LibreOffice Calc and Google Sheet
In websites response time play a very important roles. Capturing this time is a difficult task. We can perform this by selenium Framework and by using the below script we can calculate the response time. The main aim of the script is to find time taken for JavaScript code execution, elements loading, page load etc.
In this code we can calculate the time span between two events in different case.
While using websites with numerous web pages, you might feel confused like which page you are currently in or from which page you reached the current page. For tracking this navigation, websites often use breadcrumbs or breadcrumb trail. Breadcrumbs are usually seen at the top of site pages. It is nothing but listing of website links separated by a greater-than sign (>). Here what user should do is just click the links and navigate to corresponding pages. Each link on breadcrumbs are termed as Levels. The main advantage of these links is helping users navigate to higher level pages of the site. Following are some of the test cases that can be referred while testing breadcrumbs in a site.
Quality is an important factor when it comes to any product or service. In order to maintain or enhance the quality, manufacturers use two techniques, Quality Control and Quality Assurance. They are closely related, but they are different concepts. They have strong interdependence, Quality Assurance relies mostly on the Quality Control feedback and both work to deliver good quality products/services, but they are different processes.
A test case is a step by step procedure to test the functionality and design of a software. Test cases are prepared after reviewing the documents required for developing the software. All the requirements should be thoroughly and comprehensively studied before designing the test cases. A good test case should include all the requirements and cover the complete functionality of the software. The software will be tested by executing the prepared test cases.
Suppose if a Drupal login page has a Captcha to find whether the user is human or a bot. Using Selenium IDE we can automate all type of web elements such as link, check box, radio button etc. In case of Captcha, human interaction is a must.
XPATH stands for XML Path. In web-based application, XPATH is a unique address for each web object. XPath is mainly used to find an element in the web page. XPath helps to get address of the web element such as check box, radio button, link etc. To write XPATH for Dropdown, first of all we need to install Firebug in Mozilla Firefox browser. Firebug allow user to view the code behind the web page.
Navigation Menu bar are intended for helping users navigate through important pages of the website. The navigation menu bar can be customized in different ways. Mega menu is one such customized menu bar, which has got high usability factors compared to traditional navigation menu bars. The main advantage of mega menu is that user can view all options in one area, without scrolling down the content. The user can access the mega menu with just a click or mouse hover thereby saving his/her time.
As you know that it is not easy to check manually the broken links in a website. Suppose if the site contains thousands of web pages and the pages keeps on getting added or deleted at the same time. In this situation it is impossible to manually test the broken links in a site. So in this case you need a tool to do this job. 'Xenu's Link Sleuth' free application helps you to check all links on web pages for errors. The application will shows which links are broken and which are active. So here I am explaining how to test broken links in a website by this application.
Suppose your drupal projects contains products to sell. And you can use coupon code while purchasing products. For using coupon code in your druapl site, Ubercart Coupon code module may be installed. Please check the below cases which contains the test cases of checking coupon code functionality.
Suppose you have to take the print out of a web page while working in a project.Some times the whole content in the page will not be printed as the contents at the end of the margin are cut off or the images are not displayed properly. Alignment issues and padding issues may also appear in print pages.So the user should be careful while taking the print out of a web page.
Implementation of test strategy for a particular project is known as "test approach". The test approach is usually defined in all test plans and test designs. Test approach refers to the commencement of various project activities such as planning the testing process, selecting the designs, defining the entry and exit criteria etc.
Statement coverage is a white box testing technique, which involves the execution of all the statements at least once in the source code. It is a metric, which is used to calculate and measure the number of statements in the source code which have been executed.
Sandwich testing is a type of testing that consist of two parts,they are Top-down approach and Bottom-up approach.It combines the advantages of both Bottom-up testing and Top-down testing at a time.Bottom-up testing starts from middle layer and goes upward to the top layer where as Top-down testing starts from middle layer and goes downward. Big-bang approach is followed for the middle layer. From this layer bottom-up approach goes upwards and top-down approach goes downwards.