AnsweredAssumed Answered

Upgrading selenium in DevTest

Question asked by IvanM on Feb 19, 2016
Latest reply on Aug 6, 2018 by Will_Truong

My DevTest currently uses v2.44.0 and the jar files are located at C:\DevTest\lib\shared\. Now, I need to use v2.49.0 since there is a new feature added. To upgrade to v2.49.0, is it just a matter of copy pasting the newer jar files into C:\DevTest\lib\shared\ ? Are there other steps necessary?

 

I tried to do the above steps but it shows throws the following error:

 

============================================================================

| Exception:

============================================================================

| Step:        Custom Test Step Execution Step

----------------------------------------------------------------------------

| Message:     Exception executing custom Java Step

----------------------------------------------------------------------------

| Trapped Exception: org/apache/commons/exec/DaemonExecutor

| Trapped Message:   java.lang.NoClassDefFoundError: org/apache/commons/exec/DaemonExecutor

----------------------------------------------------------------------------

STACK TRACE

java.lang.NoClassDefFoundError: org/apache/commons/exec/DaemonExecutor

  at org.openqa.selenium.os.UnixProcess.<init>(UnixProcess.java:52)

  at org.openqa.selenium.os.CommandLine.<init>(CommandLine.java:38)

  at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:161)

  at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:78)

  at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)

  at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)

  at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:234)

  at org.openqa.selenium.ie.InternetExplorerDriver.run(InternetExplorerDriver.java:182)

  at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:174)

  at org.openqa.selenium.ie.InternetExplorerDriver.<init>(InternetExplorerDriver.java:146)

  at automation.NewApplicationJavaNode.executeNodeLogic(NewApplicationJavaNode.java:128)

  at com.itko.lisa.test.CustJavaNode.execute(CustJavaNode.java:185)

  at com.itko.lisa.test.TestNode.executeNode(TestNode.java:973)

  at com.itko.lisa.test.TestCase.execute(TestCase.java:1230)

  at com.itko.lisa.test.TestCase.execute(TestCase.java:1145)

  at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1130)

  at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1048)

  at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:68)

  at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:961)

  at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)

  at java.lang.Thread.run(Unknown Source)

============================================================================

 

 

 

 

  at com.itko.lisa.test.CustJavaNode.execute(CustJavaNode.java:210)

  at com.itko.lisa.test.TestNode.executeNode(TestNode.java:973)

  at com.itko.lisa.test.TestCase.execute(TestCase.java:1230)

  at com.itko.lisa.test.TestCase.execute(TestCase.java:1145)

  at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1130)

  at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1048)

  at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:68)

  at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:961)

  at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)

  at java.lang.Thread.run(Unknown Source)

Outcomes