Design a site like this with
Get started

Adding visual validations to automated tests with Oculow

Before you start using Oculow, you must know how to implement U.I. automation. Unfortunately, there is no getting around this requirement. We need to properly render the app/website to test what users will be displayed. If you don’t know what U.I. automation is or how to implement it, there are a lot of great tutorials out there.

If you’re interested in learning how to automate U.I. tests, we recommend you learn Selenium for browser testing or Appium for mobile testing, they both use WebDriver Protocol and are very similar in the way you automate tests.

Selenium doc:
Appium doc:

Setting up

First off, you will need to create an account in our website to be able to use our platform. You can do so by going to If you already have an account, you can skip this step.

Once you have the account, you will need to navigate to the dashboard and generate a api key. To do so, you need to go to your profile page, and click on generate in the api/secret key section.

You will be prompted for your password to validate that the requested user is the owner of the account. Once you hit save, you will be displayed the keys. It is important that you download or store the generated keys as this is the only time your secret key will be given.


For this section, we will be referencing our documentation a lot. We cannot anticipate your programming language and adding code for each SDK would be redundant. Instead we will explain the logic behind each section so you can code it in your prefered language.

Having generated the api keys, you will need to install and import the proper driver for your programming language. Please refer to our documentation in how to do this. Also make sure to select your programming language at the top of the doc.

After importing the driver to your prefered language, you will need to set the api keys, this is what we use to authenticate you to our servers. To authenticate yourself, you can use the method for your preferred language as described in our documentation

After that, you’re pretty much ready to add visual validations. In order to add these validations, you will have to use a function provided by the Oculow SDK. If you need any reference for these function, you can always refer to our documentation. There is an automation example at the bottom which might also be useful for reference.

Once you are done with your automation, you must use the dispose method to properly handle and retrieve the results from our servers. If dispose is not called, all of the validations done prior in the automation will be invalidated and you will not be able to render your results.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at

Up ↑

%d bloggers like this: