Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Use for questions involving problems with automated tests. Relevant for designing test automation, debugging test automation, automation tooling questions, and questions about when it is appropriate to automate. Questions regarding specific tools should tag those tools as well.

0
votes
1answer
37 views

Pop up handling in Selenium using try and except block gives a broad exception warning

try: if browser.find_element_by_xpath('//[@id="s"]/a').is_displayed(): browser.find_element_by_xpath('//*[@id="s"]/a').click() browser.switch_to.default_content() ...
1
vote
3answers
39 views

API Testing tools in C#

I'm looking at writing at automated tests to cover regression testing in respect of Restful API's. I have familiarity with how to do this in Java using Rest Assured, however the company I currently ...
-1
votes
3answers
38 views

How to click on the image inside a grid using selenium webdriver?

I have to click on an image inside a grid. Grid elements have dynamic ID's. Therefore it's impossible to capture elements as usual. How can click on this image? I have boxed the image I ...
0
votes
0answers
3k views

ElementNotVisibleException: Message: element not visible Selenium in Python

I'm trying to click an options from a website dropdown menu but I am not able to click. I am using "xpath" locators for the element and I upgraded my chrome to the latest version for chromedriver. ...
4
votes
5answers
123 views

What is the advantage of choosing testing as compared to other career paths in Software Industry?

I have had many people tell me that I made a big mistake by choosing QA path in IT industry and that I will never get opportunities to grow as compared to developers and database experts. Please ...
1
vote
1answer
40 views

SoapUI response: Integer range validation

One of my API's is returning, "minStudentAge":12 For a one API out put there will be 5 ,6 "minStudentAge" tags with different integer value. Is there any way to validate the integer value which ...
0
votes
1answer
29 views

Failed To Launch IE Driver Using Selenium WebDriver?

I am trying to execute the selenium web driver script in IE browser but I got this error? can any one provide the solution. Code : import org.openqa.selenium.WebDriver; import org.openqa.selenium.ie....
0
votes
1answer
27 views

Selenium 2.53.1 now working with latest Firefox versions?

My organization is stuck on Selenium 2.53.1, and we test using compatible Firefox 46.0.1. I recently accidentally ran a test with Windows 10, Selenium 2.53.1 and Firefox 61.0.2, and the test ran fine....
0
votes
0answers
16 views

I am looking for few research ideas where machine learning can be used in software engineering. Please help [duplicate]

Few potential research ideas regarding how machine learning can be involved around Tools and techniques for constructing reliable, efficient, and secure software. Need the outlines regarding the same....
2
votes
4answers
70 views

Career path advice - microservices or APi testing

How to become an automation expert in restful api testing ? Is this similar to microservices testing or is that a different approach ?
1
vote
1answer
25 views

Link accessed thru selenium works in Chrome but not in IE?

I have encountered an issue for UI elements on IE browser. The link doesn’t respond to Selenium click commands. The same commands works fine on chrome browser. I have used Actions also, but same ...
3
votes
2answers
48 views

What are the downsides of this technique that involves randomness?

I am writing test cases in JavaScript at the moment. One typical scenario I have come across is: Read a text string from a web browser (this string is dependent on a block of json code) Compare this ...
0
votes
0answers
31 views

automate WebSocket audio streaming

We are using websockets to stream large binary data (for example images), and performs certain analytics on the streamed image (for example OCR). We want to make sure for certain predefined images, ...
0
votes
1answer
42 views

How to resolve InvalidSelectorException in Selenium?

selenium.common.exceptions.InvalidSelectorException: Message: invalid selector Unable to locate an element with the xpath expression .//*[@id="Toolbar"]/table/tbody/tr/td[2]/a[1]/span)[3] because of ...
0
votes
0answers
13 views

How to use vncStart in SikuliIDE

I would like to connect to remote desktop which has VNC server on it. I would like to VNC to that m/c using SikuliX IDE. I do not want to write JAVA/Python code. I need to make sure that VNC works ...
2
votes
3answers
44 views

Should users be made aware they are beta testing in “live” environments?

Should users be made aware they are beta testing in live environments? Should they be given special instructions? Should they have options to test or not test in "live/production" environments?
0
votes
1answer
41 views

Has anyone written automated tests for Looker?

We are starting a reporting project that integrates Looker and Snowflake to gather data from multiple micro services. We were wondering if anyone is doing something similar and how do / did you create ...
1
vote
0answers
12 views

Record UI elements for TestFX

There is an existing JavaFX based application, which I should write automated tests for. I just started to use TestFX(version 4.0.13-alpha) and looking for advice, how to record and identify UI ...
0
votes
1answer
24 views

Is it possible to define set [ i ] in java and extract i th row from excel to that set? I checked this a lot in net but couldn't find

// Assigning values to set from sheet1 1 st row data from columns 4 and 5 to a listofIntends[1], 2 nd row data from columns 4 and 5 to a listofIntends [2], and so on till // listofIntends[10] ...
3
votes
3answers
97 views

Taking screenshots using the Java Selenium webdriver

For taking a screenshot in Selenium, does it support only the PNG format or will it also support the JPEG format? Which is the default one image format for taking screenshot in Selenium and ...
0
votes
1answer
43 views

Good way to update automation skills with experience in selenium+c#

I want to update my automation skills with experience in selenium+c# working as an Automation QA. I am particularly interested in courses in the London area or online courses I can take to remain up ...
0
votes
0answers
9 views

Selendroid: Can't launch: Error building server

Struggling with launching selendroid-standalone from cmd (Windows 7): java -jar selendroid-standalone-0.18.1-with-dependencies.jar But I am getting exception in a process of creating the server: ...
0
votes
1answer
20 views

Appium + Java + Android + iOS : java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwable;)V

Question: How to fix : java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwable;)Vmethods. More info: I observed this error for android as well as iOS ...
1
vote
3answers
62 views

Maximum how many lines in a java class file recommended?

Same question I browsed over the internet but not getting the one point answer. I'am working on Automation Selenium using Java. I have created one class lets say ProductDetailsPage.java so I have ...
0
votes
0answers
29 views

How can we write a Junit testcase for Buffer Reader methods of Java?

I have java code which works as a lexical analyzer. So, we pass some input to the program such as "ABC", 123 and it categorizes them as String or Numeric constant etc. The arguments to be passed are ...
0
votes
1answer
21 views

TestNG + Appium + Java : [TestNGClassFinder] Warning: Can't link and determine methods of class

Question: How to fix : [TestNGClassFinder] Warning: Can't link and determine methods. More info: My Automation is getting failed suddenly. I know it was working well before & even yesterday. ...
0
votes
2answers
49 views

Is there an open-source Selenium Webdriver Test Automation Framework that's already available in the market?

I've been practicing Web Automation for a year now. This may sound funny , but, is there a Test Automation Framework for Selenium Webdriver? (Java binding). Like, when you set up the framework, it ...
0
votes
0answers
18 views

Automation testing regarding to Polymer 3 web app

Has anyone here has any experience in testing any web apps written in Polymer 3 yet? My company is coming out with a build with a web app that is built using Polymer 3, and I might be tasked in ...
1
vote
1answer
29 views

How to control TestNG to iterate all Tests in each iteration instead of iterating individual tests before moving on to the subsequent test

Problem - I have 6 tests and one dataprovider with 2*2 object array. I want TestNG to pick first data, use it in First test and then subsequent tests are executed based on the data picked in first ...
1
vote
1answer
43 views

Selecting usernames from a list using selenium

This is the code I have used so far: username = browser.find_element_by_id("field67041336") email = browser.find_element_by_id("field67041337") mobile = browser.find_element_by_id("field67041338") ...
1
vote
0answers
44 views

How to handle password alert pop up (Windows Security) on IE?

The pop up is not the traditional alert. It looks like this pop up. Basically Windows Authentication system. I have tried the classical alert handling technique (alert.sendKeys()) and the one using ...
0
votes
1answer
45 views

Unable to get text of an element

I have selenium Test case to validate contents of 2 web pages. The issue, I am facing is I'm not able to get anything from element.getText(). I'm using below code. driver1.get("https://some url"); ...
0
votes
2answers
51 views

Verify Text using CSS or Xpath

I am new to automation, Selenium Web Driver and am practicing code using Amazon. I want to verify my logged in user name (Hello, Nichole) on the Amazon Home Page but anything I enter using CSS or ...
0
votes
1answer
59 views

Getting Invalid Element State Exception

I am trying to clear text from <div> section using XPath using the below line. Clear Element Text xpath=//*[@id="intro-overlay"]/div I am getting below Error: ...
0
votes
1answer
67 views

Locating Inner Text with CSS or Xpath in Amazon

I am teaching myself automation with Selenium web driver, and thought a good way was to learn off an ecommerce site such as Amazon. I am trying to locate inner text with CSS and used the following to ...
0
votes
1answer
107 views

Selenium Webdriver TestNG (Java) using While loop for all tests

I am new to Selenium Webdriver Testng and trying to Develop Data Driven framework using CSVReader I have 5 tests in Testng and have to run those all on different environments. So basically I have to ...
1
vote
2answers
39 views

Advice on API Mocking Tools

I was interested in hearing peoples experiences of using mocking, specifically for API testing. Whilst I’m (fairly!) well versed in automation techniques now, I haven’t yet used this approach but ...
0
votes
2answers
38 views

How to get count of dynamic 'div's' nested inside a each 'td' tag?

I have table which have several <td> tags, again these tag have nested <div> tag. But the number of <div> are dynamic. Means, for each <td> tag number of <div> are ...
0
votes
1answer
51 views

Selenium with C# “Element is no longer valid” exception being thrown when repeating steps

I am repeatedly getting a very annoying problem when automating my test cases using Selenium/C# in Visual Studio. This test is designed around validating search criteria text. In order for me to test ...
0
votes
0answers
13 views

Jenkins Job vs Jenkins Pipeline

BACKGROUND : We have one Selenium automation project which is shared in BitBucket repository. Project is maven project. we have 10 testng.xml files for all modules OVERVIEW: Now we want to trigger ...
0
votes
1answer
27 views

How to modify/delete <div> section using Robot Framework

I am trying to delete a <div> section using Robot Framework. How can I do that ? Also, Is there a way to modify the class within a <div> ? e.g. <div name="test" class="..">. I'm ...
1
vote
0answers
31 views

Runners for cucumber tests

I've reached the point now where we need to get my automated checks running as part of deployment scripts to act as regression tests. I've not done this before and I'm thinking the way I currently ...
-2
votes
1answer
113 views

Selecting a second player is not working, while automation

I am automating my app. App is a commentary app. I am selecting 3 players and clicking on their respective positions. Here I am able to select the first player and its position, but unable to select ...
8
votes
3answers
847 views

Test strategy to bring automated tests from UI to lower layers including API/ and or Unit tests?

Background/Problem Statement: Recently I came across a project team, which is having thousands of UI automated tests covering all kind of manual tests including positive, negative etc., and obviously ...
1
vote
1answer
40 views

How to emulate right click options by Capybara?

I want to be stand on a specific element in the page then I make right click and choose one option from the menu appears
1
vote
1answer
36 views

Has anybody test automated Verifone Terminals?

We do Point of Sale testing, we have verifone payment processing terminals -- i.e. we see normally almost everywhere in every grocery store, shop etc.. Since it is a part of POS testing, wondering if ...
1
vote
1answer
43 views

NodeJS Selenium-webdriver firefox geckodriver set browser binary location without changing PATH

Currently I have the following setup for my NodeJS based test for firefox in Windows 7 Firefox 61.0.1 "geckodriver": "^1.11.0", "selenium-webdriver": "^4.0.0-alpha.1" However when I execute the ...
0
votes
0answers
41 views

Write tests for Windows desktop application in Java [duplicate]

I made some research and didn't found a suitable solution. I should write tests for a Java based Windows desktop application. I am looking for a free solution for this purpose. Windows Application ...
1
vote
1answer
30 views

White Label Website Automated Testing

My company is in the process of setting up a white label website, in which there are slightly different user journeys. These journeys, for the most part, use the same functionality but I'm wondering ...
0
votes
1answer
25 views

Dynamic Tests using TestNG selnium arrays

What is the best approach of the follwoing scenario. I have to run a number of tests which take in dynamic data. The first set of values are pretty standard but then one is dynamic and can be any ...