Unanswered question

QTP and Neoload cannot be installed on same machine

I have QTP installed on my machine so i face error while opening Neoload.

Divya K.
Divya K.

Divya K.

Level
1
230 / 750
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

Could you provide more information about the error that you got while opening NeoLoad?

Also a zip of the NeoLoad logs folder may help.

Divya K.
Divya K.

Divya K.

Level
1
230 / 750
points

I am facing below error while opening neoload
java.lang.AbstractMethodError: com.neotys.nl.controller.Controller.start(Lcom/neotys/nl/launcher/a/g;Lorg/apache/commons/cli/CommandLine;)V
at com.neotys.nl.launcher.ControllerLauncher.main(ControllerLauncher.java:217)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
at com.install4j.runtime.launcher.WinLauncher.main(Unknown Source)

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

I think that QTP has set some JAVA variables like for example CLASSPATH variable that loads different JAR files that are in conflict with NeoLoad.

If you do have such environment variable you should rename it and then try again to start NeoLoad.

If you are not sure you can copy/paste the output of the "set" command here.

Divya K.
Divya K.

Divya K.

Level
1
230 / 750
points

Can use QTP and NeoLoad on a same machine by updating the env variables. Add below command to a bat file and save it.

echo off

rem set IBM_JAVA_OPTIONS=

set JAVA_TOOL_OPTIONS=

set _JAVA_OPTIONS=

rem set "_classload_hook"=

"C:\Program Files\NeoLoad 5.1\bin\NeoLoadGUI.exe"