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.
Find the Knowledge Base feature and select it.
Click Add to create a new Knowledge Base entry.
Enter a name for your Knowledge Base, like "popup."
Add a brief description explaining what this Knowledge Base is for.
Click Save to create your Knowledge Base.
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.

Enter the URL you want to test.

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

Open Advanced Settings.

Select Knowledge Base.

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

Click Generate Test Case.

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.
Last updated