Click here to Skip to main content
15,861,168 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am using UIAutomation for automating a control. I developed my own UIAClientsideprovider to do the same.
As part of implementing it, I provided the below code in the UIAutomationClientSideProviders class -

public static ClientSideProviderDescription[] ClientSideProviderDescriptionTable = 
        { 
            new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(TimeControl.Create), "ATL:1004F9A0")
        };

The above code is working fine and clientsideprovider code is hit. But, I cannot used it as the classname is changing. So, I tried the below code but it is not working -
public static ClientSideProviderDescription[] ClientSideProviderDescriptionTable =
        {
            new ClientSideProviderDescription(new ClientSideProviderFactoryCallback(TimeControl.Create), "ATL:", "CustomExe.exe", ClientSideProviderMatchIndicator.AllowSubstringMatch)
        };


I unable to figure out why this overloaded input of type ClientSideProviderDescription is not working.
Posted
Comments
vijay938 18-May-15 0:37am    
Can anyone help me with my query?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900