Jump to content

KalaiSelvan

Members
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

KalaiSelvan's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Coming to point i am trying to run autoIT as admin (dnt know this method is valid or not ). For that i am using RunAsSet method. And its throwing this exception while running this code. public static AutoItX AI = new AutoItX(); AI.runAsSet("admin","10.0.*.* ","password"); if the method i am using is correct then help me to overcome this issue . If not help me how to run my autoIT code as admin com.jacob.com.ComFailException: Can't map name to dispid: RunAsSet at com.jacob.com.Dispatch.invokev(Native Method) at com.jacob.com.Dispatch.invokev(Dispatch.java:625) at com.jacob.com.Dispatch.callN(Dispatch.java:453) at com.jacob.activeX.ActiveXComponent.invoke(ActiveXComponent.java:476) at autoitx4java.AutoItX.runAsSet(AutoItX.java:852) at autoitx4java.AutoItX.runAsSet(AutoItX.java:864) at test.Functions.runAsAdmin(Functions.java:43) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:348) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305) at org.testng.SuiteRunner.run(SuiteRunner.java:254) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
  2. Thanks a lot .... you have just saved my 6 month code... kudoss
  3. Yea... I am perfectly maintaining a test framework with Java+AutoiT+testNG which is running in win 7 without any issues .Even in Win 10 , code in that framework performing invoke application , minimize and maximize actions with this . but it is not performing 'click' , 'type' actions on applications which i have been automating in Win 7.
  4. I first clear my scenario . I am using autoIT with java , along with testNg framework to automate a pos application. Everything is working fine on my Windows 7 machine . Now i have new windows 10 pc, I have arranged the environment (IntelliJ , required Jacob jars, jacob dlls , registered dll in syswow64). In that autoIt not performing any actions on any applications. but it performing keystrokes in IntelliJ IDE. Please Help in my case or else tell me whether autoit SUPPORTS win10 OS or not ..?
×
×
  • Create New...