Tag Info

Hot answers tagged

1

I believe you are actually getting all the links from the page I think what you are seeing is that when you go to print them out you are getting the String representation of the List collection. To actually see each of the links you need to iterate through the list. public static void main(String[] args){ WebDriver driver = new FirefoxDriver(); ...


1

I've has success using LinkChecker to find all broken (404) links.


1

I don't think that it can easily be done via Selenium IDE or even WebDriver Java code. You can use i.e. Xenu's Link Sleuth free application to detect broken links. Another option is using Apache JMeter, it's HTML Link Parser allows to implement something like site (or even web) spider in just few clicks If you don't want spider and just need to test ...


1

You need the SafariDriver extension for your Safari browser and you have to set two system properties: webdriver.safari.driver - Location of the Safari browser extension file webdriver.safari.noinstall - Set to true, if the extension already installed; else false. Links: SafariDriver - Selenium Wiki SafariDriverInternals - Selenium Wiki


1

Start by looking for testing tasks that require a lot of manual effort and do not change from one release to the next. This is especially important for UI automation; if a web page changes frequently, you will spend so much time updating your automated test that it will have been faster to test the page by hand. Note that there are often ways to use ...


1

I managed to get around this issue by creating a static method that scrolls down the page: public class Browser { public static IWebDriver Driver { get; set; } public static ITargetLocator CurrentFrame { get; private set; } public static void SwitchFrame(string frameId) { CurrentFrame = Driver.SwitchTo(); ...


1

To broadly address your question, just pick some test cases with simple interactions that aren't very dynamic and automate those. Trial, error, and practice will get you there. Is Java mostly used for Selenium tests? Do you recommend it over C#? According to StackOverflow, there are more Selenium tagged questions in Java than any other language (as of ...


1

Our pages are programmed with extJS too and I managed to drag and drop elements with the following steps: mouseOver mouseDownAt MouseMoveAt MouseUpAt But for me it is just possible if the element is visible at loading of the element. When I have to scroll to the element to get it visible, I did not find a way to drag 'n drop it.



Only top voted, non community-wiki answers of a minimum length are eligible