Questions tagged [automated-testing]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
36 views

unable to select a value from drop down

I am unable to select a value from drop down while automating UI of a website public void setTargetPortalDropdownOptionInModalPopUp(String visibleText) { Select select = new Select(...
16
votes
6answers
4k views

Writing test automation in Java, while the company domain uses C#/.NET

I´ve recently got a job as a automation tester in a company, that basically only have manual testers (except me). The short term plan is to come up with a good test strategy for identifying which of ...
3
votes
3answers
113 views

What's the difference between integration and contract testing of microservices?

Well, integration testing supposed to be the testing of integrated components. Contract testing supposed to be testing of the way components interact with each other (API). But what the main ...
-1
votes
2answers
53 views

How to add elements in list from a dropdown using Selenium/Python

I want to add all the city names in a list, so that I can compare then in assert is not in unit test.
0
votes
0answers
39 views

How to resolve “Cannot find class in classpath: com.AES.Loginpage” error in Selenium?

I have created one java project and written a script for login to application using TestNG class. I got an error: "Cannot find class in classpath: com.AES.Loginpage" I have added jars and driver exe ...
2
votes
1answer
44 views

how to handle firefox download popup in selenium

Code: case "firefox": FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("browser.download.dir", "Downloads"); // folder profile.setPreference("...
6
votes
5answers
695 views

How to connect Selenium to an existing browser that was opened manually in java?

I want to achieve some use cases in which: I want to perform some tasks that require manual intervention before kicking in automation execution. For instance, I need to manually launch the browser, ...
28
votes
11answers
6k views

Why do many jobs describe automation but then require extensive manual testing?

The question somewhat stems from a frustration after seeing recent trends in software testing jobs - In Job Description, automation skills are given utmost priority. All the interview rounds will be ...
0
votes
1answer
56 views

Click function is not triggering even after button is clicked using htmlunit driver

I am able to click submit button and submit button click is working fine but text entered to add comments is not showing (basically submit button click is working ,but submit button functionality is ...
4
votes
3answers
88 views

Are unit testing related only to software development?

I have searched Unit test on internet and I always find that it is a software development topic. If I am not writing code and instead I am designing, for example, a BI dashboard. Can I consider "Unit ...
5
votes
2answers
354 views

Is there a way to automate multiple tabs using cypress?

Is there a way to automate multiple tabs using cypress? e.g. After login to my webpage, I get redirected to another tab. So, I would like to automate login in 1st tab and then perform other testing ...
1
vote
0answers
41 views

Linking automated unit tests to Test cases

I'm working with a piece of software with over 4000 automated unit/security tests. I've been tasked with bringing requirements into an ALM. What's confusing me, is the best way to handle Test Cases. ...
10
votes
4answers
625 views

How to analyse 'Element not Found' exceptions when working with Selenium

When you are writing Selenium/WebDriver automation scripts you will probably run into the exception NoSuchElementException. You think your selector is working, but somehow the element cannot be found. ...
0
votes
2answers
41 views

Is it possible to do Functional Testing w/ JMeter - Invalid input test and required field input test?

I need to know if it's possible to do functional testing (frontend or backend) with JMeter only - w/o 3rd party software. I need to be able to test required fields and bad data input in a form.
0
votes
1answer
48 views

Trying to use xpath in order to select a text on desktop web browser [duplicate]

This is the error I am getting below: selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//*[@id="select-input-...
-2
votes
1answer
36 views

Visual Studio 2017 Community Installation issue [closed]

I have installed Community edition 2017 , i cant locate Console Application under File-> New -> Project. I can see below. Under Windows Desktop -> WPF App (.NET Framework) ->...
0
votes
2answers
67 views

Waiting for spinner to disappear does not work

I'm using the code below, waiting for "Loading" spinner to disappear. But I noticed that next test step does not wait until the spinner to disappear. Example: click on button_1 (after click, spinner ...
3
votes
2answers
124 views

Nested explicit wait does not work in Appium

For example, I'm sending a message. While it's being sent to the recipient it has the resource-id "pending_indicator". When it is delivered, it has the resource-id "delivered_indicator". So, I'm ...
-2
votes
1answer
53 views

Automation Testing using selenium webDriver on a javaScript based application

I am having a JavaScript-based application to automate using Selenium WebDriver. Can I automate a Javascript based application using Java with Selenium WebDriver OR do I have to use protractor (...
0
votes
2answers
61 views

How to automate functional regression tests through database data comparisons?

I have a Java batch job application that reads input data from an Oracle database, does a lots of calculations, handles many edge cases, and outputs results back into different database tables. The ...
1
vote
1answer
101 views

How to select a dropdown value in Selenium WebDriver using Java appium?

I am new to Selenium, currently am working on selenium webdriver. I want to select a value from the drop-down. But I am not able to do it because of some error. Also, I want to inform you that in my ...
4
votes
4answers
523 views

Is there any possible way to automatically update the locators when developer changes the locators

I am planning to build a self-heal tool to update the locators automatically when developer the changes the UI locators
3
votes
2answers
273 views

Code coverage for Selenium Tests

Is there any tool available to determine the code coverage for my selenium tests? My tests are written in Java having use of selenium WebDriver with BDD-Cucumber implementation in it.
0
votes
0answers
6 views

Implement load and performance pipeline for Salesforce in Bamboo?

Details In my current one I have several points which I have to supervise from different planning points. This is also part 1 of a longer request which I have to split. Initial situation: In this ...
0
votes
1answer
43 views

Find element within another element using explicit wait

I have the following code: List<MobileElement> messages = driver.findElements (By.id ("body_bubble")); //find all messages MobileElement lastMessage = messages.get (messages.size () - 1); //get ...
2
votes
1answer
168 views

Decoding JWT and testing results in Postman

We are implementing a new service which requires Authorisation by the way of a JWT. I already have the submission and returned body containing the "access_token" My question is how do I set up a ...
0
votes
0answers
30 views

How do I click buttons on App which is installed on machine but not a Windows application. It opens a chrome instance (not default Chrome browser)

How do I navigate and click buttons on an already open Chrome instance/window. So the scenario is, that an application named "ApplicationNAME" is installed on my Windows machine, but its not a Windows ...
0
votes
1answer
70 views

How to read Text in a Tradingview Alert with Python and Selenium

After a very useful help here to login on trading view, i cannot figure out how to access to the text of this following alert and close it selecting OK here is the html code corresponding to that pop ...
0
votes
1answer
31 views

How to find path to filtervalue

Can you help me how to find a path to desired "filtervalue", such as value "Search in active documents"? As you can see in the picture, the class filtervalue is there multiple times. Thank you in ...
0
votes
1answer
63 views

Automating a desktop app based on Chromium Embedded Framework using Selenium

Background: At work we are passing the --remote-debugging-port=9555 parameter to a CEF based desktop app and launching it using Runtime.getRuntime.exec("path to app"). Then, using selenium, we open an ...
2
votes
1answer
24 views

Ignoring some test steps depending on variables

I'm using Cucumber + Java + Selenium to UI test an application. I'm using the same set of tests whether my application is deployed in qualification (for tests) or in production. However, when I'm ...
-2
votes
2answers
121 views

Login to TradingView using Python and Selenium

I am new in Selenium and i don't understand how how to find the way to add my email and password to trading view. I have tried the example shown to connect to facebook and worked fine, but in ...
1
vote
2answers
46 views

Check that an element does not exist *after* a button is clicked

With ruby, I'm doing some cucumber tests with capybara to test a Shiny application (shiny is a R package to do web applications). But I'm a newbie with ruby and cucumber (and this is my first post ...
0
votes
1answer
59 views

Odd behavior noticed during UI tests with Selenium

I want to ask you about the odd behavior I noticed when running multiple tests, using Visual studio, Selenium web-driver and Chrome browser. I have all the tests written as follows: sign in to the ...
1
vote
0answers
15 views

Header isnt being sent when using faraday gem ruby

I am doing an Api automation in Ruby and I am using the Gem Faraday to automate a file upload in my API. I have the follow problem: My Header is not being sent. I just tried all the options and is ...
0
votes
0answers
14 views

AutomationElement of PropertyGrid item doesn't return ValuePattern while being set empty value

There is a WinForms application, the application is supposed to be covered by automated tests. I'm struggling with setting value to items of a PropertyGrid. I've successfully found an ...
0
votes
1answer
45 views

Count all elements with the specific resource ID on the scrollable view

Here is the question. How can I count all the elements with the resource ID body_bubble on a scrollable view ? When I use the driver.findElements (By.id ("body_bubble")).size() method, it gets only ...
1
vote
0answers
32 views

Best approach for end to end testing for integration of web, hardware and desktop in Ci/CD?

I have a very unique application that involves a web portal, USB hardware dongle license and windows executable utility that configures the hardware As a customer buy a USB dongle hardware in a web ...
0
votes
1answer
129 views

Cannot find an element with Xpath in Appium

I'm new to Appium. Sorry if the question is duplicated, but I did not find the solution. I have a problem - I cannot locate an element using Xpath, but I have no problems locating it using the ID ...
0
votes
1answer
126 views

I am getting the error “Failed to load extension from” at the start of every run

I am using Serenity framework and getting the attached error at the start of every run. If I close or accept the box then my test successfully otherwise failed. I tried to handle this in serenity.conf ...
0
votes
0answers
12 views

MAC | Automated chrome instance disappear when robot class is used

I want to open a chrome browser and then want to press tab key by robot class, not by using selenium's sendKeys but only by Robot class. Below is my code. public static void main(String[] args) ...
1
vote
3answers
171 views

How can I measure how effective my testing is? What metrics should I use?

I am working as SQA and mostly do smoke testing and regression testing manually. But I think it is consuming more time and I am not certain about if it's completely tested or not.
2
votes
1answer
49 views

Integrating Protractor to Octopus deployment (CI/CD Integration)

I have a batch file with below content: %1 %2 --params.validFile=%3 --params.invalidFile=%4 I am starting it through power shell script: $path= "<filePath>\start.bat" $args= '"<filePath&...
-1
votes
3answers
135 views

Selenium automation interview preperation question [closed]

What error does this line return when I pass a URL without HTTPS or HTTP driver.get("www.google.com"); It was asked to a fresher in his interview.
2
votes
2answers
185 views

Setup of Test automation framework from scratch using NUnit and Specflow and RestSharp and selenium with Visual Studio 2017 C#

We have so many API's(5 to 8 API calls - Mostly REST based and 1 or 2 in SOAP based) and Oracle DB. We do not have any WEB UI. No UI automation.Only middle tier and backend automation. For automation ...
2
votes
2answers
775 views

How can I handle the chrome Http Authentication popup window in selenium without AutoIT?

I have tried https://{USERNAME}:{PASSWORD}@xyz.com pattern to authenticate URL but it doesn't work for me. Can someone suggest me the best way to handle chrome HTTP authentication popup?
3
votes
4answers
138 views

How to combine exploratory testing with test automation creatively?

Background :There is an definite value in automated test execution of scripted tests to find regression defects. On the other hand there is an tremendous value in exploratory testing and going beyond ...
0
votes
2answers
37 views

How to rerun failed test from where they instead of from beginning? (TestNG)

Is there any way to re run the failed testcase from the page where it got failed instead of running the testcase from beginning in Selenium Java ?
5
votes
1answer
98 views

PoM Design/Architecture questions

Apologies if this is an improper question, as it's actually a multi-part question (But it seems like unnecessary clogging of the site to make multiple posts). Im writing my first PoM framework, it's ...
-1
votes
1answer
33 views

How to test the difference between fastjson and gson in serialization and deserialization [closed]

The project uses Gson to replace Fastjson. These two packages have some differences in serialization and deserialization. As a software test engineer, how do I perform regression testing?

1 2 3 4 5 63