Hi everyone
I want to learn about Terminal app and Close app. According to my reading, Close app will close the app and session. So does Terminal app close the session?
I am doing a test case, and in the middle of that test case I want to kill the app and reopen the app, can I use Active App to open the app and Terminal app kill it?
What library are you talking about ? None of those keywords seem to be in core robot framework. And “Terminal App”, that doesnt even sound like what you are asking for, terminal relates to a console like “cmd” on Windows, xterm on Linux and so forth. Are you referring to word Terminate ? If so, I don’t remember core RF has such kw. But; usually operating systems have capabilities to Ask Nicely from the app, please stop and close yourself and forcefully stop it which could refer to terminate and asking to stop to close.. On Unix world difference between these are what signal to send to running app.
But please, check your post against typo’s and refer what library you are trying to use
Oh.sorry for not writing fully, I want to mention Appium Library. I am automating for Ios and android app
Appium works over the webdriver just like selenium and i have not used appium ever but according to the docs:
- Terminate Application - Terminates the given app on the device.
- Close Application - Closes the current application and the webdriver session.
With those hints, I’d say that `Terminate Application` is intended to be used in cases like where you know you have extra applications running on the device that you need to close because they might cause issues for the testing of your actual app or that extra application started because of actions in main application and you dont need to interact with it.
Where as Close Application will close the current active app and close the webdriver session indicating that you are done with the testing and no further appium calls will be made (unless you explicitly call `Open Application` or something similar) ..
Thanks for your useful information,Rasjani