Jump to content

dinbhat

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by dinbhat

  1. Hi, I want to write the autoIT scripts using Java and write the same with the help of Eclipse. My ultimate goal is to add this autoIT script in testng.xml and run along with other selenium tests. Can you please help me with steps to write autoIT scripts in java using Eclipse? Thanks, Dinesh
  2. Thanks allot for your thoughts. These are very useful information and helps me allot. Again thanks ton. I will try out with both the options : paexec and psexec and see which can accomplish my task much easier. I will post my observation soon after the experiment. Regards, Dinesh
  3. Dear All, I am trying run the following mentioned code. Getting the below mentioned exception . Please help me to resolve this issue. Exception : Code : import java.io.File; import autoitx4java.AutoItX; import com.jacob.com.LibraryLoader; public class KCalc { public static void main(String[] args) { // TODO Auto-generated method stub String jacobDllVersionToUse; if (jvmBitVersion().contains("32")) { jacobDllVersionToUse = "jacob-1.18-M2-x86.dll"; } else { jacobDllVersionToUse = "jacob-1.18-M2-x64.dll"; } System.out.println(" Jacod DLL to use : " + jacobDllVersionToUse); File file = new File("lib", jacobDllVersionToUse); System.setProperty(LibraryLoader.JACOB_DLL_PATH, file.getAbsolutePath()); AutoItX x = new AutoItX(); x.run("calc.exe"); x.winActivate("Calculator"); x.winWaitActive("Calculator"); } public static String jvmBitVersion() { return System.getProperty("sun.arch.data.model"); } }
  4. Thanks for sharing the thoughts. But, as I understand, RIS, WDS are mainly used for the Windows deployments. In my case, it is connecting to the existing windows machine and then, triggering the autoIT script for verifying the gui based installation. Thanks, Dinesh
  5. Hi, Thanks much for your kind suggestion. I am working on a product where the installation is in Beta stage and it doesn't support the command line installation yet. My plan is like this : Automate the GUI based installation using the AutoIT. Identify 3 windows machines. Install the AutoIT on all the 3 machines. Copy the automated script to all the 3 machines. From a central machine connect to the power shell of all the 3 windows machines. Trigger the autoIT script Get the status of the test run (Auto IT script execution) Thanks, Dinesh
  6. Thanks for the information.
  7. Hello, I am new to the AutoIT world. I want to automate a GUI based installation and the script should run on the remote machine. As I understand, I can automate the GUI based installation using AutoIT. But I don't have any clue on how to execute the AutoIT script on the remote machine. More information : I have a windows 2k8 machine where the installer is located (This is the installer which I will be planning to automate using AutoIT). I want to run the AutoIT script on the remote windows machine (where the installer is located) and get the status of the execution. Thanks in advance for your help. Regards, Dinesh
×
×
  • Create New...