How to Close Mobile App and re-launch it in the middle of test

I have a scenario that needed me to close Mobile App and re-launch it in the middle of test. Is it possible to do it in Silk Test Workbench with .NET script?

Top Replies

  • Hi

    You should be able to simply call the CloseApp() method to close the app:

    _devce.MobileDevice("//MobileDevice").CloseApp()

    To relaunch the app, you will need to script a MobileBaseState…