welcome to Qijie's Blog 薛其杰
04 2013 档案
UI Automation By Microsoft
摘要:Getting start with UI test automation using the new Microsoft UI Automation library, UIWalker.dll is written by Qijie Xue (qijiexue@outlook.com). Feel free to use below codes in your UI automation testing, please mark where you get this codes if you'd like to re-post. 1 using System; 2 using Sys 阅读全文
posted @ 2013-04-10 17:25 零点零一 阅读(1926) 评论(0) 推荐(0)
UIA: Choose item in Combobox
摘要:Use UI Automation, to choose an item in Combobox, code like this:using System.Windows.Automation; public static void SetSelectedComboBoxItem(AutomationElement comboBox, string item) { AutomationPattern automationPatternFromElement = GetSpecifiedPattern(comboBox, "ExpandColla... 阅读全文
posted @ 2013-04-02 15:05 零点零一 阅读(741) 评论(0) 推荐(0)
Windows Phone在模拟器中去除Debug信息
摘要:上传的图片要求不能包含debug的信息, 关于如何去掉模拟器中的debug信息:在App.xaml.cs 中, 在构造函数中, 把Application.Current.Host.Settings.EnableFrameRateCounter = true;改为:Application.Current.Host.Settings.EnableFrameRateCounter = false; 阅读全文
posted @ 2013-04-02 11:29 零点零一 阅读(147) 评论(0) 推荐(0)
Windows Phone 获取窗口大小
摘要:For Windows Phone Apps, if you have to get the windows size, first you have to wait for the page being loaded completed, then you can get the window size by Application.Current.RootVisual.RenderSize;Best Practise:In Page Constructor, add event like below: this.Loaded += MainPage_Loaded;Then in MainP 阅读全文
posted @ 2013-04-01 17:09 零点零一 阅读(176) 评论(0) 推荐(0)
Windows Phone区别应用是App还是Game
摘要:For Windows Phone Apps, when you deploy the app to your phone, it either will be deployed as App or as Game. If it was deployed as App, then you can find the App in the App list. And if it was deployed as Game, then you have to go to Game App in the App list, then you can open your app there.How to 阅读全文
posted @ 2013-04-01 16:40 零点零一 阅读(228) 评论(0) 推荐(0)