Forum Discussion
Hi Sharana,
It makes sense to check if * is enabled in MSAA or UI Automation project option. Uncheck this option – it could bring serious performance issues as TestComplete is trying to treat all objects by using one of those technologies.
As a rule, there is no need to work with Outlook windows during the test (of course, if you don’t test Outlook itself). What is your task? Perhaps, we could suggest an alternative solution for you.
Hi Tanya,
As suggested we tried removing * from MSAA and UI Automation but it had not made any difference.
We are not directly working with the Microsoft OutLook, it is our application which call the default configured mail server to send mails on behalf of.
And when that OutLook comes up TestComplete literally Hangs and we cannot even do the spy operation, when we manually click on Deny button then Test Complete comes to its normal state.
I have also did the below steps: to avoid the pop up:
The Programmatic Access security settings in the Trust Center provide the following options:
Warn me about suspicious activity when my antivirus software is inactive or out-of-date (recommended) This is the default setting in Office Outlook 2007. Suspicious activity refers to an untrusted program attempting to access Outlook.
Always warn me about suspicious activity This is the most secure setting and you will always be prompted to make a trust decision when a program attempts to access Outlook.
Never warn me about suspicious activity (not recommended) This is the least secure setting.
I have set the setting to "Never warn me about suspicious activity (not recommended) This is the least secure setting."
but still no luck, it is behaving same....
Hope this understand our problem, please let me know for any more info.
Regards,
Sharana
- TanyaYatskovska9 years agoSmartBear Alumni (Retired)
Hi Sharana,
If you don’t work with Outlook’s GUI, I suggest that you consider writing a script that will implement your task via Outlook’s COM object. The following article contains an example of how to receive e-mails via COM in TestComplete. If you learn COM’s documentation, you will find a way to send e-mails:
https://support.smartbear.com/viewarticle/9022/
- JP_6039 years agoOccasional Contributor
I don't believe this is anything that SmartBear can help with. I may be way off here but I believe that Outlook has a security procedure that will prevent any unknown source from accessing that popup to prevent malware from getting around it.
Do some research online about that message and you should be able to find a way around it. If you are running an up to date anti-virus that actually communicates with Windows then this message should never come up. A lot of popular software will skip that message if Windows knows about the application but in the case of an in house developled application thats not likely to happen. Also if your security restrictions aren't too bad you can tell Outlook to never show that message box but that presents a possible security failure.
Other than those options your only other hope may be to see if you can find the MSAA name of that popup some other way they using spy but this may just loop back to the first issue of an unknow application accessing that popup.
Again I may be way off base but that's what I can gather from my vague memory of dealing with that popup in the past.