WebDriver is a tool for writing automated tests of websites. It aims to mimic the behavior of a real user, and as such interacts with the HTML of the application. Rather than running as a JavaScript application within the browser (with the limitations this brings, such as the "same origin" problem),...

learn more… | top users | synonyms

0
votes
0answers
5 views

Bamboo remote agent returning exception

I am trying to run a bamboo remote agent on a box to act as my "windows firefox server" to run webdriver tests, however I am being returned the following exception; com.atlassian.bamboo.agent....
0
votes
1answer
27 views

How do I call a web api with selenium c#

How do I call a web api with selenium c#? Using Rest, vs 2015. Looking for sample code if any to test api's end to end. Thanks
0
votes
0answers
31 views

how to pick a particular date from calendar through selenium webdriver? (not using xpath)

language :angular js &java I don't know how to locate the date component. anyone can help me
0
votes
2answers
82 views

How to resolve Firefox browser loading issue with Webdriver

When I run web driver with Firefox browser it generates a blank Firefox browser and after a minute the browser closes without running the Webdriver program. The following error is generated on ...
0
votes
1answer
19 views

Edit a script DOM element before being executed

I'm currently using Selenium WebDrivers for my tests and I'm struggling with an automatic download. The case is: I click on a button, it loads the next page containing a script tag with a click() on a ...
0
votes
1answer
42 views

What is the most effective method of storing the value in this string?

thanks for reading! :) currently I have a Listbox on the page with an associated record count, scenarios would be as follows: No Records Displaying 1 Record(s) Displaying 1-14 of X Records ...
0
votes
2answers
30 views

Exception in thread “main” java.lang.NoClassDefFoundError:

I a getting this error , I have already added all the the libraries and dependencies jar file. I dont understand where is the problem ? Error shows like this : Exception in thread "main" java.lang....
0
votes
0answers
56 views

Getting Unknown error While Using latest Verison of Selenium With Microsoft Edge Browser

My Code to launch Browser: System.setProperty("webdriver.edge.driver", "C:\\selenium-drivers\\MicrosoftWebDriver.exe"); DesiredCapabilities capabilities = new DesiredCapabilities("...
0
votes
1answer
56 views

Tools for Data Driven and Keyword driven tests in selenium with python?

I am new to selenium and python, I was watching some videos on data driven and keyword driven tests, the instructor was using TestNG with selenium and I was wondering are there any tools similar to ...
0
votes
1answer
38 views

How Can I take Screenshot using selenium Webdriver [duplicate]

Hello , please tell me how can i take the screenshot of webpage by using selenium Webdriver in java ??
0
votes
0answers
15 views

Automating Youtube Search - Getting Error

I am getting the error " org.openqa.selenium.StaleElementReferenceException: Element not found in the cache - perhaps the page has changed since it was looked up". Please look at my code below: ...
0
votes
0answers
52 views

How do we scroll down in Native app using Appium? Eg: Terms & conditions/

I want to know how do we scroll in native Application. For eg 'terms and conditions' page. I am using Appium using selenium web driver.
0
votes
1answer
46 views

JMeter Table & Tree Listeners always shows Latency = 0, Connect Time = 0, and identical Bytes values

Ran a Webdriver Sampler that opens a page and then logs-in an account. The configuration were 10 users/threads, Ramp-up period 1, Loop Count 1 on which I had a result shown below: Would like to ...
0
votes
5answers
110 views

In Selenium SendKeys() doesn't trigger auto-updating field while normal typing does

I'm trying to automate box, that displays and auto updates data under it depending on what you type into it. For example, when i type "Joh" it will display "John One" "John Two" in drop down menu, as ...
0
votes
1answer
37 views

How to read data from excel sheet using Codeception for Acceptance test

I am creating a framework to test a website. For that, I am using codeception framework and writing acceptance test. But I want to read the data or values (lets say for login and password) from an ...
0
votes
0answers
35 views

Selenium- what is the appropriate waiting method between pages navigation?

I have a problem with the waiting used between pages navigation. I need to navigate to all links in the current URL. and then navigate to each link to check a condition if specific text appears or not....
0
votes
0answers
19 views

Unnecessarily wait 4 minutes on a page which has Google map as a field

Environemnt - Java + Web Driver + Java based application. In our application, we use google maps as an embedded component/object (using - maps.googleapi.com). There are other components/fields on ...
0
votes
0answers
42 views

Could not click the upload button for SafariDriver

There is a upload button on the website as the code below <div class="fileUpload btn btn-primary"> <span>Upload</span> <input class="upload" id="id_file" name="file" ...
0
votes
0answers
27 views

How to set Selenium Webdriver using Internet Explorer Browser to not share sessions during multi threaded testing

Im trying to test against Internet Explorer 11 browser multi threaded using selenium webdriver with IEDriverServer.exe. I can now launch multi threaded IE browsers and interact with it but it seems ...
0
votes
1answer
61 views

Test Scenario for cookies in selenium webdriver

I want to work with cookies in my project, I don't know what will be the Test Scenario and Test Cases for it. Please help.
0
votes
2answers
81 views

Fluent Wait not working as expected

I observed fluent wait not identifying an element even though page is loaded completely and element is visible on the screen. For an example, I have an application with say page A and page B. On ...
0
votes
1answer
272 views

Why is CodeCeption acceptance test unable to access web page through webdriver?

I'm trying to build a CodeCeption acceptance test environment for Joomla. To make it easier to reproduce the tests on any developer's machine, I want to provide a Docker based environment. I'm ...
0
votes
1answer
145 views

Help Finding image in Sikuli X in Java

I am having an issue trying to find an image on the screen, I tried doing it in two different ways and it doesn't seem to work for me. I am trying to do this with Appium running on IOS simulator which ...
0
votes
4answers
157 views

Escape key for Safari using Selenium

I am using Selenium webdriver (Java) and ran into a problem. I made the method, public void escape() { Actions action = new Actions(driver); action.sendKeys(Keys.ESCAPE).build()...
0
votes
2answers
300 views

how to read and write file on mac system using java? [closed]

hi everyone i am new to mac system, on window system we read and write data from excel sheet what about mac? if notes is an answer provide me a java code to read and write data from notes file.strong ...
0
votes
0answers
72 views

Where can we see @Test(description=“test description”) in report?

I am unable to see the my test description in report. I use this annotation for it: @Test(description="TestCase Description") Where can I see the above description of my test case in the final ...
0
votes
0answers
21 views

On different OSes, what standard files can I assume exist which can be uploaded?

One of my webdriver testcases does a file upload to the website, in order to test that attachments can be added to message posts. This is implemented easily enough with a single line of code: ...
0
votes
1answer
293 views

Internet Explorer and proxy PAC file problem

I'm having trouble with making IE use proxy pac file. But it works ok with Firefox and Chrome. What I do: 1) Prepare proxy config proxyPacFile = "file:///" + proxyPacFile; Proxy proxyPAC = new ...
0
votes
0answers
592 views

Error when clicking element::: org.openqa.selenium.WebDriverException: d is undefined

Getting following error when clicking. Scenario: In application I have collapsed button on expanding that , its submenu are listed and clicking on sumenu open that particular page. org.openqa....
0
votes
0answers
52 views

WebDriver : selection is not working properly

I want to select Manage Customers & Projects but with below code 2 options i.e. Manage Customers & Projects and Manage Tasks both are getting selected. Not getting whats going wrong : ...
0
votes
0answers
50 views

Selenium Webdriver : Selection is happening twice

I want to select only Manage the customers and Projects . But did not getting , whats going wrong with below code. It selects both Manage the customers and Projects and Manage Tasks My code: ...
0
votes
2answers
375 views

How to select category from Ebay dropdown list? [duplicate]

Hi I'm learning automation testing using Eclipse, Selenium Webdriver, and Java. I'm practicing. I'm trying to select the label 'Consumer Electronics' from the Ebay dropdown menu and search only in ...
0
votes
1answer
96 views

Getting and logging the selenium version used in a groovy project

I'm using Selenium in my Groovy application as a Maven dependency. Now I'm looking for a way to log the used Selenium Version to the console. I tried this: BuildInfo info = new BuildInfo(); def ...
0
votes
1answer
414 views

is_displayed with python and web driver

So when my test pass it will show the "yeah" word in the end, however when it fails , it will only show and exception NoSuchelement and the word "Failed" will not show up anywhere. its like else ...
0
votes
1answer
293 views

Automation framework structure for two browsers simultaneous testing

Some high level (UI) smoke test scenarios should be automated for the web application made for audio/video/chat conference calls. At least one to one(peer-to-peer) users should be used to simulate ...
0
votes
1answer
3k views

TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given)

I'm new to coding and Python. Not sure where exactly I should be looking to fix this error. from UIMap import tomcat8LoginPage,tomcat8urls,competitors class test_Competitors(unittest): def setup(...
0
votes
0answers
53 views

Automation - Checklist Libraries for html input values

Are there any java libraries which help in input field validations data as per any checklist? For example, an input box needs to be tested for alphabets, numbers, special characters, length ...
0
votes
2answers
2k views

Working of pageloadTimeout in selenium webdriver?

How does pageload timeout in selenium webdriver work? Once set using driver.manage().timeouts().pageLoadTimeout() what is lifetime of the timeout?
0
votes
0answers
777 views

How to set script timeout?

I have the following code: Webdriver driver = new FirefoxDriver(); // ... String myHugeScript = ... ; // Script loaded from a resource on the classpath Object result = ((JavascriptExecutor) driver)....
0
votes
2answers
233 views

java selenium - ArrayIndexOutofBoundsException

I was wondering if anyone could help me out with this exception I've been getting. I have a custom class/object named MindsparkPartnerCode with two variables named ieFFCode & chromeCode. I ...
0
votes
0answers
254 views

Wedriver-Cannot access links in tables that are dynamically created

I am clicking on links that are in tables and nested tables, So for example click on Report/General and you can see more options to click on. I have tried so many xpath now to click on the report ...
0
votes
0answers
67 views

ElementNotVisibleException on Mac, not Windows

I'm trying to get Webdriver in Python to click a cell in a table, wait for JavaScript to add an element into the cell and then click the element that appears which causes a dropdown to appear. We ...
0
votes
1answer
1k views

How to use modify_headers extension for Firefox via Webdriver?

I'm trying to use modify_headers extension (because this feature will never be added to Webdriver) but without success. I use the following code: @profile = Selenium::WebDriver::Firefox::Profile.new ...
0
votes
0answers
57 views

Selenium script for selecting any one of the users

I have added the code selecting anyone of the user but only first time it works so please help me with this. Stripe.com driver.findElement(By.xpath("//ul[@class='navigation']//a[@href='/test/...
0
votes
0answers
27 views

IE10 does not always start

Using RemoteWebDriver, periodically, IE 10 gets into a state where Webdriver cannot take control of the browser window after opening it. My test never returns, and the workstation I'm using shows the ...
0
votes
1answer
1k views

Difference between WebDriver and Selenium in Selenium Grid Node Configuration

I'm using Selenium Grid and noticed that I can configure the seleniumProtocol parameter for the different capabilities in the Node. I can chose between WebDriver and Selenium. Excerpt from my node....
0
votes
0answers
374 views

Selenium WebDriver Code for PeopleSoft Sub Page

I am new to Selenium WebDriver World. I am trying to work on a script to Add a Person in PeopleSoft HCM Application. Basically, On the Personal Data Main page, you first start by adding a Effective ...
0
votes
0answers
383 views

Regex escaping issue in Selenium IDE and WebDriver

I have a Selenium IDE command evaluating a regex against a string in the DOM, something like this - Command waitForEval Target /http:\/\/www.site.com\/path\/image-/.test(window[window.varA+'-'+...
0
votes
2answers
224 views

Testcases fails on chromedriver

I am using chrome Version 34.0.1847.116 on Mac OSX 64 bit. When I run the testcase using chrome, the testcase fails. The same testcase works in firefox. public class Test { private WebDriver ...
0
votes
1answer
800 views

Using Selenium webdriver with chrome browser - Junit or java - how to upload a file from desktop(or any folder in pc) to application [duplicate]

Using Selenium webdriver with chrome browser for automation - Junit or java programming - how to upload a file from desktop(or any folder in pc) to application