Knowledge Base

Keep your automated test executions reliable using the Knowledge Base feature in ContextQA. This tool lets you handle unexpected pop-ups—like marketing banners or promotional dialogs—so your tests won’t break when surprises appear on your site.

Introduction

Ever run a test and suddenly a pop-up knocks your whole execution off course? Since you can’t predict when these will show up, adding specific handling steps isn’t practical. That’s where the Knowledge Base in ContextQA steps in, helping you manage these interruptions automatically for smoother, more consistent test runs.

Go to the test development section in ContextQA.

Image

Find the Knowledge Base feature and select it.

Click Add to create a new Knowledge Base entry.

Image

Enter a name for your Knowledge Base, like "popup."

Image

Add a brief description explaining what this Knowledge Base is for.

Image

Click Save to create your Knowledge Base.

Image

Now, let’s use your Knowledge Base to ensure your test can handle pop-ups as they appear.

Create a new test case by choosing Start with AI assistance.

Image

Enter the URL you want to test.

Image

Write the test instructions, for example: "login with admin as username and 1, 2, 3, 4 as password."

Image

Open Advanced Settings.

Image

Select Knowledge Base.

Image

Choose the knowledge base you need for this execution—like the one named "popup."

Image

Click Generate Test Case.

Image

The test execution starts. If a random pop-up appears during the process, ContextQA will automatically detect it and click "got it" to close it—keeping your execution on track without extra work from you.

Conclusion

With ContextQA’s Knowledge Base, you’ll never have to worry about unpredictable pop-ups disrupting your automated tests. Set it up once, and let your testing flow without unwanted interruptions. Try it out on your next test run for smoother, more resilient automation.

Supporting Videoarrow-up-right

Last updated