I think I've already created a thread with something like this, but here I am again. Here is my form's FullName: Sys.Process("RHWCRECRUTSEL").VBObject("frmConsulta") Here is the sam...
You need to create a new mapping item for each form. I'm pretty sure I've been through this once before. :-)
For the form with the caption "Consulta - Posições Ativas", create a name mapping item where one of the properties used in the mapping is the WndCaption property and have it set the value as indicated.
Do the same for the other form.
The problem is that you are using non-unique identifications for your form. TestComplete matches the properties you have selected to the properties in the application. So, if you are not using something like WndCaption or something else (like Required Children, etc), it can't tell the difference between the two forms.
Not sure how else to explain it, really. When you select your "Map from screen" or whatever other tool you're using, you need to add additional properties to your mapping to make this distinction.
Can you post a screenshot of the NameMapping properties panel for the form you're working with? See the screenshot I've attached for what I'm looking for.