title: Alternate ways to handle Robot Class Steps in Selenium Test
body: <p>My application supports only IE currently. In one case, it opens a pop up window with some fields which are not inspect-able. I am using Robot class features (tab sequences, mouse clicks, sendkeys) to enter data, do a search and other steps on that.</p>
  
  <p>This scenarios works fine in my local but due to large volume of my scenarios we are running them in bulk on cloud machines where the Robot keys functions are not supporting. </p>
  
  <p>Is there any alternate ways to handle this case to continue my scenarios running on virtual machines.</p>
  
  <p>Have anyone faced such cases &amp; can you share your experience handling it in selenium script</p>
  
  <p>Robot class was the option tried which is working in local, need solution to run them on virtual machines. </p>
  
  <p>Tried Switch to pop up window, frame - those are not working as well, the pop window is not getting identified itself (In the window its displayed as Search -- WebPage Dialog)</p>
  
  <p>Below is a sample code snippet - i am using for a search function in the pop up using Robot Class                                                                               </p>
  
  <pre><code>try {
   Thread.sleep(5000);
   sendTab(34);
   sendRobotKey("enter");
   String name ="ABC";
   copyToClipboard(name);
   Thread.sleep(2000);
   cntrolVRobotKey();
   Thread.sleep(2000);
   sendRobotKey("enter");
   Thread.sleep(2000);
   sendTab(4);
   Thread.sleep(2000);
   sendTab(1);
   sendRobotKey("enter");
  } 
  catch (Exception e) {
   e.printStackTrace();
  }
  } 
  </code></pre>