Tags » Selenium

Selenium - uTest

Learn about selenium through the great uTest University …

Selenium – uTest

Testing

Selenium - Guru99

Selenium is an opensource automation tool for web based applications.

I’ll try to cover it for you from many source. Let’s begin with guru99

Course : 101 more words

Testing

A New World - Selenium IDE - What it Is

I know it’s been forever since I’ve ┬áposted here. I’ve been up to a lot of learning, learning, and more learning. I’ve neglected sharing what I’ve learned which is a crime, I know. 366 more words

Qa Testing

Checking field validations for text input using Selenium Webdriver.

Unit testing can take up a lot of time sometimes, especially when it has to be done repeatedly. Once you have tested the form fields manually, this task of repetitive unit testing can be made a lot easy by using Java Pattern Matcher with regex and Selenium Webdriver. 292 more words

Automation Testing

ReLyte - Invisible Minerals Part II

Invisible Minerals Part II : Multiple Minerals
By Dr. Carolyn Dean M.D., N.D.

Electrolytes are ionic conductors of electrical current in the body. They are dissolved in bodily fluids and travel throughout the body ready to activate nerve cells and muscle cells for electrical and physical activity. 345 more words

ReLyte

Load and performance using Apache JMeter with selenium webdriver plugin

I had to do some load test for the application in short time, and I did quite some research to do the same. Even testNG claims to do the load test but that is not reliable. 54 more words

Selenium

Scrolling an element into view (scrollintoview)

This snippet shows how to scroll an element to top of page using selenium in C# with chrome browser.

using System;
using System.Collections.Generic;
using System.Text;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;

namespace mySelenium
{
    class Program
    {
        static void Main(string[] args)
        {
            // Make a string variable filled with the destination of your Chrome driver
            String PathToDriver = @"C:\folder";
            
            // Create a new chrome browser
            IWebDriver driver = new ChromeDriver(PathToDriver);
            
            // Navigate to web page
            driver.Navigate().GoToUrl(@"http://docs.seleniumhq.org/");
            
            // Get a reference to an element on the page (download element)
            IWebElement downloadBox = driver.FindElement(By.ClassName("downloadBox"));
            
            // Create a javascript executor
            IJavaScriptExecutor js = driver as IJavaScriptExecutor;
            
            // Run the javascript command 'scrollintoview on the element
            js.ExecuteScript("arguments[0].scrollIntoView(true);", downloadBox);

            // Allow 5 seconds to view results
            System.Threading.Thread.Sleep(5000);

            //Free resources
            driver.Dispose();

        }
    }
}
C#