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: ls(1) - Linux manual page
vs
ps(1) - Linux manual page

and: https://linux.die.net/man/1/grep
and: Pipelines (Bash Reference Manual)

1 Like

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