मैं एक VS2012 परियोजना में इस तरह विधानसभाओं उपयोग करने के लिए कोशिश कर रहा हूँ:कोडित यूआई परीक्षण - UITesting प्रतीक का समाधान नहीं कर
using Microsoft.VisualStudio.TestTools.UITesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UITest.Extension;
हालांकि मैं अपने परीक्षण में लाल का एक समूह मिल:
मैं इस लाल के साथ भी स्थानीय रूप से निर्माण और चला सकता हूं, लेकिन यदि संभव हो तो मैं यह सामान हल करना चाहता हूं। मेरी बिल्ड मशीन निम्न त्रुटियों के साथ इसे अस्वीकार करती है:
DashboardTest.cs (7): The type or namespace name 'UITesting' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
DashboardTest.cs (9): The type or namespace name 'UITest' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
UIMap.cs (9): The type or namespace name 'UITest' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
UIMap.cs (10): The type or namespace name 'UITesting' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
UIMap.Designer.cs (19): The type or namespace name 'UITest' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
UIMap.Designer.cs (20): The type or namespace name 'UITesting' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
UIMap.Designer.cs (132): The type or namespace name 'BrowserWindow' could not be found (are you missing a using directive or an assembly reference?)
DashboardTest.cs (10): The type or namespace name 'UITesting' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
UIMap.cs (12): The type or namespace name 'UITesting' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
UIMap.cs (13): The type or namespace name 'UITesting' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
UIMap.Designer.cs (22): The type or namespace name 'UITesting' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
UIMap.Designer.cs (23): The type or namespace name 'UITesting' does not exist in the namespace 'Microsoft.VisualStudio.TestTools' (are you missing an assembly reference?)
DashboardTest.cs (18): The type or namespace name 'CodedUITest' could not be found (are you missing a using directive or an assembly reference?)
DashboardTest.cs (18): The type or namespace name 'CodedUITestAttribute' could not be found (are you missing a using directive or an assembly reference?)
कोई सुझाव? मेरे परीक्षण प्रोजेक्ट में सभी संदर्भ स्थानीय = सत्य की प्रतिलिपि बनाने के लिए सेट हैं।
अद्यतन - मुझे VisualStudio.TestTools.UITesting का संदर्भ जोड़कर स्थानीय रूप से काम करने वाले संदर्भ मिल गए हैं, लेकिन कोडेडयूइटएस्ट विशेषता अभी भी लाल है और बिल्ड अभी भी एक ही त्रुटियों के साथ विफल रहता है। Microsoft.VisualStudio.QualityTools.CodedUITestFramework
क्या आप वीएस2012 अल्टीमेट या वीएस2012 प्रीमियम का उपयोग कर रहे हैं? कोडित यूआई केवल आईडीई पर इन पर चलता है। – neoscribe