Forum Discussion
Does the application or objects change in any way with their properties?
What I would do is compare the properties with regular "Run" with properties of the objects with "Run as" and see where the differences are. That's probably what's going on.
Thanks for your reply
The noticeable difference is the application launched in RunAs mode has a property of IsOpen = false, where as the application opened in 'Run' mode is set to true
- tristaanogre6 years agoEsteemed Contributor
It's not so much the application I was talking about... you mention that you have a problem finding an object... what properties change on that object that you're using in your mapping?
- awhawh6 years agoContributor
Normal run mode:
I have an object called frmPSBadgerOK
Mapped name: Aliases.PSBadgerProject.frmPSBadgerOK)
Name: VCLObject("frmPSBadgerOK")
This is a pop-up box that is displayed when the application completes it's processing. I then click the OK button.
With the 'RunAs' mode this changes to
MappedName: <Blank>
Name: Window("TfrmPSBadgerOK", "Confirm", 1)
I try to record a script to click the OK button but it returns an empty function, so it wasn't even able to record the test action
function test()
{
}
- tristaanogre6 years agoEsteemed Contributor
What code language is your application under test written in?
Also... I wonder if it may be something where TestComplete is being run as an Administrator and the AUT is not and if that's causing issues.
Related Content
Recent Discussions
- 2 days ago