Добрый день, коллеги!
Пытаюсь запустить простенький скрипт в Load Runner 12 Virtual User Generator:
/*
* LoadRunner Java script. (Build: _build_number_)
*
* Script Description:
*
*/
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.junit.Assert;
import lrapi.lr;
public class LoadRunnerSelenium {
public static void main(String[] args) {
WebDriver driver = new FirefoxDriver();
driver.get("http://www.google.com");
lr.start_transaction(“Google_Search_Page”);
Assert.assertEquals("Google", driver.getTitle());
lr.end_transaction(“Google_Search_Page”, lr.PASS);
driver.quit();
}
}
Выдаётся ошибка:
Notify: Found jdk version: 1.8.0. [MsgId: MMSG-22986]
Warning: Warning: Failed to find Classes.zip entry in Classpath.
[MsgId: MWAR-22986]
classpath=C:\Users\akorsakov\Documents\VuGen\Scripts\JavaRecordReplay1\;c:\program files (x86)\hp\loadrunner\classes\srv;c:\program files (x86)\hp\loadrunner\classes;;C:\Development\Autotest\trunk\Common\Extensions;;;c:\program files (x86)\hp\loadrunner\lib\xstream-1.4.8.jar;c:\program files (x86)\hp\loadrunner\lib\xpp3-1.1.4c.jar [MsgId: MMSG-22986]
Failed to compile the Actions.java file.
Please add the <JDK>\bin to the path and try again. [MsgId: MERR-22996]
Не мог понять, что не так с настройкой.
В системной переменной PATH прописан путь, где лежит Java: %JDK_HOME%bin;
JDK_HOME = C:\Program Files (x86)\Java\jdk1.8.0_60\
Помогите, пожалуйста.