'Test' is ambiguous, imported from the namespaces or types 'Controls, entity'

The issue occurs while trying to get the entity record from entity in UiPath app

How to resolve this?

Can you make sure that your entity is not named Test or Controls?
Try to rename or have an entity with a name which not contains reserved keywords.

Which are the results?

My entity name is different than keywords .I just changed it for security purpose

This happens when two versions of the same library are included from different references, and the solution is to look in the Object Explorer to find which references are causing the ambiguity and remove one of them.