In certain unknown situations selenium does not detect that a page has loaded when using the open method. I am using the Java API. For example (This code will not produce ... |
[UPDATE 2: We rendered this question no longer relevant - using the -avoidProxy argument to the Selenium server meant Selenium-RC and our application worked together. So now we can use a ... |
I'm testing a page with Selenium IDE and want to execute a method already in the page. I've tried getEval(window.name.space.function()) but it just returns window.name is undefined. ... |
Is there anyway by which I can automate the following steps
in Selenium-rc
- open a page
- click on bookmarklet in browser toolbar
- fill up data in the form loaded into the page by said bookmarklet.
If ... |
iam trying to get all object's xpath's from loaded page via selenium
something similar to the funkction that selenium allready have:
selenium.getAllbuttons();
problem is that i cant use this funkction and work with id's ... |
I am searching for an element on a webpage by using its xpath. The xpath is correct and can find the element ONLY if I manually perform a click anywhere ... |
I have a fairly standard situation: Click a button, it loads a transition page with a progress bar or something, and then that page redirects to the next page, which ... |
|
I have been running into intermittent errors with some java selenium-rc tests which I think are related to a page which has an ajax poll and automatically refreshes when some condition ... |
How to use selenium-rc to get the CSS value of the test page ???
for example: get the color of background or get the border size ??
environment: selenium-rc+vs2008+xp+c#
|
I want Selenium IDE to fail a test if the time to access a page is more than 60 seconds and log the time it took to access the page.
Is ... |
I've got the following problem:
When recording a webtest using Selenium IDE (v1.0.4) every step will be recorded but when I try to replay the tests some buttons won't be found although ... |
newbie here, i'm trying to get the value of a link using document.getelementbyClass/Name & then navigate to the page the link points to in a different window/tab using Selenium IDE. All ... |
using xpath or css : How to get something which is selected on page using following html code.
in following code, Element1 is selected on page and I wanted to find name ... |
I'm very new to Selenium RC. I'm using .NET (though I don't think it is relevant), I have opened a page, but I want to confirm that the page was ... |
Guys, I'm trying to write xpath or css to find/click on list element "All" based on known span(in this case SNG NAME below). On page, there are different lists Which can ... |
I was wondering what's the best way to save all the files that are retrieved when Selenium visits a site. In other words, when Selenium visits http://www.google.com I want ... |
I just added ExceptionHub (a javascript error tracking service) to our website, but all my selenium tests are failing now. When I look at the selenium output, it says it timed ... |
i have to use code
this.setUp("http://www.remax.com/", "*firefox");
selenium.open("/404/index.aspx?aspxerrorpath=/public/pages/searchresults.aspx");
slenium.click("link=Find a RE/MAX Office");
selenium.waitForPageToLoad("30000");
selenium.selectFrame("REMAX AGENT SEARCH");
selenium.click("ctl00_PlaceHolderMain_ButtonSearch");
to find source of given url but i have to find only few source because here use java script+Frame+Ajax code
i have ... |
I'm using Selenium 2 in Java, and when loading a web page using Webdriver's (the InternetExplorerDriver class) get() method a time-out is received and the execution halts although the page appears ... |
The task is to check broken links on a webpage using selenium RC and java . It can be done simply by
a) click on link A
b) wait for page to ...
|
I am trying to create a test that can enter a username and password into a login form on a page. However, the textbox name changes on every load of the ... |
We're trying to validate if a URL fires upon loading a web page. Is there a way to do this programmatically using Selenium RC? The event does not appear within the ... |
I really like how selenium 2 by convention pushes you towards using PageObjects as POJOs, and then simply using the PageFactory to instantiate the fields in this class.
What I am finding ... |
I am automating a form page using Selenium RC (C#). After I click 'Submit' button, I get an alert 'Records Edited Successfully!'. The title of this alert box is 'The page ... |
I have a suite of Selenium tests (created using Java in Selenium RC 1.0.3) that work perfectly with IE, Firefox and Google
Chrome. But when I try to use Opera ... |
I am using selenium for my web automated testing. finally i have make simple program to open a browser using selenium. But i am not getting a good document for this. ... |
I am testing an application which has a auto page refresh which occurs every 45 seconds. I need to find out the time when the last auto refresh has occured and ... |
I am testing an app that runs javascript. The last part of the app opens a PDF file using the javascript command:
document.location.href = 'data:application/pdf;base64,' + pdfbytes;
I'm wanting to make sure the ... |
I exported a working Selenium test case to java, running it via selinium-rc's selenium-server.jar in Junit4 on Eclipse.
The test case breaks the next step after opening the page, trying ... |
I'm using Selenium's IWebDriver to write Unit Tests in C#.
Such is an example:
IWebDriver defaultDriver = new InternetExplorerDriver();
var ddl = driver.FindElements(By.TagName("select"));
The last line retrieves the select HTML element wrapped in a IWebElement.
I ... |
Is there a way to use selenium to test VXML pages? I seem to only be able to access HTML content. Can anyone help?
|
I have a set of tests that I've developed using the Selenium IDE in Firefox. Tests run fine and all pass. Now I'm trying to port those over to C# and ... |
I have an application that for one of its pages returns an XML string (type text/xml). The result is returned "inline" so that when I load that page in Firefox I ... |
I am using Selenium RC by java.Fill up necessary data on 1st page-->Click Submit button to go next page. My code is:
selenium.click("Submit");
selenium.waitForPageToLoad("30000");
After clicking Submit button I found the error: com.thoughtworks.selenium.SeleniumException: Timed ... |
I am using Selenium RC by java.Fill up necessary data on 1st page-->Click Submit button to go next page. My code is:
selenium.click("Submit");
selenium.waitForPageToLoad("30000");
After clicking Submit button I found the error:
com.thoughtworks.selenium.SeleniumException: Timed ...
|
I would like to store the link from a link on one page, then open that page and then compare the text on that page.
When I use storeExpression and then enter ... |
I have a page called Page A.
Page A contains the link. If you click that link Page B will open.
Now I need to enter the text in some of the fields ... |
I needed to write script in selenium to visit and scroll each and every page.I have a javascript code for that which I have tested.But I don't know how to make ... |
I'm new to selenium RC and using it from bromine. The problem is that when on firefox/ubuntu the window is testing the page, I can't see what exactly is being done ... |
I am attempting to grab source html for a popup (using waitForPopUp and getHtmlSource); however, selenium is not waiting for the popup to fully load with the target content, thus I ... |
I have 5 pages(we are using pagination). Each page has 10 records on it.
If i use
int rcount = selenium.getXpathCount("//table[@id='bank']/tbody/tr").intValue();
I am getting rcount as 10, that means it is only ... |
I'm new to Selenium. I need to write a function in Selenium. This is a sample code. If it is correct, where we will save this file and what is the ... |
IWebElement abc = driver.FindElement(By.Id("txtUserName"));
abc.SendKeys("TEST");
IWebElement abc1 = driver.FindElement(By.Id("txtPassword"));
abc1.SendKeys("TEST123");
IWebElement abc2 = driver.FindElement(By.Id("buttonSignIn"));
abc2.Click();
Do we need to explicitly create a new object each time to find an element on the same page?
Can we just create ... |
How do you make Selenium wait for the page to load in Selenium 2.0?
|
how can I find the text inside a page using selenium?
Is this the right way?
Assert.IsTrue(WebBrowser.Driver.PageSource.Contains(texto));
|
I want to be able to use WebElement instances after i moved to another page. I am not sure if that's possible, but there would be the need to store the ... |
I am testing a page similar to Google search where you would enter the search terms in the provided text box, and click Search, and the next page returns a bunch ... |
I'm using selenium to log some performance tests on my site. for example login times, query times, etc. I have a sample script recorded on Selenium IDE. I now have it ... |
We test using selenium and use a page object design. That is, we have a library file that contains all the functionality of a certain page on our site. By "functionality" ... |
I am having an issue in Selenium which has been recurring through my test suite that reports elements not present after they clearly are, and Selenium even reports that they are ... |
I am using Selenium2(2.0-b3) web driver
I want to wait for a element to be present on the page. I can write like below and it works fine.
But I do not want ... |
If i have to check a 'xyz' text present in header of the web page & the 'xyz' is present in body of the page.on the use of this function.it will ... |
I am trying to use a CSS selector to click on a link in Selenium but it fails to recognize it.
The link called "Cancel" appears in two places in the ... |
I am testing a website very similar to Google. So, if a user entered some search terms like "Selenium Tutorial", the results page would have a bunch of links with snippets. ... |
I have an issue when clicking on a button with Selenium 2.0b3 Java API with FirefoxDriver. Clicking on the button sends a form to the webserver and then browser goes to ... |
I am trying to hit particular web page and record post its load for example:
http://serv1.project.com/page7
but on hitting above page only http://serv1.project.com gets recorded. When i play same script then http://serv1.project.com is ... |
How to check if an Element exists, when using Page Objects with webdriver.
So far I am doing it this way.
DefaultPage defaultPage = PageFactory.initElements(this.driver,
DefaultPage.class);
assertTrue(defaultPage.isUserCreateMenuLinkPresent());
Page Object:
public class ...
|
I'm at wits' end here, and hoping someone's ran into something similar before.
I've been using Selenium 2.0a2 for a while now to test my web application. Now I've updated to rc3, ... |
I would like to use the selenium2 c# webdriver to test our login mechanism. The following test passes if I run through it in debug mode and give the Click method ... |
What Java/Selenium commands can I use to capture/get/output for all elements and associated element locators for a single webpage? The Selenium IDE allows you to inspect one element at a time. ... |
Using Selenium 2.0
After Submitting a web form, A popup msg comes up with the "are you sure you want to navigate away from this page" message, How do I get selenium ... |
Moving my Cursor to a Element in webpage opens a drop down menu but this element is not clickable whenever user moves cursor over this element a dropdown menu opens
Example can ... |
I am able to execute a login page test casesin IE8 but not in the firefox.
after entering the username, password and click on the submit button, the next page is not ... |
I am writing a status monitoring page for our test environment and would like a list of individual selenium/webdriver nodes which are registered with the Grid server. I can do ... |
I am using the C# Selenium WebDriver and I would like to confirm that certain text exists on the page.
How do I do this? All the selectors seem to use IDs, ... |
I have the following locator on various parts of the webpage:(excerpt of HTML)
<table id="userPlaylistTable" cellspacing="0" cellpadding="0">
<p class="title"> ABC </p>
<p class="title"> DEF </p>
<p ...
|
I am exploring the use of Selenium 2 on a web application which requires authentication before a user can use any of the application. I am planning on either JUnit 4 ... |
<div class="searchSummary floatL">
<span>18</span>
results for "gloves"
</div>
How could i get the tag for '18' using selenium. I am looking to retrieve 'span'.
is that possible and how using selenium and css?
thanks
|
I have an web application, which generates a JS message
'Are you sure you want to navigate away from this page?' when you try to open a new page.
I know I can ... |
SeleniumServer version: 2.5.0, Firefox version: 4.0.1
I have a situation where a 'New Question' hyperlink is rendered through an Ajax call. Once the page load is complete, I need to click ... |
im having a problem with HtmlUnitDriver using Selenium.
Im using the Selenium 2.5 version.
The test is so simply and usualy it works correctly but sometimes the driver just stop and wait endlessly ... |
hi i am using selenium with testng.
I have created a code in which i will login to a website and then after that their is a operation that happens and it ... |
I'm creating a test script with Selenium RC, Firefox 3.6 and C#. I have a test environment (locally) against which to run the tests. However I have the following problem:
|
How do we verify content under a specific area in a page. Let say i need to verify a word in the contentPane. The word may present in span, title or ... |
Clicking on a button in my web page sometimes causes the entire page to load, and sometimes only part of it to load.
How can I call waitForPageToLoad without the page ... |
how do i verify the search criteria present in the contentPane. SearchCriteria include boolean charaters.. Ex: Management AND Politics like wise it can have OR, NOT, also () etc.
SO i have ... |
I met an issue while trying to test a ajax page using selenium RC.
In the ajax page there are some radio buttons,checkbox and a submit buttons. Manually, when I click ... |
I am currently doing my automation on a website using selenium and Testng.All things were going fine . But when it came to check the data in some pdf reports i ... |
With the current form of Selenium WebDriver does it understand page loads now?
In my recent research comparing WatiN vs Selenium vs X one of the biggest points I've seen in favor ... |
Hi All,
I have a web based application with windows security pop displayed as soon the first web page starts loading and the page completes loading only after we provide Login credentials.
I ... |
When you are modelling your page objects, how would you deal with a page which has form and about 50 input fields on it? What is the best practice here?
Would you ... |
I am using selenium+java junit. I want to pass the session id from the login page to another page.
Is this possible?
|
I'm running a test using webdriver backed selenium and java to verify an error message containing % this is causing the test to fail.
I have tried to use the UTF-8 code ... |
I tested the following jQuery on a jQueryfied page to inject custom CSS code to the page:
jQuery('head').append('<style type=\"text/css\">body { background: #000; }</style>');
After that, the background of the page immediately turns black, ... |