Posted on Leave a comment

Why did Automated Testing Disappoint so many Companies?

Introduction

To guarantee the quality of products, it is important that product development companies embrace testing. That’s not all, the way this test happens is also crucial. Over the years, manual testing has proven to be an approach laden with so many cons than pros. A way forward out of this is test automation. With test automation, companies have an incredible opportunity to increase the efficiency and coverage of software and product testing. Among many other benefits, test automation reduces time, gets rid of human error, reduces expenses, and provides better insights for product improvement.

However, just like every technological solution, test automation comes with its complexities. Therefore, if not implemented properly, it can bring disappointment. In this article, we will explore the possible reasons why test automation may fail you and thereafter provide a viable solution that you can leverage on, moving forward.

Test Automation Failed You: Why?

Setting unrealistic Expectations

Expecting 100% automation is practically impossible. Therefore, the beginning of the failure of test automation is when a team sets their expectations so high that they cannot be achieved. As much as possible, expectations should be realistic. This fundamental axiom also applies to test automation.

Use of a Poor Test Automation Tool

If we start counting the number of test automation tools available today, we will lose count. The market is flooded with too many tools than you can imagine. For this reason, it becomes difficult to separate the quality ones from the noisemakers. However, while it may be difficult, it is not impossible. The most important factor to consider when choosing a test automation tool is your testing needs and primary goals. The reality is that every tool has its unique capabilities and your team needs to focus on finding the one that effectively aligns with your needs and requirements. Generally, we recommend Testup as a viable and affordable no-code test automation tool. Later in this piece, we will highlight the reasons why you may want to consider using Testup.

Disregard for Parallel Execution

One reason why some companies fail at test automation is that they get themselves caught in complex test suites that take forever to execute. In such a situation, test cases that are on queue end abruptly after timeout. Ultimately, the quality of the test gets compromised. In a nutshell, what this implies is that sequential execution of test cases offers nothing but a fast way to fail at test automation. A proven strategy is to embrace parallel execution as this allows multiple tests at the same time.

Buggy Test Environment

It’s often said that proper prior planning prevents poor performance. Every action in this world requires proper planning. This is even truer when it comes to test environments. If what you have is a buggy test environment, that’s already a turn-off for your test operations and a disappointment is inevitable. Therefore, you need to test on a staging environment to ensure that your code works perfectly well before proceeding to the production pipeline.

Ignoring Important Test Reports and Metrics

It’s surprising that some developers are willing to carry out a test on their product but are too much in a hurry to pay attention to critical test reports. Your guess is as good as ours, a failure of the test automation is imminent in such a scenario. Why carry out a test in the first place if the test reports will eventually get ignored? The best approach is to critically examine test reports to analyse possible faults and errors that lead to test failures. By doing this, you can address such errors and faults and make the test better on the next try. After all, the beauty of failure is the opportunity it offers you to make necessary improvement. Beyond getting a successful test result, a critical analysis of your test reports and metrics also helps you and your team to save time and resources.

Web Elements with Undefined IDs

With a non-computer vision approach to testing, it is compulsory for developers to assign IDs to web elements. Not doing this is a recipe for test failure because it becomes problematic for automated scripts to find the web elements on time. Therefore, to make sure that there is a seamless synchronization of the script, you need to assign IDs to web elements. A better way, however, is to use a test tool with computer vision and which requires no interaction with developers.

Inadequate Understanding of Test Procedure

When the testing tool being used requires human interaction, then, it becomes important for the tester to have a thorough understanding of the test procedure. Otherwise, failure is assured. When this happens, it is even costlier for companies. This is the reason why it is crucial for institutions to assign test automation to those who know how to implement it. Another issue is the inability to identify when test automation is necessary. Fortunately, there are test tools that require little or no human interaction these days especially with the success of codeless test automation tools like Testup and others.

Selecting the Best Test Automation Tool

As stated earlier, we recommend Testup as a robust test automation tool to choose for testing your product or software. Why Testup?

Succinctly put, Testup offers a brand new, computer-vision and codeless testing approach that mimics human actions. As a result, end-to-end tests become easy to maintain and highly understandable. Most test automation tools use a non-computer vision approach which means they require human interaction before they can be effectively used.

Also, code-based testing approaches like Selenium Python requires a developer to create and run the test; this in itself defeats the existence of test-automation in the first place. In addition, the approach is very expensive. Testup solves this challenge as it leverages a no-code approach to test automation.

What’s more? Unlike many test tools, Testup’s visual approach creates an easy to understand, easy to debug and easy to maintain series of actions with clear images.

Conclusion

As you have read in this article, there are great possibilities to fail at test automation if things are not done properly. As we have listed a few reasons why companies get disappointed, we have recommended a viable solution to avoid all possible pitfalls and enjoy the sumptuous benefits of test automation. To get started, check out Testup!

Posted on Leave a comment

Comprehensive List of No-code Test Automation Tools (2021)

Logo applitools www.applitools.com

Applitools is the next generation test automation platform powered by Visual AI

What’s the user interface of the tool?Web
Desktop
What’s the system under test?Website
Desktop
Android
IOS
Are visual checks possible?Yes
What’s the price range?
Is there a free trial?Yes

Logo Applause www.applause.com

Applause’s vision is to help clients deliver flawless digital experiences to their customers.

What’s the user interface of the tool?Web

What’s the system under test?Android
iOS
Web applications
Are visual checks possible?
What’s the price range?
Is there a free trial?Yes
https://www.youtube.com/watch?v=bIgRNGux_Vg

Logo Autify www.autify.com

Autify is a no-code automation testing tool for agile teams. It has an AI-powered test automation platform that is used to record tests. 

What’s the user interface of the tool?Chrome extension
What’s the system under test?Web Applications
Are visual checks possible?Yes
What’s the price range?500 USD p.m.
Is there a free trial?Yes

Logo BlazeMeter www.blazemeter.com

Blazemeter is an open source, enterprise ready platform for automation testing.

What’s the user interface of the tool?Desktop
What’s the system under test?Android
iOS
Web Applications
API
Are visual checks possible?No
What’s the price range?149 USD – 649 USD p.m.
Is there a free trial?Yes

Logo CloudQA www.cloudqa.io

CloudQA is a test automation testing tool that is used for web testing without writing any code.

What’s the user interface of the tool?Web
What’s the system under test?Web Applications
Are visual checks possible?Yes
What’s the price range?99 USD – 499 USD p.m.
Is there a free trial?Yes

Logo eureQA www.sayeureqa.com

eureQa is a complete automation platform for testing digital applications.

What’s the user interface of the tool?Web
What’s the system under test?Android application
iOS applications
Web applications
Are visual checks possible?Yes
What’s the price range?1,500 USD p.m.
Is there a free trial?Yes

Logo Leapwork www.leapwork.com

Leapwork is a no-code test automation tool for regression testing. This tool helps testers to run tests fast and accurately.


What’s the user interface of the tool?

Desktop
What’s the system under test?Windows application
Web applications


Are visual checks possible?



Yes

What’s the price range?
Is there a free trial?Yes
hierarchy and flows
Screenshot Leapwork
Overview video Leapwork

Logo eureQA www.machnation.com

MachNation is a fact-based IOT automation platform.

What’s the user interface of the tool?Web
What’s the system under test?IoT platforms
Are visual checks possible?Yes
What’s the price range?
Is there a free trial?No

Logo eureQA www.qadeputy.com

QADeputy is a test automation platform for managing test cases, test suites, test runs, and reporting.

What’s the user interface of the tool?Web
What’s the system under test?Web applications
Are visual checks possible?Yes
What’s the price range?0 USD – 18 USD p.m.
Is there a free trial?Yes

Logo rainforest www.rainforestqa.com

Rainforest is a testing tool that is used to run automation tests without writing any code. It combines both manual testing and automation testing.

What’s the user interface of the tool?Web
What’s the system under test?Webs application
Android
iOS
Are visual checks possible?Yes
What’s the price range?200 USD – 4800 USD p.m.
Is there a free trial?Yes

Logo Reflect www.reflect.run

Reflect is a no-code automation tool that is used for regression tests.

What’s the user interface of the tool?Mobile
What’s the system under test?Android application
Are visual checks possible?Yes
What’s the price range?0 USD – 300 USD p.m.
Is there a free trial?Yes

Logo Saucelabs www.saucelabs.com

Saucelabs is a test platform for automated and continuous testing for web & mobile apps.

What’s the user interface of the tool?Web
What’s the system under test?Web applications
Android
iOS
Are visual checks possible?Yes
What’s the price range?19 USD – 399 USD p.m.
Is there a free trial?Yes

Logo Test Craft www.testcraft.io

TestCraft is an automation testing tool that is used for regression testing, continuous testing and monitoring web applications. Testers can perform Selenium-based automation testing using TestCraft.

What’s the user interface of the tool?Web
What’s the system under test?Android application
Are visual checks possible?No
What’s the price range?Varies
Is there a free trial?Yes
https://www.youtube.com/watch?v=fdV9S2ayUvY

Logo Test Modeller www.testmodeller.io

Test Modeller is a model-based test automation platform.

what’s the user interface of the tool?Browser extension
What’s the system under test?Web applications
Desktop applications
Android
iOS
Are visual checks possible?Yes
What’s the price range?
Is there a free trial?Yes

Logo Usetrace www.usetrace.com

Usetrace is a testing tool that is used for UI test automation from cloud.

What’s the user interface of the tool?Web
What’s the system under test?Web applications
Are visual checks possible?Yes
What’s the price range?
Is there a free trial?Yes

Logo Usetrace www.zebrunner.com

Zebrunner is an automation testing platform with embedded reporting and real-time analytics.

What’s the user interface of the tool?Web
What’s the system under test?Android application
Are visual checks possible?Yes
What’s the price range?188 USD – 823 USD p.m.
Is there a free trial?Yes

Posted on Leave a comment

How Selenium Users could easily adapt to Testup in 20 Minutes

The Company X-Info had already created a great set of test cases for their Web Application when we introduced Testup. We found out many similarities of test steps that were solved with Selenium but could be done easier with Testup. The change to use Testup was quickly accepted by the developers since we could convince the whole team that Testup does the work like Selenium but with much less effort and much easier.

Structuring the test with projects and tests

The testers had no problem to structure their tests. There were separate project created for every application. For each project a set of tests was defined. Test cases of a project define a test suite to cover all features of one application. We used predecessor test cases to set separate configuration for different devices. We also used predecessor test cases to set the configuration for different user test data used at different locations of system under test (Germany, Austria, UK). With that structure the testers could easily keep everything in place and tidy. With Testup test cases can be organized in test suites much better than with Selenium.

Use same Actions but much Easier

The testers started with Testup without hassle. We began the tests by drawing rectangles around objects which are called “anchor areas” in testup that were visible on the web pages. With the first “anchor areas” we checked if the logo on the web page exist. Then we checked for the existing text boxes, input fields and buttons. We just hat to draw rectangles which took us just a view minutes to finish. These selections could easily be made with the mouse. Neither xPaths nor unique Id identification were needed to access the objects on the page. These checks using an anchor area can be compared to assertions scripted in Selenium but without coding. With the summary of checks for all buttons, text boxes, pictures and input fields we defined our object repository without writing a line of code.

This is Testup’s big advantage. Selecting the anchor areas with the mouse is much easier. Further more the user can retake image very easy if an object has been changed consciously.

The testers found out that anchor areas of Input fields combined with typing keys on the keyboard is very similar to the Selenium function of “send keys” as a keyboard input. Also a click in selenium is a combination of an anchor area with a click inside in Testup.

This is the Testup editor view with the browserwindow on the left and the action list on the right.

Predecessors for Repetitive Tasks

After the first test we used the test case “login” as a predecessor for all other test cases. So it is always a good practice to separate the login process from other test cases. Using test cases as a predecessor to other test cases helps to set test case preconditions. Setting identical preconditions is the key for robust repetitive automation which can be done in Testup much easier than with Selenium.

Debugging

After the test cases were executed manually the next step was to run the test suite automatically in the background without user interaction. To reach this level of maturity we first wanted to debug the tests before adding them to our test suite of regression tests.

For debugging we mainly used three features in the editor of Testup: „play next“, „play to here“ and „enable/disable“ test cases. Using these features was very comfortable compared to the debugging of a selenium script. This features could easily be selected for the list of actions in the editor. The features „Play to here“ in Testup is like setting a breakpoint with an immediate execution in Selenium. „Enable/disable“ in Testup is like commenting out lines of code of a test case step.

Run tests

After we debugged the tests we could play all test cases from the test case overview. This is similar to starting selenium test cases in the background at the command line in the console. To take care of the application response time we had to add some wait states to the tests to avoid some server time outs during some complex calculation.

Finally, the test ran through and we could set the recording as a base line for the current release. It is possible in Testup to set more than one base line. During the time we marked the history of final recordings of each major software release as base line.

Here the test run are shown with the indication if it passed or failed.

Conclusion

All the testers found that Testup definitely is an easier way to create and maintain automated test cases. The recordings summary are frequently printed out on PDF by X-Info and sent to their customer for visual inspection. New feature could be proofed as working before software roll out.

A big thanks goes to Andreas Pfeiffer from XInfo for working together and giving valuable feedback for the usability. We use customer feedback very accurate to improve our Testup platform continuously and for our development roadmap for new features.

To summarize the benefits of Testup, it is an easy to use, visual test automation tool that is close to human behavior using the software. No coding in required to record the test cases and a visual software quality report is provided to the stakeholders.

Posted on Leave a comment

No Code Automated Testing for Shopify (Case Study)

Introduction

It’s no longer news that coding skills are becoming less of a barrier to building, launching, and testing a great website or application. Today, no code tools offer businesses the opportunity to achieve sustainable digital transformation. As succinctly put by Forbes, no-code or low-code solutions help in building powerful applications that can help any organization scale, without the need to write any code.

One of the no-code tools shaping the e-commerce world is Shopify. If small businesses can build an online presence by creating a website through Shopify, it also makes a lot of sense for them to have an opportunity to test their websites through a no-code test tool. Testup has now addressed this concern. Therefore, this article will give you a practical guide that you can follow to test your Shopify website. Grab a cup of coffee and enjoy!

Testing a Website Built with Shopify

The first step is to have a website created using Shopify. We have developed that already, and it is named Jamiu Marketplace. The website is shown in Figure 1 below.

Figure 1

Now, let’ get started with testing the website.

Sign up and log in to your Testup account. Click on Go to App, which is displayed at the top right-hand corner of the page. Then, click Create Project; afterwards, click Create Test. Complete the necessary details requested under the Settings tab. These include the website’s URL and name of the test case. After this, click Edit to begin the testing. The testing page appears as follows; with the Jamiu Marketplace on the left-hand side and while a list of checks and inputs are on the right-hand side.

To check if the website is correctly loaded and to allow us to move on to the next action, we will select an anchor area and click play as check. As seen in figure 2, the Testup AI finds every area recorded; therefore, the page is good.

Figure 2

Now, let’s see if the search button is working. To do this, we first need to check that the search input field is visible. Therefore, we select an anchor area for the search button. Then, we schedule a click and play the action. The search field appears. The result is shown in Figures 3 and 4.

Figure 3
Figure 4

Afterwards, we schedule a text input for the search field by typing a search term, say cloth and pressing the play button.

The suggestion “Search for ‘Cloth'” appears. WE can select it as an anchor area and click on it. After playing the action the search results for “cloth” appear on the browser page as shown in Figure 5.

This indicates that the search feature on Shopify’s Jamiu Marketplace is working.

Figure 5

Conclusion

Codeless test automation is an opportunity that businesses and organizations need to seize and utilize well as it is already shaping the test automation landscape. Fortunately, tools like Testup offers an affordable option without compromising the quality of the test. Getting started is easy, and you can start with a free trial; just make a single click.

Posted on Leave a comment

No Code Automated Testing for Bubble.io (Case Study)

Introduction

Long before now, test automation tools and frameworks have made testers to spend a significant amount of time on programming. As a matter of fact, most testing automation tools were developed with programming in mind. Unfortunately, testers are not programmers, and it is incredibly time-consuming to make testers go through the rigour of programming to test websites and applications. This led to the question; why not take coding away from testing? In a bid to answering that question, Testup has provided an excellent avenue for testers to enjoy a no-code test automation tool. With Testup, testers can test their websites and applications very fast and without the need to master programming.

Therefore, in this article, we will look at how you can leverage Testup to test websites built with Bubble. As you may already know, Bubble itself is a no-code tool for building sites. Many businesses and organizations are already using Bubble. It will be an excellent opportunity for such businesses to know that they can also test their no-code websites using a no-code test automation tool (Testup).

Testing Website built with Bubble

First, we have developed a website named Jamiu Marketplace using the Bubble no-code tool. The process of building the website is shown in Figure 1, while the completed website is shown in Figure 2.

Figure 1
Figure 2

Testing Bubble’s Jamiu Marketplace

The first step is to register on Testup. Then, log in and click on Go to App which can be seen at the top right-hand corner of the page. After that, click on Create Project, then, click Create Test.

Fill in the necessary details like URL and name of the test case under the Settings tab. Once you have done that, click Edit to start testing.

The testing page will appear as follows (figure 3); with the Jamiu Marketplace on the left-hand side and while a list of checks and inputs are on the right-hand side.

Figure 3

To check if the website is correctly loaded and to allow us to move on to the next action, we will select an anchor area and click play as check. As seen in figure 4, the Testup AI finds every area recorded; therefore, the page is good.

Figure 4

Testing Clickable Buttons

Let’s check if a SIGN UP OR LOG IN clickable button is working. First, we select an anchor area covering the button. After that, click on the selected area; a circle icon with a plus sign will appear on it as shown in figure 5.

Figure 5

Clicking on the play it button will search the circle icon and click it. The result is shown in figure 6, which shows that the SIGN UP OR LOG IN command on Bubble’s Jamiu Marketplace is working.

Figure 6

Now, let’s take the testing a step further by trying to sign up. This means we want to input our email and password.

The text input field is already active. So we can schedule a text input for the email field just by typing the email address and pressing the play button afterwards. The email will appear in the input field. To move to the next text input field we can press enter or tab on the keyboard. The process is shown in figures 7 and 8.

Figure 7
Figure 8

Guess what? We can also test if the password field is working by repeating the same procedures, we followed for the email address. This is shown in figures 9 and 10.

Figure 9
Figure 10

Now, we will select the SIGN UP button as an anchor area; schedule a click and play it. Once we do this, the following page appears (figure 11). Notice that there is a LOG OUT button at the top right corner of the browser page; it means that the account has been created. Perfect! The SIGN UP feature on Bubble’s Jamiu Marketplace is working.

Figure 11

Conclusion

Testup has made it clear that with codeless automation, there is no need for you to understand coding to automate tests on the go and without a waste of time. In essence, we can say that codeless test automation is now within reach. By leveraging Testup, you can test any website or application. Get started here.

Posted on Leave a comment

How to Open a New Tab using Selenium WebDriver

One of the actions that seem a bit hard in automation is opening a new tab with the Selenium WebDriver. However, this should not be hard for you. This article will provide everything you need to know to open new tabs in with the Selenium WebDriver with ease.

What You Should Know

While running a Selenium test, it is possible to have multiple tabs if required just as possible as it is to open new tabs on your web browser. While many pages open new tabs automatically in a single browser window, you will need to know how to in pages that don’t. An example of a page that will open a link in another tab features the target=”_blank”. You will learn how to open multi-tabs using the Selenium WebDriver during testing.

During multi-tabs testing, some of the actions you will need to take include launching your browser, maximizing your browser, creating multi-tabs, switching tabs, executing actions on respective tabs before eventually exiting the browser.

To open a new tab using Selenium WebDriver if it does not open automatically:

  • Use the driver.findElement(By.cssSelector(“body”))
  • Then sendKeys(Keys.CONTROL+”t”)
  • Send Ctrl + t to launch a new tab as you usually do in your browser.

Another alternative method to also open a new tab using Selenium WebDriver is to follow these codes:

driver = new ChromeDriver();
driver.manage().window().maximize();
driver.get("https://www.google.com/");
String a = "window.open(link,'_blank');"; // replace link with your desired link
((JavascriptExecutor)driver).executeScript(a);

After your new tabs have been successfully created, you will also need to know how to switch or navigate between the numerous tabs you might open. To do this, you can use the driver.switchTo(). Window (<some window>) gives you the freedom to transfer control from your current tab to another while also performing different actions in the tabs.

Moving Forward

By following the steps outlined above, you can easily launch Selenium WebDriver successfully without any hassle. If you face any other issue, you can get in touch with us at Testup; we are willing to h

Posted on Leave a comment

No Code Automated Testing for WordPress (Case Study)

Introduction

Just like any other craft, coding takes months or even years to master. Therefore, it is challenging to make businesses and testers go through a bunch of codes and fix lots of errors in applications. Codeless automation testing tools is the perfect solution to this challenge. In a nutshell, codeless test automation involves making automated tests without the need to write or understand a single line of code. With this, anyone even with no programming skills will be able to test websites and applications seamlessly.

WordPress is a very common codeless tool for building websites. With WordPress, many businesses have built functional websites that have helped in boosting revenue. Won’t it be an excellent opportunity to have a codeless test automation tool to test a website built by a codeless tool like WordPress? Your answer is as correct as ours; it’s a defining moment in the technological world as we now have several codeless test automation tools for this purpose. One of the most amazing among these no code tools is Testup.

Testup is simple to use and user-friendly. It also allows you to maximize test reliability. Read on to see a practical process of how you can use Testup for a website built with WordPress.

Testing a WordPress Website with Testup

To do this testing, we need a website built with WordPress. Therefore, we have developed a website called Jamiu Marketplace using the WordPress no code tool. The website is shown in figure 1 below.

Figure 1

It’s time to test the website using the Testup no code automation tool. First, register on Testup and log in; afterwards, click on Go to App at the top right-hand corner. Then, click on Create Project and subsequently, Create Test.

Under settings, you will be required to fill in details like the URL and name of the test. For our WordPress website, the details have been filled, as shown in Figure 2 below. Let’s name the test ‘WordPress Test’.

Figure 2

After filling the details, the next thing is to click Edit to start testing.

Testing Jamiu’s Marketplace

After clicking Edit, the testing page will appear, as shown in Figure 3. Here, you will see the browser window of Jamiu Marketplace on the left-hand side of the editor. On the right-hand side, you will see a list of checks and inputs.

Figure 3

To check if the website is correctly loaded and to allow us to move on to the next action, we will select an anchor area. Anchor areas can be quickly recorded by selecting a desired area with the mouse. This is shown in figure 4.

Figure 4

Click the play as check button to carry out the check. Afterwards, you can move on the next check. If the Testup AI finds every area you record, then the page is good.

Testing Clickable Buttons

You can also use Testup to test if a clickable button is working. First is to ensure that the particular button is visible on the website. To do this, select an anchor area that covers the button. After that, click on the selected area; a circle icon with a plus sign will appear on it as shown in figure 5.

Figure 5

Clicking on the play it button will search the circle icon and click it. The result is shown in figure 6, which shows that the Learn more command on Jamiu Marketplace is working.

Figure 6

Conclusion

No code test automation is growing at an exponential rate. Having read this article, you will realise that Testup gives every tester a significant relief from the burden of mastering complex testing codes or frameworks. Visit Testup today to get started without any delay.

Posted on Leave a comment

No/Low Code Test Automation for Apps Built with No-Code or Low Code Tools

Introduction

The last few years in software development have proven one thing; that the no-code revolution is here. Developers and software development companies have realized that the no-code or low code approach offers an efficient way to meet the surging demand for more software worldwide. By freeing up the time that would have been spent on writing complex codes, enterprises can now focus on strategic and high-level work to create more business value, promote collaboration and innovation. As a matter of fact, many tech startups have launched across the world without the need to write a single line of code; that’s the power of the no-code approach to software development. It is no longer about the future; it’s now with us here in the present. From building websites to developing apps and launching workflow automation, everything can now be done faster, more than ever before.

Amazing, isn’t it? However, if we can now build complex apps without multiple developers, huge cost, or extended duration, how about testing these websites and applications? The purpose of making software development less time consuming and much more comfortable will be defeated if it takes more time and cost to test and maintain the same software. Guess what? The same no-code or low code approach used for software development is now being used to transform testing. The result of this effort is no-code or low code test automation.

No-Code for No-Code

Wouldn’t it be a great disruption in the tech industry to leverage a no-code or low code test automation tool to test an app or website built with the same low or no-code approach? This is a great time; huge costs will be minimized, time will be reduced drastically, complexities will become simple, business processes will become more seamless. Ultimately, there will be massive growth for enterprises that utilize this massive opportunity as they will become more competitive. To show you how easy this is, let’s use Testup, a seamless no-code test automation tool to test websites built by no-code tools like WordPress, Bubble, and Shopify. To do this, we will build a website named Jamiu Marketplace, with the three no-code tools making three websites in all. Each of these websites will be tested using Testup. This will be practical; relax and enjoy the flow.

Testup for WordPress

First, we have developed a website for Jamiu Marketplace using the WordPress no-code tool. The website is shown in figure 1 below.

Figure 1

It’s time to test the website using the Testup No-code automation tool. Before we get started, it’s good to note that you do not need any coding skills to get started with this testing. Register on Testup and log in; afterwards, click on Go to App at the top right-hand corner. Then, click on Create Project and subsequently, Create Test.

Under settings, you will be required to fill in details like the URL and name of the test. For our WordPress website, the details have been filled, as shown in Figure 2 below. Let’s name the test ‘WordPress Test’.

Figure 2

After filling the details, the next thing is to click Edit to start testing.

Testing WordPress’ Jamiu Marketplace

After clicking Edit, the testing page will appear, as shown in Figure 3. Here, you will see the browser window of Jamiu Marketplace on the left-hand side of the editor. On the right-hand side, you will see a list of checks and inputs.

Figure 3

To check if the website is correctly loaded and to allow us to move on to the next action, we will select an anchor area. Anchor areas can be quickly recorded by selecting a desired area with the mouse. This is shown in figure 4.

Figure 4

Click the play as check button to carry out the check. Afterwards, you can move on the next check. If the Testup AI finds every area you record, then the page is good.

Testing Clickable Buttons

You can also use Testup to test if a clickable button is working. First is to ensure that the particular button is visible on the website. To do this, select an anchor area that covers the button. After that, click on the selected area; a circle icon with a plus sign will appear on it as shown in figure 5.

Figure 5

Clicking on the play it button will search the circle icon and click it. The result is shown in figure 6, which shows that the Learn more command on Jamiu Marketplace is working.

Figure 6

Testup for Bubble

Like we did with WordPress, the first thing here is also to develop a website for Jamiu Marketplace using the Bubble no-code tool. The process of building the website is shown in Figure 7, while the completed website is shown in Figure 8.

Figure 7
Figure 8

Testing Bubble’s Jamiu Marketplace

We repeat the same procedures followed in the last test to create a new test case. Then, the testing page appears as follows (figure 9); with the Jamiu Marketplace on the left-hand side and while a list of checks and inputs are on the right-hand side.

Figure 9

To check if the website is correctly loaded and to allow us to move on to the next action, we will select an anchor area and click play as check. As seen in figure 10, the Testup AI finds every area recorded; therefore, the page is good.

Figure 10

Testing Clickable Buttons

Let’s check if a SIGN UP OR LOG IN clickable button is working. First, we select an anchor area covering the button. After that, click on the selected area; a circle icon with a plus sign will appear on it as shown in figure 11.

Figure 11

Clicking on the play it button will search the circle icon and click it. The result is shown in figure 12, which shows that the SIGN UP OR LOG IN command on Bubble’s Jamiu Marketplace is working.

Figure 12

Now, let’s take the testing a step further by trying to sign up. This means we want to input our email and password. To enter a text in an input field, we first need to check that the input field is visible. Therefore, we select an anchor area for the email field. Then, we schedule a click and play the action.

Then, we schedule a text input for the email field by typing the email address and pressing the play button afterwards. The email will appear in the input field. The process is shown in figures 13 and 14.

Figure 13
Figure 14

Guess what? We can also test if the password field is working by repeating the same procedures, we followed for the email address. This is shown in figures 15 and 16.

Figure 15
Figure 16

Now, we will select the SIGN UP button as an anchor area; schedule a click and play it. Once we do this, the following page appears (figure 17). Notice that there is a LOG OUT button at the top right corner of the browser page; it means that the account has been created. Perfect! The SIGN UP feature on Bubble’s Jamiu Marketplace is working.

Figure 17

Testup for Shopify

Nothing different, the same way we have tested the websites created by WordPress and Bubble, we will now test the Jamiu Marketplace website created by Shopify using Testup. This is fun, let’s go!

First, we create the Jamiu Marketplace website using Shopify; the website is shown below (figure 18).

Figure 18

We log in to Testup and create a new test case for the website. Then, the testing page appears as follows; with the Jamiu Marketplace on the left-hand side and while a list of checks and inputs are on the right-hand side.

To check if the website is correctly loaded and to allow us to move on to the next action, we will select an anchor area and click play as check. As seen in figure 19, the Testup AI finds every area recorded; therefore, the page is good.

Figure 19

Now, let’s see if the search button is working. To do this, we first need to check that the search input field is visible. Therefore, we select an anchor area for the search button. Then, we schedule a click and play the action. The result is shown in Figure 20.

Figure 20

Afterwards, we schedule a text input for the search field by typing a search term, say cloth and pressing the play button (figure 21). As shown in figure 22, the search results for “cloth” appear on the browser page. This indicates that the search feature on Shopify’s Jamiu Marketplace is working.

Figure 21
Figure 22

Keeping it Real with No-code Test Automation

Using Testup as a no-code test automation tool for your website comes with no hassle. First, it does not break when you add the logic. Second, the production environment works perfectly well, even after the provider or host creates an update. Among many other things, the advantages of using Testup include the following:

  1. No prior coding knowledge is required
  2. It allows you to match the pace of the software development cycle
  3. You can extend the scope of automation
  4. You can easily document processes
  5. It enables you to free up resources while enjoying better testing and low costs.

Conclusion

Let’s face reality; learning coding is hard. It takes a great deal of time, as well. Today, you do not need to learn code before building a great IT business. Either to develop a website, web app or mobile app, no-code tools like WordPress, Bubble, and Shopify are available for you. To test your websites, Testup offers you seamless no-code test automation. What a great time to be alive; everything can be done with no or low code. Enjoy!

Posted on Leave a comment

Selenium Basic Authentication via URL

Introduction

There are instances where you would work with applications that have their security behind the basic HTTP Authentication, also known as the Basic Authentication. Before you can be granted access to these sites or apps, you will be required to run some credentials through the website where you are requesting a page. If you cannot run those credentials through the website, you will have to deal with a pop up at a system level that prompts users for a username and password. This situation renders your Selenium helpless.

In the initial versions before Selenium 2, it is possible to execute it through the injection of credentials into a custom header. However, due to some advancements, another way to go about this is the Browsermob proxy, which is quite complex. We will discuss a simpler way here.

It is essential to recognize that the basic authentication feature is still working correctly with geckodriver v0.18.0, Mozilla Firefox 53.0, Selenium 3.4.0, Google Chrome 60.x, and chromedriver v2.31.488763, through Selenium Java bindings. This is a tested and working code that successfully opens using a valid set of credentials to access the URL.

For Mozilla Firefox,

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class BasicAuthentication_FF
{
    public static void main(String[] args)
    {
        System.setProperty("webdriver.gecko.driver", "C:\\Utility\\BrowserDrivers\\geckodriver.exe");
        WebDriver driver =  new FirefoxDriver();
        driver.navigate().to("http://admin:admin@the-internet.herokuapp.com/basic_auth");
    }
}

For Chrome,

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
public class BasicAuthentication_Chrome
{
    public static void main(String[] args)
    {
        System.setProperty("webdriver.chrome.driver", "C:\\Utility\\BrowserDrivers\\chromedriver.exe");
        ChromeOptions options = new ChromeOptions();
        options.addArguments("start-maximized");
        options.addArguments("disable-infobars");
        options.addArguments("--disable-extensions");
        WebDriver driver =  new ChromeDriver(options);
        driver.navigate().to("http://admin:admin@the-internet.herokuapp.com/basic_auth");
    }
}

You should note that the basic authentication via URL is blocked only for sub-resources, thus creating the possibility of using it on the domain as follows:

driver.get("http://admin:admin@localhost:8080");
driver.get("http://localhost:8080/project");

It is also possible to create a small extension to automatically set the credentials when they are requested as follows:

options = webdriver.ChromeOptions()
options.add_extension(r'C:\dev\credentials.zip')