My company monitors performance and availability of websites and mobile applications via functional testing in the cloud; we're looking to expand our technology to include Selenium tests. We use RoR ... |
We just started using Selenium to test our site and its working really well, except that it breaks 1/2 of the time when we introduce an AB test. How do you ... |
I copied google_for_selenium_rc.htm (which really wanted to execute) into c:\ide_scripts
I am running the below comment.
java -jar selenium-server.jar -htmlSuite "*googlechrome" "http://www.google.com" "c:\ide_scripts\suite.htm" "c:\ide_scripts\result.htm"
But it is not playing the script... Please help where ... |
i have 2 firefox version and i need to start particular version using
custom is that possible.
|
Could you please let me know the limitations od Selenium IDE, Selenium RC, Selenium GRID
Thanks all for the help
|
public static ISelenium s;
I access the s object through multiple threads but doing so causes problems and errors.
It looks like you cannot access the selenium object twice. Whenever I try to ... |
I am running a Selenium RC (selenium-server-standalone-2.0b2.jar) on a VMWare (Workstation 7.0.0 build-203739) Virtual Machine (Windows XP Professional SP3).
I run tests on this selenium server using Bromine. One of the tests ... |
|
I want to find out if selenium is running and if it isn't then call a bat file to start it. Is it possible to find out if selenium standalone ... |
I have an html file which has to be parsed using selenium.
I need to extract a the text contained in a div tag which has an unique id.
The original file is ... |
I have a simple Selenium test that runs against a remote Selenium Server instance.
I'm trying to test for page performance, and some pages can exceed the max execution time, and I'm ... |
I have a java class containing 3 methods:
public class Test{
public void orange(){
}
public void apple(){
}
public void mango(){
}
}
I want to execute 3 methods mentioned above sequentially/orderly as ... |
Does anybody knows whether it is possible to measure utilization of a server CPU with Selenium RC? I need to know service demand on the devise.
Thanks in advance.
|
I have selenium 2 web driver scripts up and running and I now want to tie those into my continuous integration process. I have 2 physical machines set aside for selenium ... |
I'm trying to build a test using Selenium IDE and I want to check that a certain <div> block contains the correct text. What assertion should I use? What is the ... |
Does anybody have experience using 20/50/100 RCs connected to a single Selenium Hub? I'm thinking of a centralized hub that multiple team could use together.
I heard that after 20 RCs, performance ... |
Is RemoteWebDriver a replacement for DefaultSelenium in Selenium 2.0 or can the two be used in conjunction?
|
I have a web page with a form and has a field that uses the jquery autocomplete function.
This is how the HTML renders after a user ... |
I could able to login to ISPs, gmail in particular. Now i need to open an email from the inbox and taking a screenshot of it using SELENIUM RC.
Please suggest with ... |
I recorded one script using Selenium IDE which contain clicking on a link and now i want to add loop to run same script multiple time, for this i am converting ... |
In the project that I am working on, we have functional tests written over Selenium. The application undergoes functional changes with each feature release.
Is there a tool / mechanism that ... |
I have a web application that uses an SVG guage in it. this gauge displays health status of my grid (several machines).
this gauge has 3 colors(green = good , yellow = ... |
I am Fresher in Selenium,I have lots of doubt about selenium functions
Iam using selenium RC with java and eclipse.
I need to write one simple function for add two numbers
Where i will ... |
I'm trying to start a Selenium test with a POST request to my application.
Instead of a simple open(/startpoint)
I would like to do something like open(/startpoint, stuff=foo,stuff2=bar)
Is there any way to do ... |
I'm trying to run an html testSuite with Selenium RC. The browser starts, the first test runs, and it stops. It doesnt continue to the second test case. I named both ... |
I have combined all selenium script and i have created war file for that, pls let me know
how to deploy war file using cruise control.
Now i want to run the ... |
Does anyone know of any decent alternatives to SauceLabs OnDemand Selenium service?
|
Our development team is developing a service (NOT web enabled) to support our web enabled application. I test the web part with Selenium/JUnit/Eclipse/Java.
I was wondering if there is ... |
The checks selenium performs usually come in two flavours: assertFoo and verifyFoo. I understand that assertFoo fails the whole testcase whereas verifyFoo just notes the failure of that check and lets ... |
In which scenarios should I use Tellurium against Selenium? From the basic reading, the only major difference I found is that Tellurium encapsulates the UI with the module concept. But selenium ... |
I'm trying to get the generic sample code for the selenium2 Sauce OnDemand service working with IronPython, for some test work I'm doing, and I've run into a problem I can't ... |
Hi i am new to selenium, now i want to run my test suite using selenium rc and eclipse Ide
i have using ant when i execute, for that time i ... |
I want pick the particular id from table, table have 10 rows and 7 columns,and i am using selenium rc and eclipse ide, when i ran below code its giving below ... |
Am doing automation tesing using selenium, i need help in regarding how to select radio button.If possible help me with selenium java code.
|
[TestNG] is not able to run the selenium tests.
This is my testng.xml
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="Suite1" verbose="1" >
<test name="Regression1" >
<packages>
...
|
- I'm trying to do autofill for google search
- Below is code i tried based on google search results and some blog entries
- I'm only posting the code to type in text
selenium.open("/");
selenium.type("q", "banga");
selenium.typeKeys("q", ...
|
what is major difference between selenium1 and selenium2
|
Has anyone done some extensive automation with Selenium and a Dojo-heavy web app? I'm looking for any issues or problem that you might have run into or issues related directly to ... |
How to verify links are there or not?
eg.
I have 10 links in a page,i want to verify the particular link
Is it possible?
I am using selenium with java
Can you help ... |
I am trying to test a webpage using Selenium and NUnit. One of my test cases entails the validation of text boxes. Using Selenium and C#, I am able to retrieve ... |
We have started off our Web Automation with Selenium RC and now reworking on it to change it to Selenium API. Below are the things which are tuff to handle.
selenium.Mouseover(xpath);
selenium.Isvisible(xpath);
selenium.waitforpageload(seconds);
Does ... |
just curious has anyone implemented any solution using StoryTeller and Selenium together. How do you do it and what are their roles with respect to the continuous integration.
|
Every now and then my selenium tests randomly fail with an "element X not found" error message. I do a simple select by ID, eg.
click('sideBar_queryButton')
When I use the dom inspector, the ... |
steps:
1. i uploaded file using browse option.
2. uploaded file content displayed in non-editable format
3. now i have to select few words.
for this i used mouseMoveAt (100,200) mouseDown() mouseMoveAt (150,250) mouseMoveUp().
This is ... |
String strPrimaryNav = "MEN";
String strSecondaryNav = "Shoes";
String strTertiaryNav = "Golf";
driver.findElement(By.linkText(strPrimaryNav)).click();
WebElement weSecNav = driver.findElement(By.className("secondaryButton").linkText(strSecondaryNav));
Mouse mouse = ((HasInputDevices) driver).getMouse();
mouse.mouseDown(((Locatable)weSecNav).getCoordinates());
//just trying with for loop as the tertiary popup disappears quickly and hence getting ElementNotVisible ...
|
Is there any possibility of selecting windows based on Index as done in Iframes?
Selects a frame within the current
window. (You may invoke this command
multiple ... |
I am not trying to do much here.
I am just trying to run an example given in Selenium website, to just open Google page and enter a search string in the ... |
I'm having problems verifying elements in a page made up of framesets and frames.
I'm using the code:
selenium.selectFrame("relative=up");
selenium.selectFrame("topFrame");
But it fails with the ... |
I used the following code (after using selenium.draganddrop), but it didn't work:
i also asserted the xpath value in order to check whether it is correct? (i checked
in firebug too)
assertTrue(selenium.isElementPresent("//*[@id='task_264282000000221235']/td[4]/div[1]/div[1]/a"));
assertTrue(selenium.isElementPresent("//*[@id='task_264282000000221243']/td[4]/div[1]/div[1]"));
selenium.mouseDownAt("//*[@id='task_264282000000221235']/td[4]/div[1]/div[1]/a","18,22");
selenium.mouseMoveAt("//*[@id='task_264282000000221243']/td[4]/div[1]/div[1]","18,22");
selenium.mouseOver("//*[@id='task_264282000000221243']/td[4]/div[1]/div[1]");
selenium.mouseUpAt("//*[@id='task_264282000000221243']/td[4]/div[1]/div[1]","18,22"); ... |
How to handle the scenario while running SELENIUM RC.If we get the default port 4444 is busy.
|
I'm trying to use selenium to invoke my webpage as googlebot. below is my code, but it does redirect the traffic to view webpage as googlebot...Can someone help me to direct ... |
Im testing my code with selenium RC. And every time when i run tests, selenium starts a browser in my active workspase, and i don't like this way. how can i ... |
I have Selenium RC stand alone server 2.0b3 running on Win XP, with IE 6. I'm having trouble running Selenium in proxy injection mode. I start the server like ... |
There are links in the page like this:
<a id="random" onclick="someFuction(random, <an_int_value>, random)" href="#"></a>
Actual code is in the following form:
<a id="random" onclick="someFunction(random, 1, random)" href="#"></a>
<a id="random" onclick="someFunction(random, 2, random)" href="#"></a>
<a id="random" onclick="someFunction(random, ...
|
I've some problems with selenium and firefox 3.6.17.
I'm trying to drag a item from a list to a specific field into a scrollable area, if the scroll is at the top, ... |
I'm just starting with TestNG and Selenium
I want to perform a registration test in a collection of webpages.
I've writen a Register class with the following methods
@Test( dataProvider = "WebSites", groups = ...
|
When using css selector with contains in selenium 1.0 (using java), if a '(' is preceded by a space immediately, selenium fails to find the element.
For '#', i found that simply ... |
I am new to selenium. I used to be a QTP developer before this.
In QTP traversing through a html table in a webpage is really easy.
In Selenium 2.0, I have no ... |
I have created a Selenium test using the Firefox Addon. Now, I want to make it run every 5 mins. How can I do that?
Thanks!
|
Please help me to fix this issue (Cannot call method 'indexOf' of undefined in Chrome). I'm running selenium using .NET framework and I don't see any overload method in selenium.start to ... |
I have some videos and i want to test their with automation
Can you tell How does selenium work with video? How does he recognize it.
Thanks!
|
If there is a one case that on open a yahoo.com page through selenium and on the click on any link on the home page of www.yahoo.com .it takes me to ... |
QTP seems robust and integrated withother systems.Funcunit/Selenium seem easier/quicker to setup and run for developers. Is it either-or, or is each tool betterat differentaspects of programming?
Anyone had experience with using both ... |
I need help on choosing locators while writing selenium script...
what are the differences between using XPath, CSS, identifiers?
Is XPath preferred over the others? If so, why?
|
I'm creating tests (in Firefox) for a web app.
Depending on what field the cursor is over, a different help screen will appear. But when creating tests for those help screens, i ... |
I need to select an item from a list and then simulate hitting enter in selenium code.
I heard about using:
selenium.keyPressNative("\13");
to simulate it, but it thought that \13 was the male ... |
I am executing a simple recorded script in Selenium , in which i just search a page in Google and then click it , but when Run that recorded script it ... |
Possible Duplicate:
XPATH or css in selenium RC
I am trying to automate the below scenario in selenium rc using java:
1.open google page
2.enter software in search ... |
In Selenium 2 I want to ensure that an element on the page that the driver has loaded does not exist. I'm including my naive implementation here.
WebElement ...
|
I heard that ReportNG create better report than TestNG's normal report. The problem here is i could not able to create a report thru ReportNG. I am using Eclipse and i ... |
I'm trying to buy something at Paypal-Sandbox with Selenium RC (Java), but it doesn't work.
I tried it with Selenium IDE (Firefox AddOn) and it did work. I changed the viewing and ... |
I'm having error when it already comes in size of the shapes in dropdown..
see the attached image
|
Through selenium. how to delete contents from textbox.
I have to delete the last 2 characters from text box using selenium command.
Ex.ABCD to AB.
|
How to get x and y coordinate. Like using selenium method mouseMoveAt(java.lang.String locator,java.lang.String coordString), I have to set coordString.
Example : coordString - x,y position (10,20).if i write 10 for x and ... |
What's the pro's and cons for both and why should I use either of them for functional testing?
Regards,
Jonas
|
I just started looking into selenium for automated testing for the past few days and am getting pretty stuck. I've been looking for documentation on this but haven't found anything ... |
Can we use Selenium RC to move the browser's scroll bar up or down?
Thanks.
|
There is manual Test case. We need to check the following.
Action
Check Promo Links.
Expected Results
Up to four links are displayed at the bottom of the app.
The links are divided by bars "|"
HTML ... |
I have the following testng.xml
<test name="CommonReportingTests" preserve-order="true">
<classes>
<class name="com.blah.ReportRunTests">
<methods>
...
|
I run Selenium as part of a JUnit test for a site, and once in a while, I see this failure:
RuntimeException-result was neither 'true' nor 'false'
I cannot reproduce ... |
I use Selenium and Sauce Labs for testing.
Is there a Selenium property to add a custom header or append a string to the user agent (like "using Sauce Labs")?
I want to ... |
I've read here and there that we should now use Selenium 2 (WebDriver if my understanding is right). I'm not talking about Selenium IDE which is really easy to use.
I've read ... |
I am using Selenium for the first time and am overwhelmed by the options. I am using the IDE in Firefox.
When my page loads, it subsequently fetches values via an JSONP ... |
I have an application where I need to do mouseOver over a particular menu. The issue is that selenium.mouseOver is not able to open the respective menu, it just seems to ... |
i am trying to press the ok button from a confirmation box like this (i added Thread.spleep so i checked the button is pressed and the confirmation box is shown)
selenium.chooseOkOnNextConfirmation(); ...
|
Is there a way to verify only part of text present?
If there is a text "Warning: A15P09 has not been activated." I need to verify the text is present. However, 'A15P09' ... |
I am automating web-application tests that are driven by Selenium architecture in Windows VMs, connecting via Windows Remote Desktop. It became known to me that Flash/SWF and other in-browser elements ... |
I got this problem when I tried to register the remote control to Selenium Hub.
Here is the ip info:
RC: 172.16.0.90
HUB: 172.16.0.121
Step:
1. "ant launch-hub" on Hub Machine
2. "ant -Dport=5555 -Dhost=172.16.0.90 -Dhuburl=http://172.16.0.121:4444 lanuch-remote-control" ... |
I've been struggling with the difference between the following commands, used while accessing widgets contained within iframes:
selenium.selectFrame("widget0");
selenium.selectWindow("name=widget0");
In the past (prior to IDE v1.0.12), I have been using these interchangeably, preferring the ... |
Is it possible to save a test suite as a single file as opposed to a group of files when using Selenium? Normally the test suite file is just a list ... |
Is there way where I can use one selenium test file in another test file like an include directive or something?
I do not want to create duplicate files, there is only ... |
I know selenium do not understand windows GUI and thus do not record basic authentication used in various sites. I tried using http://username:password@domain.com in following format:
public void setUp() throws ...
|
I am about to start work on a UI automation project for a client who is using Siebel 7.5. I have been looking around and it seems that there is not ... |
What are the differences between
Selenium.SelectFrame("relative=up");
Selenium.SelectFrame("relative=top");
Selenium.SelectFrame("relative=parent");
Could anyone give me an explanation using examples? I'd appreciate it. Thanks!
|
I'm trying to open a url with selenium and it is ditching everything that is after the slash.
public void setUp() throws Exception {
super.setUp();
seleniumTestClientOne ...
|
Selenium.WaitForPageLoad("50000");
Selenium.Click("title");
Most times when it takes more than 50000, I get Timeout error. I do not want to increase the time. Is there a way to give it something like "take ... |
I need to verify using Selenium (or similar framework) that certain HTML content/items are on the page using known unique identifiers.
I have control over the generation of the HTML, so I ... |
I am just trying to understand and learn selenium. I used IDE to record my actions and tried to playback but I am kind of stuck on the first ... |
I'm using selenium 2.0.3 (from a nuget package) for some browser tests. Which all work fine on my local maching.
On our TFS build machine I'm getting the following error when a ... |
I'm trying to follow the tutorial here to setup a headless selenium test-run with jenkins. I'm running CentOS 5.6, and I've followed the instructions. Now, when I run this:
export ... |
I'm using scaffolding to dynamically generate UI tests with MS Test and Selenium. I've generated the selenium tests just fine and want to generate .orderedtest files to order the test.
The ... |