Can katalon verify an application was launched after a file was downloaded from the web

I am wondering if there is a way for katalon to determine if an application was launched after a file download.

Example: In our web app there is a button that downloads a file and it is linked to launch an application when opened we want to verify that the external application has opened.

Is there something in katalon that can do this or would this all have to be custom code?

Hello
one solution could be to run external command and process output.

tasklist

on windows and

ps -ax

on linux.
more about how to execute command here:
http://groovy-lang.org/groovy-dev-kit.html#process-management

This makes no sense to check if a certain app is running on linux, it will only list the files in the current workdir.

perhaps ps aux | grep relevant_string will be more helpful for such case.

ref: https://man7.org/linux/man-pages/man1/ls.1.html
vs
https://man7.org/linux/man-pages/man1/ps.1.html

and: https://linux.die.net/man/1/grep
and: https://www.gnu.org/software/bash/manual/html_node/Pipelines.html

1 Like

yep, you are right … i’ll change that in my post