ui-automation


White Automation framework throws an exception when using “White.Core.Desktop” Class


I am using White Framework for automation. when I trying to get desktop instance I got exception "The type initializer for 'White.Core.Desktop' threw an exception."
My code looks like :
var window = White.Core.Desktop.Instance.Windows().Find(obj => obj.Title.Contains("TestAppHome"));
Is there any way to capture the window without exception that is without using White.Core.Desktop class?
Any help would be greatly appreciated !
Try this one:
List<White.Core.UIItems.WindowItems.Window> windows = WindowFactory.Desktop.DesktopWindows();
var window = windows.Find(w => w.Title.Contains("TestAppHome"));

Related Links

Unable to uncheck a checkbox within a combo box
Coded UI - Add-ons
Is it possible to close app in UIAutomation in iOS
ios uiAutomation tapWithOptions not working properly
My automationelement FindFirst/FindAll seems to be very slow. How to improve the performance?
UI Automation CreatePropertyCondition 0xc0000005
NativeWindowHandle Returns 0, but Spy displays handle
Can we “click” on edit boxes using Microsoft UIAutomation libraries
Test flex mobile application built with 4.10 sdk with testcomplete
TreeWalker cant see AutomationElement, but UIA Verify can
Accessing elements of webview within a native iPhone app using UI Automation
Ranorex not able to recognise elements uniquely?
Getting / ussing full path to find controls in UIA and White
UIA: Get ControlType from control type name (string)
how to select which button to select in alert message for IOS UIAutomation
How to run multiple .trace files in one run i.e one after the other in UI automation tool?

Categories

HOME
ionic2
powerbi
lambda
activemq
slider
malware
google-webmaster-tools
elk-stack
ontology
selection
azure-logic-apps
bellman-ford
driver
xades4j
cqrs
multi-step
ex
heap-dump
vmware-workstation
exec-maven-plugin
parceler
libgit2
sqlplus
neo4j.rb
coreldraw
altium-designer
acl
pubxml
cellular-network
tf-idf
macromedia
sca
cloveretl
rails-postgresql
buildforge
ftp-server
cordys-opentext
android-alarms
utf
opal-framework
pyttsx
spooler
virtual-memory
common-table-expression
directwrite
nothing
scala-collections
http-basic-authentication
glassfish-4.1
instafeedjs
google-shopping-api
qtextedit
dpkg
fiber
simian
vaadin4spring
trust
phpquery
stack-smash
text-align
mutators
smacss
visual-c++-2012
libgcc
android-2.3-gingerbread
two.js
prism.js
forceclose
rails-api
sqlbindparameter
flipboard
jms-serializer
profiles
infinite
eager-loading
jquery-cycle
getproperty
uitextfielddelegate
cakeyframeanimation
netstream
aptitude
cleartype
powergui
projectpier
database-cloning
iphone-sdk-3.1.3
rendering-engine
service-factory

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App