Wednesday, January 31, 2024
HomeiOS Developmentpython - Methods to run shell instructions in terminal throughout iOS XCTest

python – Methods to run shell instructions in terminal throughout iOS XCTest


I’ve the next scenario. I’ve an app that that I want to check some simulated operation, and this simulation is finished through a python script.

I wish to automate this process, by doing a little UI configuration on the app, which is finished through XCTest, however after doing the configuration, I wish to set off that python script.

Is there a approach to do that from inside and through an iOS XCTest?

Summarizing:

When operating the automated take a look at, I wish to:

  • Open the App
  • Login
  • Do some UI configuration (the entire above completed with native XCTest)

after which

I discovered some posts about invoking the terminal from Xcode, however all of that was just for macOS tasks, because the code makes use of the “Course of()” class which isn’t accessible to iOS.

Methods to obtain such process?

Thanks upfront.

Luis



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments