Unanswered question

How to write script in selenium and run with neoload

Hi All.
I an trying to integrate selenium with neoload, but finding issues as stated below.
1.I have added all required jar to my project & using selenium webdriver v2.44.
2.Following is the code which I have written in eclipse
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import com.neotys.dataexchange.model.TimerBuilder;
import com.neotys.dataexchange.model.Status.State;
import com.neotys.dataexchange.model.TimerBuilder;
import com.neotys.dataexchange.model.Status;
import com.neotys.dataexchange.model.Status.State;
import com.neotys.dataexchange.model.StatusBuilder;
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");

NLWebDriver driver = WebDriverProxy.newInstance(new FirefoxDriver());
//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();

but this code is not working.
3.Can any one please help me to write the initial code in eclipse & then how to integrate that code into neoload.
4.Documents present on the Neotys does not help much for integrating this.
5.Can anyone share the video if some one has for integration the whole process of selenium with Neoload.
6.Even though I have added all required jars, but still I am getting the error in importing.
7.Please help if any body have same solution.
Thanks in Advance.

Divya K.
Divya K.

Divya K.

Level
1
230 / 750
points

Answers

Christophe M.
Christophe M.

Christophe M.

Level
3
3212 / 5000
points
Team

Hi,

Why is this code not working? Is it compiling? What is the result?