简体   繁体   English

我可以将XCUITest与Swift一起用于使用Objective C开发的iOS应用程序的UI自动化吗

[英]Can i use XCUITest with swift for UI Automation for an iOS app which is developed using Objective C

I am a beginner for XCUITest framework, 我是XCUITest框架的初学者,

My question is : Can i use XCUITest with Swift programming to automate an iOS app which is developed using Objective C or i need to use Objective C only? 我的问题是:我可以在Swift编程中使用XCUITest来自动化使用Objective C开发的iOS应用,还是只需要使用Objective C?

Thanks, 谢谢,

mra MRA

Yes you can. 是的你可以。

XCUITests create separate application that runs in parallel with your main application. XCUITests创建与主应用程序并行运行的独立应用程序。 So it can be in any language. 因此可以是任何语言。

And don't forget that Swift and Objective-C can be mixed in one project anyway. 而且不要忘记,无论如何, SwiftObjective-C都可以混合在一个项目中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用Swift 3.0使用Swift 3.0更改iOS应用程序中按钮的高度和宽度 - How to change the height and width of a button in iOS app using Swift 4.0 which is developed using Swift 3.0 我可以提交使用Unity开发的ios Build吗 - Can I submit a ios Build Which is developed using Unity 我可以在Objective C中使用泛型来定位iOS 8应用吗? - Can I use generics in Objective C for an app targeting iOS 8? 我可以在运行于iOS 7的应用中使用swift sdk吗? - Can I use swift sdk in app which runs on iOS 7? iOS Objective-C 应用程序可以使用嵌套的 static ObjC/Swift 库吗? - Can iOS Objective-C app use nested static ObjC/Swift libs? iOS XCUITest - 如何使用 xcuitest 从应用切换器中删除应用? - iOS XCUITest - How to remove an app from the app switcher using xcuitest? iOS UI自动化可以执行应用代码吗? - Can iOS UI automation execute app code? 发出注意的Swift方法作为目标C中的选择器并在Swift ios App中使用目标C对象的问题 - Issue Noticing Swift Method As A Selector In Objective C and Using Objective C Objects In Swift ios App 我可以在react native自定义模块IOS中使用Swift和Objective C的组合吗? - Can I use the combination of both swift and objective c in react native custom module, IOS? 使用XCUITest设置UI自动化测试的可访问性标识符 - Setting accessibility identifier for UI automation testing using XCUITest
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM