TestStack / White

DEPRECATED - no longer actively maintained
Other
1.02k stars 486 forks source link

White support for VS2013 #250

Open SirishaMamidi opened 10 years ago

SirishaMamidi commented 10 years ago

Hi Team,

My work environment is on VS2013. I have downloaded White framework from UIAComWrapper branch.

But I see that the sources were using its own UIAComWrapper and Interop.UIAClient assemblies from older version than the assemblies delivered with VS2013 version.

Could someone let me know when the sources would be moved to support MSDN UIACOMWrapper assembly delivered with VS2013?

Regards, Sirisha

gdosreis commented 9 years ago

I have the same problem. Could you fix it?

JakeGinnivan commented 9 years ago

If you could submit a pull request with the fix that would be great! I don't know what the issue is at the moment and have too much on at the moment to investigate.

gdosreis commented 9 years ago

I have a solution. Change Aliases for each reference Set in the top of class 'extern alias xxx(The changed aliases name)' set using XXXXXXXX = xxx(The changed aliases name)::system.windows.automation

and in the method use XXXXXXXX .Condition.FalseCondition.(it's an example).

Example: extern alias global2; using Automationreference = global2::system.windows.automation;

public string Example() { return Automationreference.Condition.FalseCondition.ToString(); }