Run Selenium IDE Scripts In Selenium RC?

Dec 6, 2010

I am new to using the selenium testing tool and would like to know how to run selenium IDE scripts in selenium RC.

View 2 Replies


ADVERTISEMENT

Click Is Not Working In Selenium?

Jan 6, 2011

selenium.Click("Search")
selenium.Click("Display")
selenium.WaitForPageToLoad("30000")
Assert.IsTrue(selenium.GetTitle() = "Display")
selenium.ChooseOkOnNextConfirmation()

Tried all the following possible solutions to click a button but all failed to do so. Page timeout after some time.

[Code]...

There is a confirm dialog box on clicking the cancel button. But selenium is not clicking it at all. Any idea how to do this.

View 1 Replies

Clicking On A Dynamic Link In Selenium?

Jan 14, 2011

I need to click on link in a table whose id is generated dynamically. I want to click on a link based on a text in some other column in the same row. Tried the following code but unsuccessful

selenium.GetValue("//table[@id=TableID]/tbody/tr[td/a/text()='Testing']")
Also trying with the following code
Selenium.click("xpath=id(TableID)/tbody/tr[td/text()='Testing']//input [@value='Delete']")

[code].....

View 1 Replies

Page Is Redirected Back In Selenium?

Feb 7, 2011

I have a following code

selenium.Open("/logon.aspx")
selenium.type(strUsernameID, pUsername)
selenium.type(strPasswordId, pPassword)

[code]...

But as soon as I click the home link its redirected back to login page. This code works fine with another URL. I tried by putting id, everything. but couldn't figure out why its behaving like this.

View 1 Replies

Unable To Start Selenium Server

Jan 20, 2011

I am new to interfaces. What I am trying to do is defined a browser in a interface and then trying to access it from tests. defined following in a sb.vb file

[Code]...

View 1 Replies

C# - Set Firefox Profile: Selenium RC, .Net Client Driver?

Feb 12, 2010

I'm using Selenium RC + .Net Client Driver. I've created a Firefox profile in my c:selenium directory. Here's my code:

Dim MySelenium As ISelenium = Nothing
MySelenium = New DefaultSelenium("localhost", 4444, "*custom C:/Program Files/Mozilla Firefox/firefox.exe -profile c:/selenium/", "http://www.google.com/")

When I run this, I get the following error:

Failed to start new browser session: Error while launching browser

What is the proper way to do this?

View 2 Replies

Check Button Is Enabled Or Disabled In Selenium

Feb 9, 2011

I am trying to check whether the button is enabled or disabled. I am doing the following

Assert.IsTrue(Browser.IsEditable(button))

but it gives me error that expression does not produce a value. Any one know how to achieve this. Currently I am using VS2010 MStest in vb.net.

View 1 Replies

Selecting A Value From Dropdown Based On Its Index Dynamically In Selenium

May 25, 2011

Is it possible to select a value of a drop down by its dynamic index that is returning from another function whereas selectindex = 2 (generated dynamically)

selenium.Select(Id, "index = SelectIndex")

View 1 Replies

.Net Asynchronous Delegate Abortion - Call Selenium Command Doesn't Return The Response From The RC Server

Jun 4, 2012

Background: My application is used to execute tests using Selenium RC servers, and occasionally I'm running into a problem when my call to a Selenium command doesn't return the response from the RC server - it then ends up blocking the thread that is executing the test.

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved