new window object map question
In order for Testpartner to identify a window whose title changes every time, the solution obviously is
You can use wildcard in the title..
Or use a more generic property...
Or determine the top window name dynamically, then attach...
hWnd = GetForegroundWindow()
strAttach = "hWnd=" & CStr(hwnd)
' Attach to the window.
How do I add the new window to the object map? How do I create a new name for the object map every time?
I am referring to Asset browser-> Object Map and then the name.
Re: new window object map question
This is follow up question to topic:
testaprtner new window title question
and should really have been added to that.
You will only need one Object Map entry - create an entry for the window using Identify and then wildcard the caption property, just as in Alias's example on how to do this in code, to "The*" (don't put in the double quotes)