Unanswered question

Selenium integration with neoload?

Hi All,
I am trying to integrate selenium webdriver v2.44 with Neoload v5.1, I have writtin following code.
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;

import com.neotys.selenium.proxies.NLWebDriver;
import com.neotys.selenium.proxies.WebDriverProxy;

public class NeoloadIntWithSel {

public static void main(String[] args) {
//final TimerBuilder timer = TimerBuilder.start("scriptName", "timerName");

//System.setProperty("webdriver.chrome.driver", "D:\\pravesh\\RND\\drivers\\chromedriver.exe");
System.setProperty("webdriver.ie.driver", "C:\\SeleniumPractice\\Heritage\\libs\\IEDriverServer.exe");

//WebDriver driver = new InternetExplorerDriver();
NLWebDriver driver = WebDriverProxy.newInstance(new InternetExplorerDriver());
//WebDriverWait wait = new WebDriverWait(driver, 20);

//nl.data.exchange.url=http://localhost:7400/DataExchange/v1/Service.svc/
//WebDriver driver = new FirefoxDriver();
driver.navigate().to("http://www.ranorex.com/web-testing-examples/vip/";);

WebElement firstName = driver.findElement(By.id("FirstName"));
firstName.sendKeys("Test");

WebElement lastName = driver.findElement(By.id("LastName"));
lastName.sendKeys("Test");

WebElement addBtn = driver.findElement(By.id("Add"));
addBtn.click();



//WebElement logoutBtn = wait.until(ExpectedConditions.presenceOfElementLocated(By.))
//logoutBtn.click();

}

}

Now I am running this code through command prompt & my Internet browser get open.
After opening further actions such as navigate to url is not working.
Please give me proper commands with examples with the help of which I can perform further action & execute the selenium script through neoload.
Once this scripts is executed how can we analyse or generate performance report of executed scripts from neoload.
Please help.

Divya K.
Divya K.

Divya K.

Level
1
230 / 750
points

No answers