Home Dashboard Directory Help
Search

Plugin created in 2010 is not working in 2012 by Sirisha M


Status: 

Closed
 as By Design Help for as By Design


2
0
Sign in
to vote
Type: Bug
ID: 785969
Opened: 4/30/2013 10:11:15 PM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description


Hi,

We have created custom plugin for Coded UI in Vs 2010. This plugin is working fine on 2010. Recently, we have migrated to 2012. If the plugin is enabled, CUIT is not able to record/playback the actions. We are seeing an issue while initializing the playback itself.

We made sure the plugin project is supported for 2012. The plugin is all about redirecting to UIa technology for some of the MSAA controls. I could figure out the point where the problem is seen. In the plugin we have the following code:

(UITechnologyManager)Playback.GetCoreTechnologyManager("Uia");

At the above line the process is going into hang state.

How do we modify the plugin to be compatible with 2012 version?

Any suggestions would greatly help us.

Regards,

Sirisha
Details
Sign in to post a comment.
Posted by Sirisha M on 5/7/2013 at 12:08 AM
Thanks team for the information.

Regards,
Sirisha
Posted by Microsoft on 5/6/2013 at 3:57 PM
Hi, there were some optimizations we did in 2012 that is causing the problem. In short in vs2010 it was working by chance (ideally it was not supposed to work).
Posted by Microsoft on 5/6/2013 at 6:58 AM
Hi,
I hope the solution works well for your solution. I will go ahead and resolve the bug as By design. Do reach to us if you need more info.

Thanks
Siddhartha Pandey
Posted by Microsoft on 5/6/2013 at 5:38 AM
Hi

The code was working by chance in 2010. We did some optimizations in loading the plugins, because of which we can see the issue surface.

Thanks
Siddhartha Pandey
Posted by Sirisha M on 5/6/2013 at 4:13 AM
Hi Team,
The suggested solution is working fine for me. Thanks a lot for providing solution very quickly. We really appreciate it.
I have a small doubt,
        the same code is working fine in 2010 why it is not holding good in the case of 2012?
Thanks,
Sirisha
Posted by Microsoft on 5/6/2013 at 12:55 AM
Hi
Can you comment out the below lines. The code should still work, because UIaTechManager will already have been initialized no need to explicitly initialize it again.



public override void StartSession(bool recordingSession)
        {
            //UiaTechnologyManager.StartSession(recordingSession);
        }

        public override void StopSession()
        {
            //UiaTechnologyManager.StopSession();
        }
Posted by Microsoft on 5/2/2013 at 1:15 AM
Thank you for submitting feedback on Visual Studio and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by Microsoft on 4/30/2013 at 10:51 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
UIAEnforcer.zip (restricted) 4/30/2013 -