Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

1
vote
1answer
15 views

How to Detect if Autoit script is failed or not in selenium (java)

I need to detect if current running autoit script is failed or not. I tried to wait for 1 min in the following code, if in this time 1st Autoit script doesn't complete then it will move on to 2nd ...
0
votes
1answer
14 views

Jenkins build marked as failure whenever my TestNG testcase/scripts fails

Using Jenkins we are executing our TestNG XML through windows batch file. My build is getting marked as failure when any of my test cases fails. For example: - I have 5 test cases inside my TestNG ...
2
votes
3answers
44 views

How to implement a lock in Selenium (Java)

I want the Script Openfile.exe to only if the previous one i.e CreateNew.exe has finished Right Now whats happening is When I run TestNG.xml file it runs all the @Test Priority wise and within 5 sec ...
1
vote
1answer
29 views

Selenium Java Robot - How to Click on particular location(X,Y) of Firefox browser?

I'm currently using a robot to click at a location on the screen as I've had issues with clicking a button that has a specific ID. e.g. Button_1401. This works fine up to a point, a few problems I've ...
1
vote
3answers
43 views

Unable to locate element in Selenium Java

Hi i am trying to locate element in selenium: <button class="add-widget ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only" title="Add widget" role="button" aria-disabled="...
-1
votes
1answer
22 views

Firefox Not Connected Exception in Selenium [on hold]

My script is not running even by using selenium 2.53.1 and firefox 47.0.1. Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.this error occur. The script that was tried is, package ...
2
votes
1answer
45 views

How to Pause your script in selenium untill your Autoit script gets completed?

I want Selenium to wait untill and unless Autoit Script is completed. Right Now whats happening is When I run TestNG.xml file it runs all the @Test Priority wise and within 5 sec TestNg output ...
0
votes
0answers
15 views

Run testing on china servers [on hold]

Currently the application of a client is hosted on servers in China, so when I test manually or run the manual tests locally, the tests are very slow. Currently I also use continuous integration to ...
3
votes
1answer
17 views

Selenium Test Design Struture - Test Granularity for a Large Project

Summary I have large Selenium Test project, and I'm struggling with how to manage my test structure in a way that I feel is easily maintainable, scalable, and that provides a good level of test ...
-2
votes
1answer
45 views

Exception in thread “main” org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with [duplicate]

I have used find the element by Xpath in my code, I get the error as ElementNotVisible. <div class="loginBtn"> <input style="width: 59px; height: 20px" id="SubmitCreds" onclick="clkLgn()"...
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
3answers
78 views

How to select a checkbox from multiple checkboxes one by one

I want to know how to select single checkbox from multiple checkboxes one by one Sceanrio:- On a web Page, there are multiple entries having checkboxes in front of each entry. For each entry there ...
-1
votes
0answers
26 views

Selenium Environment [on hold]

I recently had an interview and was asked about whether I have used Selenium only in web applications or also in package applications. I could not find anything about package applications even after I ...
0
votes
2answers
32 views

I am unable to switch to popup window in c# selenium

I have to create a new record, for that a new popup window opens. so i am unable to switch to that window. I used this code to switch the popup window foreach (string handle in driver.WindowHandles) {...
0
votes
0answers
28 views

Exception in thread “main” java.lang.NoSuchMethodError: org.openqa.selenium.WebDriverException.addInfo(Ljava/lang/String;Ljava/lang/String;)V

Here is my script to book the bus. In the procedure of process i am not able to select the seat of the bus, as it is an CANVAS element. So i am using the "action.tap(element, x, y).perform();". I am ...
1
vote
2answers
47 views

How to write data into excel using selenium?

I am using keyword driven framework to create the script in selenium.Any one please provide me script how to write the data into excel sheet with proper column names. Suppose once the customer is ...
0
votes
4answers
32 views

Im unable to locate the element to enter the text in the txt box in c#

i tried using xpath, Id to find elements. even though im getting the error "unable to locate the element" please can anyone help? HTML Snippet <input type="text" value="" maxlength="256" id="...
-1
votes
0answers
21 views

How to select option after clicking settings button in selenium c#?

I am unable to select options under settings button. I clicked on settings button using findelement(by.id("O365_MainLink_Settings")).click();. This is what I did by doing inspect element. But for to ...
1
vote
3answers
103 views

What are the challenges with automation when using Selenium? [on hold]

I recently had an interview question what problems did you have while testing in Selenium. Well, I have experience in Selenium, but maybe I was testing a simple application, but I dried up quickly. ...
1
vote
2answers
66 views

unit testing vs automation selenium resume value [closed]

I started working in automation development with selenium and am told it is a hot field and can earn some high-end coding salaries. We recently hired a new manager who once hired immediately took us ...
0
votes
1answer
33 views

Constructor calling in page object model [closed]

I had an interview recently in one of MNC company and they asked me how to call constructor in page object model. Can anyone help me on this please..??
0
votes
1answer
35 views

Trying to select a dropdown item that is a random GUID

I'm relatively new to Webdriver, and I am wondering if it is possible to select items on a dropdown that use a guid. Normally, I would use new Select (driver.findElement(By.id("location")))....
0
votes
1answer
28 views

I did findelement using Xpath, the next step i need to is findelement.text(); to get the text. how i can do that

This is the xpath for the text I need to find----- /html/body/div/table/tbody/tr/td[2]/table/tbody/tr[4]/td/table/tbody/tr/td[2]/table/tbody/tr[5]/td/form/table/tbody/tr[2]/td/table/tbody/tr[3]/td[3]/...
0
votes
1answer
22 views

I want to run Selenium IDE recorded tests consistently against several environemnts

Im looking to record automated tests against a web application using Selenium IDE. What I want to do is then run these tests automatically against various envs. Is this possible? From what i can ...
0
votes
2answers
29 views

Selenium: Page logo is replaced, need to verify if the new logo appears

I have a webpage, where there is an option to upload a new website logo. When the new logo is uploaded, it has the same element id that of the previous logo. I have written the automation script ...
4
votes
3answers
51 views

How to validate against texts overlapping each other using selenium?

I am writing automated test cases for a company. One interesting problem is that texts on a webpage overlap each other, is there anyway to validate against this?
0
votes
1answer
26 views

How to log out in facebook using python selenium?

I want to know how to log out in facebook using python selenium. here's my code: from selenium import webdriver from selenium.webdriver.common.keys import Keys import time #from selenium folder ...
1
vote
1answer
26 views

Need to validate a calendar application against invalid dates

I am testing a calendar application, which allows a user to select day, month and year, but the problem is the developers have not implemented any form of date validations, which means every month can ...
1
vote
1answer
17 views

Testing Different User Setting's Effects On a Page

I am using Microsoft Visual Studio and Selenium to test a webpage. This particular website requires a user to login to the web page and based on some settings, some elements will be displayed and some ...
0
votes
5answers
84 views

What are the Alternative tools for Selenium

I am looking for a tool that can help me automating the test cases on website, I am currently using selenium webdriver but It takes a lot of time to write down the test cases using webdriver, also ...
0
votes
1answer
52 views

Selenium - the text entered via sendKeys() should convert to double and double value be used

In my web app, all values on the form save on losing focus from the field. But after I enter a value in one field, it checks if that value entered is within the allowable range. Example: The app will ...
1
vote
2answers
39 views

BrowserMobProxy verifying request

I am using Selenium with Java. I am trying to verify that a specific third party request came in so in order to capture the network traffic I used a proxy named BrowserMobProxy. I wrote the content ...
0
votes
1answer
17 views

Getting IOException Error cannot create directory on Mac with Selenium WebDriver

While running selenium grid tests from my Windows Hub on my Mac Node, I cannot create a directory aka folder on the Mac Node. I think my code is correct. It worked for the Windows Node. I am ...
2
votes
1answer
36 views

Accessing weblogs via Selenium

I am using Selenium via Java. I am trying to test third party tracking and I am wondering if there is a way to access the network logs so that I can verify that a specific request came in? For ...
0
votes
1answer
37 views

java + log4j : How to fix “No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies)”

Working with selenium + maven project in eclipse. I am facing below warnings: log4j:WARN No appenders could be found for logger(org.apache.http.client.protocol.RequestAddCookies). log4j:...
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
40 views

How to configure css or xpath for below code

I need to configure xpath or css for selection under red border i.e a name contains "Patient List"
5
votes
3answers
88 views

Not able to click element using Selenium Webdriver

I am having this screen where i try to hover it after hovering the screen becomes drop down So i am not able to click on the screen using selenium webdriver. <td align="left" style="vertical-...
1
vote
1answer
90 views

What advantages and disadvantages to do the major browsers have when automating web applications

I am having trouble choosing a good browser when automating a web application. Among the browsers I have considered are Firefox, Chrome, Safari, PhantomJS I am particularly looking for comparisons ...
-1
votes
1answer
53 views

How much experience should I put in my CV for selenium [closed]

I have not worked in Selenium but I know selenium. So, just want to know that how should I put this in my CV so that companies can hire me on basis of Selenium.
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
12 views

Is it possible to shut down a Selenium grid node remotely?

I recently ran into an issue where someone registered a new Selenium node with our hub, but the new node was not configured the same as the other nodes. It occurred to me that just anyone could add a ...
1
vote
1answer
49 views

Selenium > new windows & pop-up : What is different between new window and browser alert in selenium?

This is very common scenario when we automate any web application. But I am little confused between new window and pop-up? Please can you add little examples?
0
votes
0answers
6 views

Conversion of geoJason coordinates to mouse coordinates

I am working with maps. I have one link whose end points are in geo-jason coordinates. One is longitude, another one is latitude. Now I want to know that how can convert this longitude and latitude to ...
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
0answers
13 views

Get Coordinates of link that is in canvas

I am doing automation in selenium with RobotFramework in Java.I want to get x,y coordinates of links that are drawn in canvas. I tried to find a solution online but I just got to know that some java ...
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
59 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
19 views

can we create a software application for the full script of selenium coding we have done? [closed]

If we have created some selenium code for web application testing. After completion of the script coding, can we create a java application or something like that?