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
26 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 ...
1
vote
0answers
15 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
39 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 (...
-2
votes
0answers
14 views

Selenium code for functionality testing [closed]

How to write selenium code to navigate to 3rd page which contains list of book names and click on 3rd book in 3rd page
0
votes
2answers
52 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
votes
0answers
26 views

End to End test projects for GraphQL

My team is developing a GraphQL api right now, so ive been researching testing. I've noticed there's a lot of documentation about unit tests and integration tests but almost nothing for end to end ...
1
vote
1answer
55 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 ...
3
votes
4answers
510 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
1
vote
2answers
76 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
34 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
43 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
24 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
41 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
30 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
23 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 ...
0
votes
1answer
16 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
39 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
39 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
50 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
8 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
12 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
40 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
28 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
25 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
38 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
11 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) ...
0
votes
1answer
84 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
0answers
54 views

Assert Fails Though Text Values available in that XPath

I'm working in selenium with c# Assert is not working though xpath is given correctly. xpath shows only one item. It was working correctly quite sometime back. Here is my piece of code. Assert....
2
votes
1answer
31 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
114 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
52 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 ...
1
vote
2answers
86 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
132 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
33 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
74 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?
0
votes
1answer
19 views

Waiting for Masonry grid layout to be ready, before clicking button

Our app uses Masonry grid layout. After page_A opens, the tiles keep moving for a second or two. The test case is: open the page_A and click on the button which opens page_B. While clicking the ...
0
votes
3answers
103 views

Selenium Webdriver sendKeys method sending value twice

I have 6 selenium tests (TestNG) running on chrome and firefox (both up to date versions) which connect to Browser stack to run. the problem is that 1 of the test fails intermittently on Chrome as ...
1
vote
1answer
61 views

Not able to verify the downloaded file with Chrome WebDriver running headless

We are trying to verify the downloaded file in headless mode with C#, the file is downloading but not saving in the download path, so my test script is failing. Any idea for this? The code is below ...
1
vote
1answer
75 views

Invalid Session id (Connect Failure) randomly when running automated tests

I've been new to automated test creation and have been dipping my hands on it recently. Every test seems to be running successfully individually except whenever I run them all together sequentially, ...
0
votes
1answer
39 views

Does the test and test tooling differ from Magento to other test tools or solutions?

I am on my way to one of my next Magento projects. Currently there is no test environment, no test days, no concepts or test plans. Even a team has to be set up first. I have already worked a lot in ...
1
vote
1answer
36 views

Is there a way where we can call methods from .so file directly in robot framework?

I have a c++ code which upon build gives me .so file. I want to use the methods from that .so file into my robot framework. Any suggestions please.
0
votes
0answers
44 views

Need Suggestions: Setting up QA software automation for autonomous vehicles

I need some inputs how to setup QA software automation infrastructure for testing the build programs for autonomous vehicles. The idea is to bring in automation frameworks to validate modules, ...
0
votes
4answers
70 views

What is the best way to learn Selenium Webdriver or any Automation tool in general? [closed]

I have purchased a Selenium automation course and practice sometimes as per the code shown in the lecture. But, i am going very slow and circling in basic topics like dropdowns, select tag, waits etc. ...
1
vote
1answer
36 views

Having trouble automating Android testing with Appium

I'm trying to automate Android testing using Appium. What I want to do is like: My Test Suite: Test case 1: Starting from Activity A Do something Test case 2: Starting from Activity A Do something ...
0
votes
1answer
82 views

Selenium TestNG - java.lang.NullPointerException in automation testing

I am trying to test the login function to my android app. But it displays an exception error java.lang.NullPointerException. Code as follows: package tests; import java.io.IOException; import java....
1
vote
3answers
57 views

What is the use of Maven in Selenium WebDriver Automation Project?

Do we use Maven only to create dependencies in pom.xml file? Isn't there any other use of Maven in selenium project?
0
votes
1answer
30 views

How to generate Excel test report from Appium with mocha chai?

I would like to generate a simple test report in Excel. My automation is using Appium with chai mocha, and successfully reports the results of my 2 test cases to the command line. How can I send ...
2
votes
2answers
68 views

Is paid Apple Developer Account needed to run Selenium Appium Automation tests on real apple devices like iPhone or iPads?

So I am working on a project which comprises of the software web application, built on Python 3.7. Currently, it supports pc and mac platforms only with various browsers, and we have automated it ...