Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
2answers
7 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
8 views

Selenium Environment

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
21 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
8 views

Extent Reports Is Giving Incorrect Results

I made one test and I purposely put an incorrect assert statement to test whether or not I was getting correct outputs. In the @aftermethod I did if !result.isSuccess() then test.log(LogStatus.FAIL, ...
1
vote
3answers
87 views

What are the challenges with automation when using Selenium?

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. ...
0
votes
0answers
16 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 ...
0
votes
1answer
31 views

Plugin of Maven - Automated test

I need to run automated test on Bamboo (Atlassian) but i don't know what plugin of maven use. The automated test are with Selenium and Java.
1
vote
2answers
35 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 ...
1
vote
2answers
61 views

unit testing vs automation selenium resume value [on hold]

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
15 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 ...
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
vote
1answer
108 views

Automation Java - Android - How to get items from a ListView?

I'm trying to get the items from a ListView so I can compare them with of expected results. The thing is that I can't figure out how to get those Elements. I'm also the developer of the App, so I'm ...
4
votes
2answers
55 views

Tomcat Server when used amongst Selenium Grid setup

We are using a different style of Automation framework in our project (as per client request) wherein we have designed a JSP page and this page contains links and buttons through which each ...
-1
votes
0answers
20 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 ...
5
votes
2answers
11k views

Firefox browser launches blank when the tests via Selenium

I have created a simple test that launches browser and calls a URL. This works fine in IE but when I select Firefox (FF) browser it opens blank. See the code snippet below. The issue is similar to ...
3
votes
3answers
44 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?
1
vote
1answer
108 views

Expecting a popup upon closing the browser

I am expecting a pop-up upon closing the browser. For example, when you are shopping and you have items in cart and in the middle of the checkout process, you wanted to close the tab/browser, at that ...
0
votes
2answers
28 views

Maven Java versioning issue [on hold]

I am trying to setup jenkins and run build using maven, but I am getting an error, because maven is executing build with java source 1.5. I have mentioned the source and target in pom.xml as 1.7 still ...
0
votes
1answer
32 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")))....
2
votes
2answers
478 views

Creating a log file for each and every test case with executed test case name

I am working on selenium automation for one of the project, I have a number of test cases I want to create a separate log file for each and every test case Example : Suppose I have two test cases ...
0
votes
1answer
32 views

Constructor calling in page object model [on hold]

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
26 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]/...
10
votes
6answers
3k views

Is adding IDs to everything standard practice when using Selenium?

My team is using Selenium WebDriver and the QA team is having the developers add IDs to almost everything. Is that normal or is Selenium flexible enough that tests can be written with the markup that ...
0
votes
1answer
121 views

How to Code this SSL Certificate Dialog, with Selenium IEdriver “request for permission to use a key” IE 8 9 11

Can anyone help me with sample code please. I have to login with SSL client certificate to authenticate in IE, this UI only works in IE. I have this Autoit Script but the popup is not being read by ...
2
votes
4answers
275 views

How best to test file download links using Selenium

On a website I am testing we have various links that download PDF files to the users computer. Our selenium suite runs nightly on bamboo, if we were to download the various files overnight it ...
0
votes
2answers
219 views

Submit button not working in Selenium webdriver

When I launch ChromeDriver or IEDriver and click the submit button (manually and automatically), it does not send the inputs. It works outside of webdriver though, I can click the submit button and ...
0
votes
5answers
79 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
0answers
491 views

Selendroid: Unable to launch selendroid & Observed “SessionNotCreatedException”

I have tried to start selenium using following code to relevant path on cmd prompt: java -jar selendroid-standalone-0.14.0-with-dependencies.jar -app selendroid-test-app-0.14.0.apk but i am ...
0
votes
5answers
489 views

Unable to enter the text in a text box

I am trying to enter the text in a textbox, but I am getting an error as follows org.openqa.selenium.InvalidElementStateException: Element must not be hidden, disabled or read-only Anybody can help ...
0
votes
1answer
32 views

Selenium webdriver wait not working during ajax call

Could someone plz help. I am automating a webpage which has an ajax call. I tried to implement webdriver to wait for ajax to complete using webdriver wait. It seems the the webpage automatically got ...
0
votes
2answers
27 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 ...
-1
votes
1answer
68 views

How to organize code in automation framework?

I am trying to figure out most readable way to organize my code (with POM) So far I have split out the following: Pages (methods for the specific pages) 'GoTo' pages (I don't need it but ...
1
vote
1answer
49 views

WebDriverWait until ExpectedCondition ElementVisible

I am creating an automation test framework for Selenium test using Page Object Model and Pagefactory. The website I am testing can create new pages that a person can write content to which is then ...
2
votes
1answer
111 views

Selenium - sendKeys() not inserting value into textbox

I am not able to validate an international number text box in Selenium. I have tried earlier by name, class and other locators but it is not inserting the value into the textbox. Below is the text ...
0
votes
1answer
23 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 ...
5
votes
3answers
87 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
votes
3answers
5k views

How to handle multiple columns of Data from Excel using Apache POI for Selenium WebDriver

I am new to Selenium WebDriver and I am automating an end to end test. My doubt here is, all the data for the test is stored in an excel file which contains more than 15 columns of data. Each @Test ...
3
votes
3answers
2k views

Selenium IDE and Selenese scripts in Continuous Integration

Apologies if this is not the forum for such a generic question. As our organisation moves to an Agile project methodology, we need to be able to rapidly automate applications as they are built up ...
0
votes
1answer
20 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 ...
1
vote
2answers
164 views

Mouse hover Action - Unable to click hidden link

I am unable to click the hidden link ("WatchBanking") after using moveToElement(). WebElement lnkW2yB=dr.findElement(By.xpath("//a[@href='/personal/ways_to_bank/ways-to-bank-landing']")); Actions ...
1
vote
1answer
27 views

SetPageLoad Timeout not working for Selenium web driver

In my webdriver test, I have the below. Despite the SetPageLoadTimeout, the script is still executing the next line before allowing the page to load. driver.FindElement(By.LinkText("MySurvey"))....
1
vote
3answers
1k views

Selenium Cannot locate element

I am working on automation, while automating a form with number of drop-down's. The problem with me is, when run the code in maximize mode of window it gives me an Error: org.openqa.selenium....
1
vote
1answer
24 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 ...
0
votes
3answers
633 views

Selenium Webdriver - finding element on IE 11

I'm trying to assert a 'name' on my page, to assure the right name is displayed: public static OpenQA.Selenium.By Name = (By.CssSelector("p")); Assert.AreEqual("Name", Global.driver.FindElement(...
1
vote
2answers
63 views

webdriver.support.select - Select doesn't interact with the element

Hello, I have the following select: <div class="col-xs-12 col-md-6"> <label class="ph_label pointer city"> <span class="l citylbl">City</span> <select class="cities custom-...
2
votes
1answer
2k views

How to Handle the File Upload dialog in Protractor for IE11?

I know the default answer to handling explorer.exe is to use AutoIT, but AutoIT utilizes Java Runtime to use the exported .exe to upload the file and close the dialog. My tests are all in Protractor ...
2
votes
2answers
554 views

How can I verify text exist within a table using Selenium IDE?

Using selenium IDE- I am looking for a way to locate and or verify a value in a table. There are more columns in the table, but I am only concerned with the first 4. Also the number of rows varies as ...
1
vote
4answers
292 views

How can I avoid conflicts running Selenium tests in parallel, when they must exercise an underlying REST API?

I have a web application which needs to be tested in multiple browsers in multiple environments (i.e. Chrome, Firefox, and Internet Explorer in both Windows and Linux* (*with the obvious exception of ...
0
votes
2answers
226 views

How to run Junit test methods in parallel?

I need to run Junit test methods in a Class parallelly to save time using Threads. I have added the following code in my pom.xml file after referring to a website. please let me know what the next ...
0
votes
2answers
60 views

How to verify if a button is not clickable in Selenium (C#)?

Can anyone suggest a good method to use when you want to check if a element is NOT clickable. In one of my scripts, I'm trying to verify that a button clickable until a certain action is taken on the ...