When you say the test is failing could you be a little bit more clear?

Is it failing because it can't find the page elements?

-b

On Wednesday, August 29, 2012 12:01:06 PM UTC-4, Suresh Reddy wrote:
>
> I have selenium grid installed on jenkins and it is running and displaying 
> the following message
> Registered Remote Controls
> Selenium Grid is running at eosjenkinsv3.qsu-dev.com:4444. Selenium 1 
> clients should connect as follows:
>
> Selenium selenium = new DefaultSelenium("eosjenkinsv13.qsu-dev123.com", 4444, 
> "*firefox", "http://jenkins-ci.org/";);
>
> Selenium 2 clients should connect as follwos:
>
> WebDriver driver = new RemoteWebDriver(new 
> URL("http://eosjenkinsv13.qsu-dev123.com:4444/wd/hub";), capability);
>
> No RCs have checked in yet. Have you started some slaves?
>
> and now i have a test to be run and i declared the properties as
>
>       DesiredCapabilities capability = DesiredCapabilities.firefox();
>         capability.setBrowserName("firefox"); 
>   
>     
>         WebDriver driver = new RemoteWebDriver(new URL("
> http://eosjenkinsv13.qsu-dev123.com:4444/wd/hub";), capability);
>         //driver = new FirefoxDriver();
>  
>         driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
>         driver.get("https://moveon28-qat.qsuv-dev.com/1";);
>         
> driver.findElement(By.id("username")).sendKeys("te...@test123.com<javascript:>
> ");
>         driver.findElement(By.id("password")).sendKeys("test123");
>         driver.findElement(By.id("loginbtn")).click();
>         }
>
> but the test is failing..can you please help me..do i need to make any 
> other settings?
>
>
>

Reply via email to