Testing

Testing, Uncategorized

What Is Selenium? And Packages Of Selenium

Selenium is one of the widely used software test automation tools. It is an open-source automation testing tool.There is a mass movement towards automation testing in the software testing industry. Packages of selenium There are 4 packages. They are 1. Selenium Integrated Development Environment(IDE) Selenium IDE was developed by shinay Kasatani. In the year 2006 selenium IDE became a part of the selenium package. This selenium IDE turned out the great value and potential to the community. Its record and playback features make it exceptionally easy. In selenium when compared to all the packages, selenium IDE(Integrated Development Environment) is the simplest and easiest package. Selenium IDE is a cable of recording and playing back the user across on a firefox instance to which it is plugged in. And selenium IDE is cable of converting into java, HTML, c# and so many other languages. It is flexible and extensible. But it does not support error handling. And does not support database testing. Iterations and conditional statements are not supported by the selenium IDE(Integrated Development Environment). 2. Selenium Remote Control (RC) Selenium RC is a language which is written in java. It allows the user to construct the test scripts for the web applications in any programming language. This selenium RC(Remote Control) is a result of the disadvantages of selenium IDE(Integrated Development Environment). And one of the main disadvantages of the selenium IDE is the same-origin policy. This selenium Remote Control(RC) supports a wide range of browsers and platforms. And it also supports data handling and database testing. It supports logging and capturing screenshots. Supports TestNG and Junit testing frameworks. Supports programming languages and constructs. Unable to handle alerts and navigations efficiently. It does not support android/iPhone testing. Unable to handle Ajax calls efficiently. 3. Selenium Web driver Selenium web driver was invented in the year 2006 by Simon steward. It is an object oriented framework. Selenium web driver is a web-based testing tool. There is a hair-splitting difference between selenium web drivers and selenium RC. Without using any peripheral entity it utilizes the browser’s native compatibility to automation. Before executing the test scripts do not require a selenium server at starting. When compared, the selenium RC selenium web driver is faster. But it does not support mobile testing. And the API is more complex. Directly communicates with the browsers. 4. Selenium Grid selenium Grid was introduced by Pat Lightbody in order to address the need for executing the test suites on multiple platforms simultaneously. There are 2 major components in the selenium grid. This hub routes test commands which are in JSON format to the multiple registered grid nodes. Node is a remote device that consists of a remote web driver and a native operating system. In the form of JSON test commands node received the request from the hub and executed them using a web driver.

Testing, Uncategorized

What Is Software Testing? Types Of Software Testing

What is software testing? Software testing means it is a process to check the application is working according to the requirement. And also to ensure that the application is defect-free, in order to produce the quality product. There are 2 different types of software testing. They are mentioned below. Functional Testing: Again functional testing contains different types of testing. 1. Unit Testing Unit testing is a type of testing where individual components are tested. In order to know that each component/unit works as expected. So the name itself is called Unit testing. 2. Integration Testing In integrated testing, all the individual units are combined and tested as a group. In order to expose the faults in the interaction between the testing units. Test stubs and test drivers are used to aid in integration testing. 3. System Testing System testing is a type of testing to verify the complete and fully integrated software product. The purpose of this testing is to analyze end to end system specifications. 4. Sanity Testing Sanity testing is a quick check that the application is rational. Sanity testing can be narrow and deep. Whenever a build is received then sanity testing can be performed. 5. Smoke Testing The smoke testing consists of a non-exhaustive set of tests that aim to make sure that the most important functions work. It is also known as ‘Build verification Testing’. Why because based on the result it is decided that the build is still enough for future processing. 6. Interface Testing Interface testing is testing to ensure that the Communication between 2 different software systems is working properly. The connection that integrates 2 components is called an interface. So it’s got that name interface testing. 7. Regression Testing This regression testing purpose is to know that the recent modifications do not affect the existing features. 8. Acceptance/Beta Testing The purpose of this acceptance testing is to estimate compliance with the business requirements and assess whether it is acceptable for delivery. Non-functional Testing It is a type of software testing to test non-functional aspects. They are mentioned below. 1. Performance Testing To ensure that the application is working fine with the expected load. That means to know the performance of the application like sensitivity and stability under this stage. 2. Load Testing The load testing purpose is to know the behavior of the application under the specific expected load. 3. Security Testing Security testing means to make sure that the application data and resources are secure from the possible intruders. 4. Localization Testing To verify the quality of the product this localization testing is used. 5. Compatibility Testing To check that the application is working fine all types of browsers. 6. Reliability Testing To know that the application can perform a failure-free operation for a specific time and environment. 7. Usability Testing It is just like end-user testing. The testing purpose is to know that the application is easy to understand, easy to learn and attractive to the end-user.

Testing

What Is Usability Testing? Why It Is Performed.

What is Usability Testing Usability testing means to make sure that the application is fit to the end-user expectations. Whatever the application is the aim is to reach the end-user expectations. To develop any applications the 3 things that the developer is put in mind is: Why is usability testing performed? In recent times web and mobile applications ruling the business. Because of mobile usage, this usability testing is getting affected. why because nowadays everyone uses mobiles, both literates and illiterates. So whatever the application is the end-user whether it is literate or illiterate should be able to handle the application in a smooth manner. If the application is understandable only for the literates then the application does not see a huge success. Of course, there are other features also to be considered to know that the application is going to hit or flop. But this usability testing also plays a key role to see success. This usability testing is not only applicable to software applications only, but also for all types of interface/machines that have human interaction has got to satisfy these rules. For example if the voting machines is not usable , it means more than single-action if there are multiple actions to be performed to vote to the chosen candidate, then did the public show any interest to do all that process for one vote? They get irritated then the democracy will suffer. And the gadget in the hospital, if that won’t work properly there, is a critical situation where sometimes the patient even may die. It should be in an understandable manner not to complicate to perform any action. If the application is hospital related you know that it is an emergency case. And To avoid situations like this usability testing is mandatory. There are a bunch of examples in history that one single button can cause a great effect. And this usability testing is performed when it means the earlier a defect is found in the SDLC the cheaper it is to fix it. The same as this concept holds true for testing Usability also. So it is important to design an application in such a way that the customer/ end-user did not get irritated by multiple clickings. It should be simple and also able to provide good security. Who performs this testing There are 2 different ways that this usability testing can perform. The first one is the developer, designers and anyone else can sit and analyze the system and get the results. Based on the result there can be some modifications that are done if required. It is an internal process. And the second way is hiring real-time users and assigning tasks for them and getting the results from them. This is an advanced approach.

Testing

What Is Performance Testing? Types Of Performance Testing.

What is performance testing Performance testing is to know how the software application behaves under the workload in terms of stability and responsiveness. Performance testing comes under non-functional testing. Types of performance testing 1. Load testing Load testing is performed to know how the software application is working under normal usage and at peak usage. By considering the application response to the user request and its ability to respond frequently within an accepted tolerance on a different user load the performance of an application is checked. The key factors that should be considered in this load testing are to know how much is the maximum load to the application that it goes into unexpected behavior. Before the system slows or crashes how much data that the database is able to handle. And also to consider is there any network issues to be addressed. 2. Stress testing Stress testing is a performance to find ways that break the system. By performing this testing it provides the maximum range of the load that the system can hold. Where the load is gradually increasing Stress testing has a progressive approach. Initially, this test started by applying a load to the system that it can hold and gradually by increasing the load to stress the system. The point at which the servers are not responding to the request is considered a breaking point. 3. Capacity testing Capacity testing is used to know by how many transactions or by how many users that a web application supports and still meet the performance. The reason behind performing this testing is to know that the application is capable to meet the business needs in normal and peak load conditions. Bandwidth capacity, memory usage, and some other aspects are observed while performing this capacity testing. capacity testing plays a major role in Online baking. 4. Volume testing Volume testing is performed to make sure that the volume of the data does not affect the performance of the application. To perform this teste a large amount of data is entered in the database. It can be either an incremental or steady test. In an incremental test, the volume of the data is increased gradually. For example, a website of a hotel with fewer customers initially and increasing gradually. 5. Reliability testing Reliability testing is also known as recovery testing. It is simply nothing but a time estimation. That means to verify that the application is able to return to its initial state after a failure/ abnormal behavior or not. And to know how long it takes to come to normal behavior. If any application experiences failure and is able to work fine after an hour, then that application is said to be reliable. 6. Scalability Testing This scalability testing is done by the performance testing team. They perform multi[ple tests like by increasing the users to meet the expected load and to know the application performance. To know whether the deployment can support the service under peak user load.

Testing

What Is Regression Testing? Types Of Regression Testing.When To Perform Regression Testing?

What is Regression testing? The Regression is performed to make sure that the modification made in the code does not impact the existing functionality of the application. That means no new bugs are introduced because of these changes. In this previously executed test case also again executed in order to verify the impact of modifications/changes. This regression testing is performed on a new build when there is any significant change in the original functionality. Why regression testing is important ? because the application contains many modules and those models are dependent then this regression testing is very important. For example Gmail. Gmail contains compose, inbox, sent, drafts, trash and so on. Here the compose module and sent module are interlinked which means whatever mail that sent will reflect in the sent module. For example, if the client needs some new features in the compose module and the development for that module is done. If the testers do not perform regression testing and deliver the application. Then what will happen? The important emails that were sent by the user will not present in the sent module then there is no proof from the sender side. This has a very high priority. If the new features are developed in help modules that do not much affect any other module So regression testing plays a crucial role. When there is any continuous change in the application this test is very important. Types of Regression testing There are 3 different types of Regression testing. They are mentioned below. 1. Unit Regression Testing During the unit testing phase, Unit Regression is done and the code is tested in separation so that if there are any dependencies on the unit to be tested are blocked so that the unit can be tested individually without any inconsistency. 2. Partial Regression Testing Partial Regression testing is performed to make sure that even when the changes/modifications have been done in the code that does not affect the (unit )code for that module. And that very unit is integrated with the unchanged or already existing code. 3. Complete Regression Testing When there are changes in every module and also the changes affect other modifications in other modules unknowingly.Then complete regression testing is done. When to perform Regression testing Usually, Regression testing is performed after verification of modifications or new functionality. Sometimes it is not the scenario. Regression tests must be incorporated in the daily test cycle for the release that is taking months to complete. If the scenario is weekly release then regression tests can be performed when the Functional Testing is over for the changes. Regression testing is nothing but retesting. That means repeating the test that was performed before. Regression testing is done not regularly only for the special occasions that mean something has changed in the application or code.

Testing

Automation Testing by using Cucumber Tool and Selenium and Benefits of Behavior Driven Development.

What is Cucumber? A cucumber is a tool that is based on the Behavior Driven Development(BDD) framework. There are other tools that support BDD(Behavior Driven Development) for example JBehave. This Behavior Driven Development(BDD) is an extension of Test-Driven Development. It is one of the testing approaches. By using Gherkin language it explains the behavior of the application. Both selenium and cucumber are used to perform acceptance testing for the web application. At the beginning cucumber was implemented in Ruby later it extended to Java framework. Cucumber can be used in combination with Selenium, Watir, Capybara and so on. It supports different languages like PHP, Python, Perl, Net,etc., It Does not support composite steps. Cucumber does not contain any standard documentation. It contains a better formatting flexibility, built in reports. Here are some cucumber features. These are some features of Cucumber. There is a possibility to execute the Junit test case which was written in Cucumber by using TestNG. But by following the below conditions.They are: Feature file: In the Feature file, the feature is written that is to be tested in Gherkin format. There is an ability to even run the feature file to execute the test scripts which were written in the StepDef file. Stepdef file: In the StepDef file each sentence of the featured file can be further implemented. Runner file: In this Runner file the actual script is executed which was written over the StepDef file by referring to the Feature file. Along with this, it contains many other options like customization, reporting, execution, selective, etc. What is Selenium? For the functional testing of the web application selenium automation tool is used. It supports different languages like java, ruby, python, c#, etc. It is not just a tool but it is a suite of software. Some tools mentioned below. Benefits of Behavior Driven Development(BDD):

Testing

What is Jira? Advantages and Disadvantages of Jira

What is Jira? Jira is a bug tracking tool basically which was developed by an Australian company named Atlassian in the year 2002. Basically, it is a bug tracking tool later in the year 2012, it started its services like project management. It is a Japanese word which means Godzilla. This tool is mainly used for bug tracking for software and mobile apps. Jira is mainly used by Agile developers to customize the workflow and for team collaboration and it releases the application with more confidence. And the help desk system, leave request system also uses this tool. Coming to the tester this tool is used for bug tracking to track project-level issues like documentation and also to track environmental issues. This tool was used by 75000 users in 122 countries. Jira contains 4 packages. They are mentioned below: 1. Jira core It is a project and task management solution. In the organization, every business person uses the plan, track and report of the work. The new business template of this Jira core is very efficient to support multiple teams, projects, and workflow. 2. Jira software Jira software is developed for bug tracking of software and mobile apps. 3. Jira Ops It is a place to respond to the incidents, link systems and to create a consistent process. On Atlassian’s Jira software Jira Ops is built. And its objective is to automate and streamline incident responses and also provide visibility into the ongoing incidents and also provide updates about chat and status. 4. Jira service desk Jira Service desk is a modern service desk software. It provides good visibility and provides a good structure for the work to provide a better service. Jira Basics: It consists of 6 aspects. They are mentioned below. Coming to the plugins there are some plugins available in Jira to get a better result. There is some famous plugin in Jira They are mentioned below Zendesk, Salesforce, GitHub, Gitbucket, and so on. Some of them support the team to report the issue directly into Jira. With full-featured issues and with test management it created an unlimited private repository. As early discussed, agile developers mostly used this Jira software. For the upcoming versions of the product, the developers follow the roadmap of the planned features. Advantages of Jira Disadvantages of Jira

Testing

What is Apache JMeter? Features of Apache JMeter and Advantages and Disadvantages of Apache JMeter

What is Apache JMeter? Apache JMeter is an open-source and pure java application designed for load test functional behaviour and to measure the performance of the application. Apache JMeter can also perform testing on static and dynamic web applications. Under different load types, it analyses the performance of the application. Besides Selenium and LoadRunner, JMeter has become one of the most popular testing tools in the world. The types of applications that can be tested by JMeter are mentioned below: Features of Apache JMeter Advantages of Apache JMeters Disadvantages of Apache JMeters

Testing

What is WebLOAD? Features of the WebLOAD, Advantages and Disadvantages of WebLOAD

What is WebLOAD? WebLOAD tool is a load testing tool to perform stress testing and performance testing of the web application. WebLOAD was developed by RadView Software in 1997. The RadView software released 20 versions of WebLOAD. And the stable release of the WebLOAD tool is 10.3.1. This tool is capable of generating reliable and real-life load scenarios even for the most complex systems. The operating systems for WebLOAD tool are Microsoft window and Linux WebLOAD tool combines performance, integrity, and scalability as a single process for the verification of web and mobile applications. Features of the WebLOAD tool Here are some WebLOAD tool features. 1. IDE IDE full form is an Integrated Development Environment. This IDE helps the users to edit and debug load scripts. 2. Load generation WebLOAD generates load from the on-premise from the cloud. 3. Correlation Automatic connection of the dynamic values such as session ID’S and allows a script to be executed dynamically with many virtual clients. 4. Analytics Helps the users to identify the tailback by providing a set of predefined analysis reports that provides performance data. 5. PMM PMM means Performance Measurements Manager. It collects server-side information throughout test runs. 6. Web Dashboard Analyzing execution test results from any kind of web browser. Advantages of WebLOAD Tool Disadvantages of WebLOAD Tool

Software Development, Testing

What is Maven? Advantages and Disadvantages of Maven

What is Maven Maven is the word that gives meaning ‘ Accumulator of knowledge’. It was designed to simplify the build process. Maven was developed by the Apache Software Foundation where it was formerly part of the Jakarta projects. It can build and manage the projects which are written C#, Ruby, Scala, and other different languages. There are several projects which contain their own Ant build files. And Maven provides a uniform build system. That means it builds a project by using its Project Object Model(POM) and other sets of plugins. Most of its functionality is present in these plugins. By using command the plugins provide a set of goals that can be executed. And the command looks like mvn [plugin-name]:[goal-name]. There are different types of plugins present in Maven that are for building, source control management, and for testing, generating Eclipse project files, and so on. By default, some plugins are included in all projects. In a plugin section of POM. XML file plugins are introduced and configured. And coming to the dependencies in Maven those are central features in Maven. By identifying the individual artifacts such as software libraries or modules Maven’s dependency-handling mechanism is organized around a coordinate system. Maven will automatically download the dependency and the dependencies that Hibernate itself needs (called transitive dependencies) and store them in the user’s local repository. Thus, Maven relies on a convention on how to define projects and on the list of work-flows that are generally supported in all projects. To find the coordinate for different open-source libraries and frameworks there are search engines such as the Central Repository Search Engine which can be used. The projects which are developed on a single machine can depend on each other through the local repository. The local repository is a simple folder structure. For download dependencies, it acts as a cache and as a centralized storage place for locally built artifacts. The Maven command builds a project and places its binaries in the local repository. So that other projects can utilize this project by specifying its coordinates in their POMs. Advantages of Maven Here are some advantages of Maven. Disadvantages of Maven Here are some disadvantages of Maven.

Scroll to Top