HTML code for the dropdown: <div class="margin-bottom"> <select ng-class="{'invalid-select':(selectedItem == '-1' && submitted)}" class="select-lg select-custom ng-pristine ng-untouched ng-valid ng-not-empty ng-va
I would like to know how to run
[email protected] - WebDriver Sampler using
[email protected] - HtmlUnit Driver Config in JMeter. WDS.sampleResult.sampleStart() WDS.browser.get('http://jmeter-plugins.org') WDS.sampleResult.sampleEnd() Get Error Message: Thread Name: Thread
I'm doing Selenium Automation Testing via Jenkins. I have done Jenkins setup on my PC and run tests as Maven project. It works without problem. Jenkins is setup on a Ubuntu server without GUI (CLI Only). I've installed an additional plugin Xvfb in Je
i need to select checkbox which is having same ids HTML: <label class="table-checkbox-label" for="record-12034"> <input id="record-12034" class="table-checkbox" type="checkbox"/> </label>
We are doing automation using Ruby and Cucumber. We have around 80 feature files, 1 web_Steps file containing all the generic steps. The problem we are facing is all locators are present in the feature file. So if the html structure changes then we h
I am getting the following error while trying to get selenium webdriver working with robot framework. WebDriverException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capabil
HTML of element In selenium webdriver, I am trying to locate, then clear the textbox element in the given image with this code driver.findElement(By.name("X")).clear(); or driver.findElement(By.cssSelector("input[name=X][type=text]")).
my code is: public static void main(String[] args) { WebDriver d=new FirefoxDriver(); d.get("https://bbc.com"); List<WebElement> lst=d.findElements(By.tagName("a")); for(int k=0;k<=lst.size();k++) List<String> lst1=lst.a
I currently have a selenium test that runs smooth on 1920 * 1080 resolution. But I have a task to make this test on different common resolutions such as 1366 *768. Problem is when I run my Selenium test on smaller resolutions than 1920 * 1080 I can't
Is there a way to do some workaround for Dom Locators when exporting testcase from Selenium IDE to java/junit/WebDriver? These are not implemented yet (for about few years?) I have an error: // ERROR: Caught exception [Error: Dom locators are not imp
I am practicing selenium in python and I wanted to fetch all the links on a web page using selenium. For example, I want all the links in 'a href" tag from this website : http://psychoticelites.com/ I've written a script and it is working. But, it's
I am working on an automation project.In that I have to fetch all the email address from the span text which will be having characters of more than 200.But the email address are not in regular expression format instead it is showing as Eg:- xxx(at)ab
I want to check 2 states (conditions) of a single function in a try block before going to catch block. I have a search functionality, that holds true for one of the two following webdriver waits as long as the functionality works properly. 1. new Web
I have to run automation on Windows 10 'Edge' browser. Please let me know how to launch Edge browser in windows 10 using Java Selenium Web Driver. File file = new File("C:\\Program Files (x86)\\Microsoft Web Driver\\MicrosoftWebDriver.exe"); Sys
I'm trying to follow the Selenium Webdrive Tutorial http://www.toolsqa.com/selenium-webdriver/headless-browser-testing-selenium-webdriver/ There is a simple test, here you are the steps: Open webpage http://google.com Get the title of the page. Searc
I am new to selenium web driver but have successfully written a couple of Junit tests using it so far. I am now on my third test and running into an issue where an element cannot be found. I am getting the error "NoSuchElementException" from Sel
I want to scrape some data from a page which is in a table. So I am only bothered about the data in the table. Earlier I was using Mechanize, but I found sometimes some of the data are missing, especially in the bottom of the table. Googling, I found
I have very minimal knowledge of Java, coming from a mainly Python background, and I was wondering if it is possible to include the modules that I used with a .jar? For example, my program uses Selenium Webdriver and Selenium Chromedriver, is it poss
Clicking on checkbox based on tables column value using Xpath. Below is the html <table id="tblHotels"> <TBODY> <TR> <TH align="left"> <INPUT checkbox="" id="chkNSelectAll name=chkNSelectAll ty
I'm using Selenium WebDriver to try and capture an email address field to log into our site. My code to detect the email address field so I can insert the email is: WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(ExpectedConditions.pre
How do I get a single value from the style element. Here is my CSS. I want to be able to get the width value of 51.06383% span id="ctl00_cphNavigation_svyNavigation_lblProgressMeter" class="progressmeter" style="display:inline-blo
I am trying to develop a program which would take the snapshot of webpage and will then compare it to an old one and highlight the changes if any. I am using Selenium- WebDriver for taking snapshots. For image processing and compare, after a bit goog
I want to do mouseover function over a drop down menu. When we hover over the menu, it will show the new options. I tried to click the new options using the xpath. But cannot click the menus directly. So, as the manual way i am trying to hover over t
I have an instance where user try to log-in application (simple webpage). After successful log in, the application closes the current page and open a new webpage. Rest of the business operations start from there. Till the point API clicks log-in butt
In 2 days ago a was used this scenario and it works but know all time she didn't I don't know why, I use Selenium webdriver and junit4 so this my scenario and how i run chrome-driver with cmd and the error package com.example.test; import java.util.c
I am writing a very simple test case using selenium webdriver. Lets say I have @Test public void github_search() { this.webDriver.get("http://www.github.com"); WebElement findBox = this.webDriver.findElement(By.id("qa")); ...... } in t
i'm testing my JSF with Arquillian. a simple button looks like this: <h:form id="myForm"> <a4j:commandLink value="delete" ajaxSingle="true" id="delete" action="#{controller.delete(object)}" reRend
I want to execute my Selenium tests in different languages. Is it possible to change the language of an existing WebDriver at runtime or do I have to recreate the browser instance? Right now I'm only using Firefox, but I want to execute tests in diff
I looked at the documentation located here, but couldn't find an answer. I want to get an element by class name or xpath and return the number of instances. There seems to be no available function in Python, such as get_xpath_count(). Any ideas on ho
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 to put these blocks for every page. // Wait for search to complete wait.until(new ExpectedCond