Posted on Leave a comment

7 Ways Automated Testing can Help You Save Time and Money

Introduction

One of the worst things that can happen to a web or mobile application is for it to be riddled with bugs upon deployment. This will limit the application’s ability to solve the problems for which it was built. But that’s not all, it will also negatively impact user experience and trust in your brand, making you lose users to competitors. However, there is one way forward, Testing!

Testing is the process of trying out the features of your application before deployment and they are majorly two types: Manual Testing and Automated Testing. Manual Testing involves an individual downloading or accessing the application, clicking on buttons, checking out features to see if they work, and navigating through pages to confirm if they are well linked. It is worthy of note that this method of testing is prone to inaccuracy due to human error or negligence.

Automated Testing, on the other hand, is a process that involves using an automation tool to execute test case suites and predefined actions on a software application. The testing tool takes real outcomes and compares them with the expected result to generate detailed test reports. This method is the most effective way of testing as it is fast, more reliable, and efficient.

In this article, we would be sharing ways through which Automated Testing can help you save time and money.

1. Grows User Retention

Users have a low tolerance for faulty applications. According to an article by TechCrunch, 88% of people say they would abandon an app if they encountered bugs or glitches. Results also show that most apps are buggy because they went through Manual Testing which was unable to properly spot possible bugs and errors before deployment.

With Automated Testing, there’s a significantly lower chance of encountering a bug or app failure. This is because Automated Testing is more meticulous and less prone to human error such as fatigue or loss of interest during testing. With Automated Testing, you get to keep your users and reduce your churn rate, thus helping you grow revenue.

2. Builds Confidence in Your Brand

Most of the apps in App stores are buggy. According to a survey by Compuware, 56% of app users say they have experienced one form of error or the other while using an app. They also said this led to them losing confidence in the app’s reputation and brand, prompting them to give bad reviews of the App.

Through Automated Testing, you can significantly reduce the chances of your app ever getting a bad review. This is because you will be able to detect bugs much earlier before deployment and fix them before making your app available online or in the App store.

3. Encourages Focus on Developing More Features

Automating your app testing gives your engineering/software team more time to be creative, think outside the box and come up with new, exciting features that will keep your users hooked. This is because less time is spent on testing. Furthermore, it boosts the confidence of the engineering/software team, giving them the necessary wherewithal to explore new ideas without fear of building a feature that could break the app.

4. Improves User Experience

The major reason anyone would want to use your app is that it solves a particular problem they currently face. A fundamental part of user experience is how well your app can solve the problems faced by your users. Above all else, this would be the factor that determines whether users come back to use your app or switch to a competitor.

With Automated Testing, you can ensure that your users do not experience an app failure that would compound their problem rather than help them solve it. This helps you increase the number of transactions and activities on your app, thus resulting in more revenue.

5. Encourages users to talk about your App

Because many apps are buggy, an app that does what it says it does and works without bugs will stand out in the marketplace. This alone could even be enough marketing for your business in the form of word of mouth.  And with this form of marketing comes a significant boost in sales and revenue. For instance Dropbox, a Google Drive competitor grew to become a $10 billion app majorly based on Word-of-Mouth alone. Getting the goodwill of your users also builds brand loyalty, scalability, retention rate and reduces the chances of your users jumping ship to use a competitor.

6. Faster release of App to market

Automated Testing saves you a lot of time. According to the Software Development Life Cycle (SDLC), software testing is the 5th Phase and it typically takes between 1-2months if performed manually by the QA and testing team. However, with Automated Testing, you can complete the Testing phase of the Software Development Life Cycle in days, not months hence giving your app a faster time to market.

If your app is developed to solve a novel problem, this could be the difference between you having a First Mover Advantage over your competitors and gaining market share without worrying about whether your app is bug-free or not.

7. Improved Return on Investment

Most times, the reason businesses are skeptical about using Automated Testing is because it is more expensive than Manual Testing, and this is reasonable in the short-term. However, the long-term benefits of using Automated Testing greatly supersedes the short-term benefits of saving cost by performing Manual Testing. This is because Automated Testing saves a lot of time, energy and gives you a bug-free version of your app. Furthermore, Automated Testing encourages scalability – enabling you to reach more users and grow revenue over a short period.

Conclusion

It is quite obvious that the benefits of Automated Testing greatly outweigh that of Manual Testing. So if you want to build scalable, bug-free apps faster, Automated Testing is the way to go. However, it is worthy of note that the success of your Automated Testing depends largely on the tool you choose to perform the test. There are so many out there that it can be very difficult to choose the one that is best for you.

Testup is a Visual Automation Testing Tool that makes it extremely easy to test your application. It is easy to set up, does not require coding, and can handle complex testing scenarios. You can get started with a free trial of Testup by clicking here.

Happy Testing!

Posted on Leave a comment

Comprehensive list of Robotic Process Automation (RPA) Tools (2021)

Introduction

Robotic Process Automation(RPA) tools are mainly associated with the configuration of task automation. There are numerous RPA tool vendors, and choosing one could be overwhelming. However, following this well researched list is a good place to start. This list features 10 popular RPA tools in no particular order.

www.uipath.com

UiPath RPA is a high-level platform dedicated to providing seamless automation of data entry on any web form & desktop application. It supports Excel and provides SAP and Citrix integration.

What’s the user interface of the tool?Web, Desktop
What’s the automated system under test?Android, IOS
Programming Style?HTML, Flash, AJAX, PDF, Java and Silverlight
What’s the price range?$3990/year/user
Is there a free trial?Yes

www.automationanywhere.com

Automation Anywhere is the leading Robotic Process Automation (RPA) platform. The enterprise-grade solution combines sophisticated RPA, AI and embedded analytic technologies to create software bots to automate and manage front and back office tasks.

What’s the user interface of the tool?Web, Desktop, Enterprise Applications (Salesforce, Microsoft Excel, G Suite), Mobile app
What’s the automated system under test?Android, iOS
Programming Style?Python and Java
What’s the price range?$9000 /user/year
Is there a free trial?Yes

www.appian.com

Appian provides a software development platform that combines intelligent automation and enterprise low-code development to rapidly deliver powerful business applications.

What’s the user interface of the tool?Web, Desktop, Mobile
What’s the automated system under test?Android, iOS
Programming Style?Java
What’s the price range?$60/month/user
Is there a free trial?Yes

www.pega.com

According to its vendor, Pega Robotic Process Automation (RPA) enables organizations to automate those tedious, time-consuming manual tasks.

What’s the user interface of the tool?Web, Desktop
What’s the automated system under test?Android, iOS
Programming Style?Java
What’s the price range?$90/month/user
Is there a free trial?Yes

www.blueprism.com

Blue Prism Intelligent RPA can automate and perform mission critical processes, designed to allow users the freedom to focus on more creative, meaningful work.

What’s the user interface of the tool?Web
What’s the automated system under test?Web and different applications
Programming Style?Java
What’s the price range?Price not provided by vendor
Is there a free trial?Yes

www.nintex.com

Nintex RPA automates repetitive, manual business processes. From projects in Excel to CRM systems, Nintex RPA enables enterprises to leverage trained bots to quickly automate mundane tasks more efficiently.

What’s the user interface of the tool?Web
What’s the automated system under test?Web and different applications
Programming Style?no code
What’s the price range?$85/month
Is there a free trial?Yes

www.electroneek.com/

ElectroNeek lets you automate hundreds of attended and unattended processes and run them concurrently at no cost, paying only for developer seats.

What’s the user interface of the tool?Web, Desktop
What’s the automated system under test?Web and different applications
Programming Style?JavaScript and Python
What’s the price range?$5400/year
Is there a free trial?Yes

www.zapier.com/

Zapier’s integration platform allows the automation of daily tasks that involve using two or more applications.

What’s the user interface of the tool?Web
What’s the automated system under test?Web and different apps
Programming Style?No code
What’s the price range?$0 – $599/month
Is there a free trial?Yes

flow.microsoft.com

According to Microsoft, Power Automate allows anyone with knowledge of the business process to create repeatable flows that when triggered leap into action and perform the process for them. Power Automate became more robust in May 2020 when Microsoft acquired Softomotive. With the acquisition, WinAutomation, the most powerful and intuitive platform for Windows automation became a part of Power Automate.

What’s the user interface of the tool?Web
What’s the automated system under test?Web and different apps
Programming Style?No code
What’s the price range?$15 – $500/month
Is there a free trial?Yes

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

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')

Posted on Leave a comment

How to Open Chrome profile through Python

Ever since the announcement from Google that it will be shipping Headless Chrome, a lot of people have turned to using python to drive Chrome. This may be attributed to the fact that headless browsers have no Graphical User interface (GUI), as well as being navigated using a command line interface or a program. Many, however turn to driving Chrome using python due to the fact that it’s much more fun.

To drive Chrome through Python, however, a lot of people face obstacles like opening a Chrome profile through Python which is required before any other action can be taken. Here, we will discuss the steps to follow on how to open a Chrome profile through Python.

Step by Step Guide to Open Chrome Profile through Python

  • Launch your chrome browser, then click open chrome settings where chrome://settings/ is displayed
  • Go to People section, select Manage Other people
  • Click on Add Person
  • Input your name and pick one of numerous icons displayed
  • You have to Check the ‘Create a desktop shortcut for this user’ item
  • Click the Add button.
  • Your new profile is successfully created

This is a sample of how your newly opened profile should look like:

  • You will find a desktop icon tagged SeLeNiUm – Chrome
  • Through the properties of the SeLeNiUm – Chrome, get the name of the profile directory. e.g. –profile-directory=”Profile 2″. An example of this is shown below:
  • Obtain the absolute path of the profile-directory in your computer using the following:
C:\\Users\\Otaku_Wiz\\AppData\\Local\\Google\\Chrome\\User Data\\Profile 2
  • Then pass the value of profile-directory through an instance of Options with add_argument() method along with key user-data-dir as shown below:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
options = Options()
options.add_argument("user-data-dir=C:\\Users\\AtechM_03\\AppData\\Local\\Google\\Chrome\\User Data\\Profile 2")
driver = webdriver.Chrome(executable_path=r'C:\path\to\chromedriver.exe', chrome_options=options)
driver.get("https://www.google.co.in")
  • Launch your Test and you will notice your Chrome is initiated with the Chrome profile as Selenium