1. A method for generating logic to automate target applications, the method comprising: programming the logic in a virtual environment using mock-up screen elements that mimic the behavior of real screen elements in the target applications environments; and executing in a computer system the programmed logic using the real screen elements in the target applications environments.