Handle multiple applications (Web, Desktop, Mobile) in a single test case

Hi, 

I have a scenario where I have to perform a certain action, let's say on a desktop application, and then verify the results in another application that could be a web or mobile. I want to handle this scenario in a single test case.

I have tried doing it by making multiple actions in a single test case. One action contained web scripts and the other contained desktop scripts. But when I executed the test case rather than running these actions in a sequence it opened both web and desktop simultaneously.

Please provide me with a solution for this. How can this be achieved?

Thanks