Forum Discussion
6 Replies
- cunderwCommunity Hero
Which version of 12?
What type of application?
What does the code look like that it's failing on?
What does your name mapping or object finding methods look like?
We can probably help figure out the problem, but we'll need more information to start.
- sshah1Contributor
Which version of 12?
-- Version: 12.42.3048.7 x64
What type of application?
-- Desktop application (most likely C++)
What does the code look like that it's failing on?
***************************************
// if Recover Last Test window appears
if(powerdb["dlgRecoverLastTest"]["WaitProperty"]("Exists", true, 3000))
{
Delay(1000)
ClickTag("DontLoadTest",5); // Click "No"
Delay(1000)
}When I commented out above code, it failed at different point
powerdb["dlgSaveAs"]["SaveFile"](sFilePath, "PowerDB XML File (*.PdbXml)");
It seems it is failing to identify dialogs..
***************************************
What does your name mapping or object finding methods look like?
--- Not sure what information you need here..but I have attached screenshot
Thanks for your help..
- cunderwCommunity Hero
Ok, we're getting somewhere then, knowing that it's not finding objects.
Namemapping screenshot is definitely helpful, can you post what the application and one of the objects your test can find looks like in the object browser?
- sshah1Contributor
See attached screenshot of the application form. I believe this is the last screen namemapping identifies and everything after this is failing.
In order to get to this page, it opens application, selects instrument and then selects form from the list in a pop up dialog. All these actions working fine.
- cunderwCommunity Hero
Can you post your namemapping and object browser for one of the objects it does not find?
- sshah1Contributor
Related Content
Recent Discussions
- 2 hours agomarkos