Automated Website testing with Ghost Inspector
single,single-post,postid-17581,single-format-standard,ajax_fade,page_not_loaded,,qode-title-hidden,qode-theme-ver-9.5,wpb-js-composer js-comp-ver-4.11.1,vc_responsive
Ghost Inspector

Automated Website testing with Ghost Inspector

What is Ghost Inspector?

Ghost Inspector is an automated browser testing tool for continuously checking sites. A considerable lot of those sites run on WordPress. After bunches of interest from clients, Justin Klemm, developer of ghost inspector,developed a plugin to show Ghost Inspector test results directly inside WordPress administrator board. The plugin empowers you to show the most recent test results for a single suite on the dashboard of any self-hosted WordPress installation. Continue pursuing to figure out how to install and set up the plugin.

Ghost Inspector makes it easy to guarantee your site is working appropriately with no programming or testing experience required. Regardless of whether your group is composed of engineers, manual testers or beginners in testing, our instinctive set of devices will permit you to achieve your objectives.

Ghost Inspector is an automated site testing and observing services that checks for issues with your site or application. It does tasks in a browser, a similar way a client would, to guarantee that everything is working appropriately.

To begin, first sign up for a free preliminary account. To make tests, you can install a test recorder in your browser or utilize a hosted test editor. Tests are run from cloud administration. You can set tests to run consistently on a schedule, setup notifications, and control different parts of your testing.

It has the following features:

  • Test Recorder & Codeless Editor
  • Video & Screenshot Comparison
  • Multiple Browsers & Screen Sizes
  • API & Third Party Integrations
  • Advanced Test Scheduling
  • Parallel Testing by Default


How to use Ghost Inspector for your test suite

  1. Go to this link and create ghost inspector account
  2. Search for Chrome extension on your chrome browser and open chrome extension.
  3. Now in chrome extension search for Ghost Inspector and click on add to chrome, as shown in the figure below.
    ghost inspector
  4. Now click on this icon
    ghost inspector-1
  5. Now enter your credentials and login to the ghost inspector account.
    ghost inspector-2
  6. After login select “create new test” and start recording.
    ghost inspector-3
  7. Open any site to perform actions and all the actions will record in Ghost Inspector test suits.
  8. Click on finish recording to close the session or click on mark assertions if you want to add any assertion in your test case.
    ghost inspector-4
  9. When you click on finish recording, it will show you a button “View your Test” to view your recorded actions and tests. Click on this button to view your Test Result.
    ghost inspector-5


What are Assertions in a test case?

An assertion is a boolean expression at a particular point in a program which will be true except if there is a bug in the program. A test assertion is characterized as an expression, which exemplifies some testable logic indicated about an objective under test.

On the off chance that an assertion is failing because of either reason, the result of the equivalent can be extreme. An Assertion could raise to a hindrance which may bring about stopping testing for an entire day. A few conditions that we wish to test for may be reasonably simple, yet it is exceptionally hard to check in practice.

How to use Assertions in Ghost Inspector?

  1. Click on the Assertion button when your test is already started.
    ghost inspector-4
  2. Now click on the element on which you want to add the assertion.
    ghost inspector-6
  3. Now click on the Ghost Inspector icon from extensions and continue your recording by clicking on the “record operations” button
    ghost inspector-7


How to View your recorded Test in Ghost inspector?

  1. Login to Ghost Inspector with the help of the link below :
    Ghost Inspector Login
  2. After login you can find your created suite in the dashboard. Click on your suite to start executing your recorded test cases.
  3. You can run your test suite by clicking on the “Run Test” button.
  4. To check the test steps click on the name of your Test.
  5. You can also check on which step your test is failing.


Some Great Features Ghost Inspector Provides

  1. Effortlessly record your test in browser:
    Ghost Inspector gives a test recorder device to both Chrome and Firefox that permits you to record activities and assertions directly in your browser. In case you’re acquainted with Selenium IDE, this is comparative yet considerably more smoothed out. When you’re finished recording a test, it’s spared to cloud administration and quickly processed. By then, you can view, edit and automate the test inside your account.
  2. Build & Manage Tests with Visual Editor:
    Rather than coding your own experiments, you can construct them rapidly and effectively utilizing instinctive interface. Run your tests promptly as you’re building them. You can likewise record tests at first, at that point edit them utilizing this interface a short time later.
  3. Observe the functionality of your site/app:
    With this you can keep check on your site’s functionalities for issues by creating tests and running them on a schedule (Ghost Inspector gives you the ability to continually run your test on a schedule using a number of intervals that can be selected for running your test or suite in a recurring manner.) or when deploying changes through API. Executing a test is what might be compared to a client doing out similar activities in their browser. You’ll have the option to see precisely which steps passed and which failed. Ghost Inspector gives you full video of the test run, console output from the browser, screen captures, and even a visual correlation of any progressions that have happened since the last test run. All test outcomes are put away and can be seen in your account.
  4. Customize test setting:
    Ghost Inspector gives a huge amount of valuable settings for your tests. These can be set exclusively for tests and most can be defaulted at the suite level. Here are some:
    Automated scheduling

    • Browser engine choices
    • HTTP authentication
    • Custom user agent string
    • Custom HTTP headers
    • Screen resolution
    • Screenshot comparison
    • Geolocations
    • Various notifications
    • Service integrations
  5. Receive Notifications & Setup Integrations:
    Ghost Inspector gives various implicit alternatives and third party integration for notifying you about test outcomes. Notifications can be controlled on the test, suite, and association levels giving you both expansive and fine-grained power over your settings. Aside from email rundowns and webhook notifications, we additionally bolster numerous third party administrators including:

    • Slack
    • WordPress
    • Pagerduty
    • Github
    • GitLab
    • TeamCity
    • Docker
    • Travis CI
    • Codeship
    • Jenkins
    • Circle ci
    • Azure DevOps
Shivam Chaudhary
[email protected]

Shivam is a tenacious problem solver and student of new technologies, he has the ability to dive into unfamiliar tech and tools and achieve results. He has a clear understanding of the V Model And Agile Methodologies and skilled in Automated Software Testing.

  • film
    Posted at 17:18h, 29 November Reply

    Good article! We are linking to this great post on our site. Keep up the great writing. Shaylynn Gaelan Israel

  • film
    Posted at 23:40h, 29 November Reply

    I like this post, enjoyed this one appreciate it for posting . Jolyn Mathian Light

Post A Reply to film Cancel Reply