The name 'Search Criteria' does not exist in the current context

May 2, 2012 at 4:40 PM

Dear all,

I'm newbie using White. The error "The name 'Search Criteria' display after running this code"

White.Core.UIItems.Button btWellhead = browserWindow.Get<White.Core.UIItems.Button>(SearchCriteria.ByAutomationid("WellHead"));

What the reference I need add on project for resolve SerchCriteria error?

Thanks,

Dat

May 3, 2012 at 1:19 AM

Core.UIItems.Finders.SearchCriteria

So you have to add the Core.dll

May 3, 2012 at 4:01 AM

Loganathan, Thanks for your help. It works well :)