Study_1();
Study_2();
public static void Study_1(){
Ranorex.Form WindowTextName="/form[@windowtext='刪除']";
Ranorex.NativeWindow WindowName=new NativeWindow(WindowTextName);
string str=WindowName.WindowText;
Report.Info("windowtext文本:"+str);
}
public static void Study_2(){
string str1=repo.dlg_刪除.titlebar.Element.GetAttributeValueText("AccessibleValue");
}