简体   繁体   English

如何从iOS UI自动化JavaScript对外部jar文件进行API调用

[英]How can make API call to an external jar file from iOS UI Automation JavaScript

Currently, I need to call some APIs from an external JAR file within my iOS UI Automation test script. 当前,我需要在iOS UI自动化测试脚本中从外部JAR文件调用一些API。 For example, in my UI Automation test script, I can input an email address and send a email to that address. 例如,在我的UI自动化测试脚本中,我可以输入电子邮件地址并将电子邮件发送到该地址。 Next, I need to make an API call to an external JAR file which will mark that email address is been verified. 接下来,我需要对外部JAR文件进行API调用,以标记该电子邮件地址已通过验证。 Then, I can do some following actions in the app UI. 然后,我可以在应用程序用户界面中执行以下一些操作。 However, I have not find any documentation about that. 但是,我还没有找到任何相关文档。

Could anyone provide any suggestions? 有人可以提供任何建议吗?

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

相关问题 如何从nodejs调用外部api - How to make call to external api from nodejs 我如何从另一个外部javascript文件中的外部javascript文件调用函数? - How i can call a function from external javascript file in another external javascript file? 如何将外部 jar 文件添加到本机应用程序中,并将其用作 javascript 文件中的插件,用于 android 和 iOS - How can I add the external jar file into react native application and use as a plugin into the javascript file for both android and iOS 如何在ui自动化中读写文件(Javascript)? - How to read and write to a file (Javascript) in ui automation? 如何从外部文件调用JavaScript构造函数 - How to call a javascript constructor from an external file iOS UI自动化-使用外部数据 - IOS UI Automation - working with external Data 在Django环境中,如何使HTML从外部js文件中调用javascript函数 - How to make html call a javascript function from an external js file, in Django environment 如何从 javascript 拨打 GRPC api - How to make a GRPC api call from javascript 如何从javascript调用.jar文件中的Java方法? - How to call java methods in a .jar file from javascript? Javascript:我可以从主页调用外部文件中的函数吗? - Javascript: can I call a function in an external file from the main page?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM