Traditionally, software testing is carried out on a single system and different test cases were executed one after the other. While this approach to testing is effective in detecting bugs and issues and assuring quality & functionality of the software, it demands that the testing team wait for the completion of each test case execution before moving on to the next. The increase in the number of platforms and operating systems on which the software or application was to be tested, makes it increasingly time consuming. Synchronization of data between the new system and the legacy system requires multiple test case executions, which can really make it next to impossible to complete the testing process on time.
The Need for Running Test Cases Simultaneously
Efficiency in the software testing process is key to not just developing high quality software but also delivering it on time. Running test cases simultaneously is the solution to the problem of extended testing hours and parallel testing is the term used to describe this process. With the popularity of agile methodology, which encourages continuous testing, parallel testing has emerged as the only approach to achieve faster deployments with increased test coverage.
In addition to efficiency and increased test coverage, parallel testing has quite a few benefits to offer and these are as follows:
• Can be used to conduct redundant testing which verifies the quality of a new software version.
• Makes it possible to ensure software/application integrity.
• Detects inconsistencies in data formats between two similar versions of a software.
• Makes it possible for organizations to conduct large scale testing in less time.
• Improves efficiency of testing process.
Test automation platforms can be used to run test cases simultaneously across browsers and platforms with ease.
Running Test Cases Simultaneously on QARA Enterprise
QARA Enterprise is a test automation platform developed by The Digital Group, that has integrated with Selenium-Grid, and you can use it to run your test cases against multiple browsers, multiple versions of browser and browsers running on different operating systems. It reduces the time it takes for the test suite to complete the execution. Selenium-Grid is used to speed up the execution of a test suite by using multiple LAN machines to run tests in parallel. The integration also makes the Selenium JAR file & Browser drivers available on the QARA installed path.
Given below is a screenshot of the Configurations window, which allows users to choose the testing approach by clicking on the respective tab.
The first step is to start the Hub and the command for it is as follows:
Command to start Hub:
java -jar selenium-server-standalone-3.4.0.jar -role hub
The next step is to start the Node and the command for that is given below:
Command to start Node:
Java- Dwebdriver.chrome.driver="path for chromedriver.exe" -Dwebdriver.gecko.driver="path for geckodriver.exe" -Dwebdriver.ie.driver="path for IEDriverServer.exe" -jar selenium-server-standalone-3.4.0.jar -role node -hub http://IP_address:4444/grid/register
You can configure a system as a Hub and add multiple systems on that network as nodes for parallel execution. Once the test cases have been assigned to various nodes, no further monitoring is required to execute test cases. Users can also perform grid execution using Sauce Labs and BrowserStack.
So, you see that running test cases simultaneously in QARA Enterprise is simple and you can use it to make the process of test automation faster. Have you tried it yet? Let us know your experience and share your feedback.
This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity. Atlassian:...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events