Cannot create a component as it is not registered with a factory

Have you imported the package containing the test class into your top level testbench module?

This is one of the common causes of the problem you describe.

1 Like