Selenium is an open source framework for testing web applications.

learn more… | top users | synonyms

0
votes
2answers
60 views

Selenium is not recognizing xpath

When I attempt to search for the following element by xPath, Selenium does not find the the element. Not sure what I'm missing here. driver.FindElement(By.XPath("//input[@type='text']")).SendKeys("...
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"))....
0
votes
1answer
18 views

StaleElementException - After using navigate().back()

I'm trying to automate a testcase, where in there are around 30 links in a page. All these links will lead to a new page. And depending upon on a value in the new page, I need to either proceed or ...
3
votes
4answers
216 views

In automation testing do we need to write only positive test cases?

I am currently working on automation project along with another guy. He prepares a test case for the automation and I implement it. Here is my question, generally we use to write test cases for ...
1
vote
1answer
47 views

Getting a stale element exception (Selenium - Java)

I am using Selenium via Java. I am running into a stale element exception and I can't seem to identify the issue. I am interacting with a carousel (see image below). I have placed all the vehicles, ...
0
votes
2answers
22 views

Scroll Issue in Android Automation using SeeTest + Selenium Webdriver

I am using SeeTest + Selenium Webdriver + JAVA for Automating a Android application There is one contact page there are 15 fields . After filling 5th field the keyboard is overlapping the 6th ...
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 ...
0
votes
0answers
29 views

How to select an element from bootstrap menu using Webdriver Selenium with c# ? The Menu drop down shows up on Mouse Over

Import Leads How to select an element from bootstrap menu using Webdriver Selenium with c# ? The Menu drop down shows up on Mouse Over
0
votes
0answers
28 views

Sweet alert malfunctions in combination with Selenium's browser.click()

I have a swal: swal({ title: 'Success', text: 'Something', type: 'success', closeOnConfirm: true },function(){ $("#somethingModal"...
1
vote
2answers
82 views

Is my website test approach comprehensive enough? [closed]

I am working on a test automation project for a webpage portal. What I want to achieve is: Perform a HTML encoding conformance test; I have noticed that there are a number of missing tags, un-...
0
votes
1answer
56 views

How to execute a Selenium Java test using batch file?

I have created a batch file containing Java file locations : "% C:/location..." Now , when I double click this file, it opens up eclipse with this java class inside. What I want is that this file ...
0
votes
0answers
18 views

Difference between $(“path”) and $(By.linkText(“text”))? Selenium - Selenide

I need to locate a element, I used the following two ways: $("body.class1 div.class1.class2 div.class3.class5 div.class6.class7 li.classLogin a") .click() But I have problem with ...
1
vote
0answers
21 views

How to Verify link using dataprovider [closed]

I want to verify hyperlink which in under the red border using data provider method. print them 1) User can click on hyperlink 2) Using data provider print the text into the console.
0
votes
0answers
14 views

Verify hyperlink using dataprovider [duplicate]

I want to verify given hyperlink highlighted in redborder using dataprovider How to do it ,please let me know
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: ...
-1
votes
1answer
54 views

How to verify text under <P> tag in selenium

I want to Verify text "No results were found for the query:"under tag in selenium how to verify this text how to take xpath for this div class="fl" style="width: 99%;"> Search Results No results ...
1
vote
1answer
69 views

Selenium delete cookie

I am using Selenium via Java. My test case logs into an account, but when the next test case runs (which happens to also log into an account) it fails since the credentials are still saved from the ...
1
vote
1answer
70 views

Selenium Element is not clickable at point with ExpectedConditions.elementToBeClickable

I have a problem with the following exception: org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (1128, 997). Other element would receive the click... My ...
0
votes
0answers
33 views

how to run selenium scripts in already opened cef based application

How to run selenium scripts in already opened cefclient application.(CefClient is a sample CEF based application). How to get the window properties in selenium c#?
0
votes
0answers
22 views

Selenium automatically disposing the application after 60 seconds

am trying to automate CEF(Chromium Embedded Framework) Based application through selenium. am able to execute the .exe file by using setBinary function. after executing that selenium is not waiting ...
0
votes
0answers
51 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.
3
votes
1answer
55 views

Selenium - WebElement.FindElement() Aware of changes to DOM?

Was just reading this question http://stackoverflow.com/questions/26882604/selenium-difference-between-webdriver-findelement-and-webelement-findelement trying to understand the scope of the ...
0
votes
1answer
45 views

What test frameworks can be used when doing Selenium based automation in C# for functional tests?

I have done some research and found that most frameworks available are either for unit testing or the work on them has stopped. I need to either build or find a suitable testing framework for ...
0
votes
2answers
88 views

how to measure response time for both loading and search time for a website ? selenium

I need to measure response time for website using Selenium and Selenide. Response time of a website: I mean the loading time, I see that there is method to take difference between time before and ...
-1
votes
1answer
66 views

Which are the best course to learn automated QA for a start-up? [closed]

Which courses are the best to help me grasp the foundations of Automated testing? I am currently in a manual QA position doing only Ad-Hoc/regression testing. This is also the only testing we ...
1
vote
1answer
64 views

How to initialize the driver globally in selenium

I wanted to create a separate class to initialize the firefox driver and then use the driver instance in my other TestNG classes. Can someone tell me how to do this and how to use the same driver ...
0
votes
1answer
68 views

Blank Browser launches on Selenium Grid Hub with Every Test Run on Node

Why does the hub keep launching a blank browser before it runs a test on the node? Every time a test starts to run, a blank browser is launched on the hub before it opens the same type of browser on ...
0
votes
1answer
40 views

Is use of priority in TestNG a good approach? [closed]

I'm assigning priority to each test method in a specific class under my automation project. My senior reviewed the script I wrote and mentioned to me that do not use priority instead use the xml to ...
0
votes
1answer
61 views

How to validate if PDF is loaded or not in Selenium Webdriver?

I have a link in Website which will redirect to PDF document after clicking I would like to check if PDF is loaded in the browser or not using selenium I do not want to compare the text/content in ...
0
votes
1answer
61 views

Java code inside a test case

In my code the daily emails generated by java code. Is it possible to write pure java code inside a Selenium IDE automation test case?
0
votes
2answers
62 views

Parallel Testing with Selenium Grid - Static classes have driver issues

I am currently working on an automation project. I have the project itself complete. However, I am now integrating Selenium Grid into my project to run my tests parallel on different browsers e.g (...
0
votes
2answers
89 views

If a test case fails, how to close the browser and move to the next one?

How can i stop the execution of a test case if an exception happen and caught and move to next one. I am using TestNG, Eclipse, Selenium. In my xml, i have: <?xml version="1.0" encoding="UTF-8"?&...
0
votes
0answers
17 views

how to use dumbster

public class Email_Dumbster extends TestCase { public Email_Dumbster(String s) { super(s); } public void testSend() { SimpleSmtpServer server = SimpleSmtpServer.start(); Properties ...
1
vote
1answer
35 views

Automating web app screenshots and inputs [closed]

Good day, I've been working for some time now on a web app and recently my workload has grown tremendously. I have to take presentable (showing correct info and setup) screenshots for our product and ...
1
vote
1answer
22 views

Selenium_Copying entire column from excel without using iterator

Am new to selenium and I have the following query. Query: Am working in a project where I need to copy 4000 values from an excel in a single go and I need to paste that in the list box of application....
0
votes
1answer
45 views

Email content checking

I am doing automation testing. In our web application the employees get daily mail notification. what i need is ,to write test case to check the daily emails. The emails contents are the services that ...
3
votes
4answers
136 views

What to ask programmers before automating with Selenium

What points should I discuss with frontend programmers when preparing a product on which, as a tester, I will use Selenium to automate? I am referring to things like, no dynamic ids for elements etc. ...
0
votes
2answers
61 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 ...
0
votes
5answers
109 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
5answers
277 views

How to get entered text from textbox when value is empty in selenium using java?

Just I am trying to get entered text from the text field when value is empty. Below is my HTML: <input type="text" style="width: 203px" value="" maxlength="32" name="firstName"/> I tried ...
2
votes
3answers
83 views

What do I need to do if dropdown takes more time to populate 1st element from dropdown list?

What do I need to do if drop down take time to populate 1st element from drop down list? Select Cdropdown = new Select(driver.findElement(By.xpath("//select[@id='ClientId']"))); Cdropdown....
0
votes
1answer
97 views

Which Firefox version is more compatible with Selenium IDE and Firebug? [closed]

Firefox Browser compatibility with Selenium IDE and Firebug Plugins or addons.
3
votes
2answers
87 views

How to locate an element which is inside the iframe?

I'm new to automation testing (I'm using TestNG framework and Java language) I'm having trouble in locating an element which is inside iframe. WebElement iframeSwitch= driver.findElement(By.id("...
0
votes
3answers
74 views

Which programming language java or c# should I learn for selenium automation testing? [duplicate]

I am in manual testing from last 5+ years and having a sound experience in it. Now I want to switch in automation testing and want to start with Selenium. I don't have any programming experience or ...
0
votes
1answer
39 views

Anyone find value migrating to NightWatch from Python Selenium API?

My dilemma, I have tons of tests and experience on the Python API to Selenium and webdriver. But, my dev team is big time javascript fans who think everything should be built under node/js. I want to ...
0
votes
2answers
53 views

How to select li element in selenium

I want to select "India (+91)" from dropdown Can anyone help me with this?
0
votes
3answers
51 views

xpath - element is not located even when I construct the xpath

element is not found //HTML Code <input type="text" maxlength="61" style="width:185px;" value="" name="name73652d80" onblur="fieldTrack(this); "/> input type="text" onblur="fieldTrack(this);" ...
3
votes
6answers
77 views

Automation tool with record & playback option [closed]

As I know we have selenium IDE tool to record and playback our automation script..while recording in ide some Ajax function and date pickers are not working properly..I want to know is there is any ...
1
vote
2answers
49 views

How to locate xpath for given tag?

I am trying to automate one of site and the below are the html code for same <a href="http://register.rediff.com/register/register.php?FormName=user_details">Create a Rediffmail account</a&...
1
vote
2answers
478 views

Which Programming Language is more supportive to start with Selenium? [closed]

I am looking to start with selenium, so please suggest me which language is good for automation testing?