Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Selenium RC to create a framework with JAVA in MAC OS and Safari browser. Now to click on the CANCEL button in the safari browser print dialog box, I am using apple script. In the same system where the project is present and the browser is opening then the apple script is working fine. But if we are trying to open the browser in some other system in the same network then the apple script is not working. Also I tried with the JAVA ROBOT Keys. The same problem also persists there.

Please help me to resolve this problem so that I can cancel the PRINT browser popup.

share|improve this question

I made use of the socket programing to send the apple script command to the system where the browser will open and once receive the command executing it there.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.