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

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.

1
vote
1answer
26 views

xpath with anchor tag and sibbling text

Need to get xpath for the following. It is not accpeting with anchor tag as I have several anchor tags with same random auto generated ID. The only difference I can pull with is text. How do I get ...
0
votes
1answer
10 views

Desktop automation of c# applications

I have a desmtop application for which I need to automate the smoke test suite consisting of 30 odd test cases. Application consists of 3 screens with some buttons amd data grid. Major work in this is ...
0
votes
1answer
46 views

Exploratory testing or SBTM in the Sprint Planning?

I would like to include SBTM in our sprint. Ask with, of course, many questions. Where is the difference to explorative testing? Is more worthwhile an explorative test with timebox? What times should ...
0
votes
2answers
39 views

Write Selenium Result output into Excel Sheet

I am having output results in console need to import in to excel any advise. for (String available : list1) { System.out.println("Available hotels: -------"+available); My results will ...
0
votes
3answers
74 views

Unable to click on Xpath element even the correct path

Unable to click on Xpath element even the correct path,tried with Webdriver wait and Javascript executor still no use. My code: driver.findElement(By.xpath(".//*[text()='Next']")).click(); Page: &...
1
vote
1answer
40 views

Selenium WebDriver: Setting date on date picker [on hold]

I am automating a web application which has multiple date pickers in them. I am sending values in them by using javascriptExecutor. IJavaScriptExecutor js = (IJavaScript)driver; string jscript = (...
2
votes
4answers
80 views

Functional testing during or after development?

I'm a newly hired junior QA engineer in a company who never had QA before. I'm writing cucumber + selenium test for multiple projects and one of them is still in active development and is evolving ...
1
vote
1answer
26 views

How to identify a specific location in returned Json through a postman test

When submitting an order to an API we get a Json response containing: "AMLResults": [ { "amlResult": [ { "addresses": [ { ...
1
vote
2answers
49 views

Loading Test - Address already in use

Good morning colleagues. I have jmeter test scenario I must run on my back-end service. If I use 1 or ~50 Threads(users) in one time there is no problem. But when I try to set more than 50 users I ...
-2
votes
2answers
71 views

Selenium WebDriver issue

I am getting: "Exception in thread "main" java.lang.Error: Unresolved compilation problem: Type mismatch: cannot convert from FirefoxDriver to WebDriver" error in the console I have added jars files ...
1
vote
0answers
21 views

Use variable in Graph Title

I wanna include count of threads in the Graph Title like this : Now, this is just text ${__threadNum}, but I want to set value depend the current Number of Threads. Is that possible ?
1
vote
1answer
39 views

Calling a test suite from another Test Suite/Test Case

As per my project requirement I need a Test Suite to be called from another Test Suite, is this anyhow possible in Katalon Studio? There is an inbuilt function for calling Test Cases but there isn't ...
0
votes
0answers
9 views

Appium 1.10.0 + iOS : Unable to accept permission alert

Team, I am facing issues to accept the permission on iOS using Appium. I have tried below options: capabilities.SetCapability("autoAcceptAlerts", true); driver.switch_to_alert() driver.findElement(...
1
vote
0answers
14 views

unknown error: cannot create temp dir for unpacking extensions when trying to start Chrome from a LOCAL_SYSTEM service

We are trying to get our automated webtests working independently of what version of Chrome we're using. These automated tests work as follows: We have a Karaf container agent running as a service; ...
0
votes
0answers
32 views

calling TIS/TSM in non-main thread environment

macOS 10.14.3 Chrome 72.0.3626.96 Chromedriver 2.46 While trying to execute following code I receive an error: import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa....
2
votes
2answers
75 views

Starting points for REST API Automation

I am new to REST API Automation. As an Automation Engineer, should I expect to get the below mentioned things as a starting point which can help me write the automation code or is it my ...
-1
votes
0answers
17 views

Permission denied to access property “__rocketLoaderProxiedHandler”

Code: package com.webdriver; import java.util.List; import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa....
1
vote
1answer
28 views

Postman - flags for different requests on different environments?

I have serviceA, serviceB, serviceC..., up to service L. I have a collection with requests for all those services. Is it possible to set somehow flags for postman runner for requests to be run on ...
0
votes
0answers
14 views

Tableau UI automation

Selenium does not recognize webelements of Tableau. Is there any tool which is successful for UI automation of Tableau ?
0
votes
1answer
32 views

Error : Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/

Team, Trying to install lib which is pre-requisite to run my automation code, observe below error : Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/...
0
votes
0answers
39 views

Looping to open links in new tabs

I want to iteratively click each item in a structure of links and open each link in a new tab. I also want to get and print the title of each tab. package basics; import java.util.Iterator; import ...
1
vote
1answer
51 views

Unable to locate element Selenium: Shopify Payment Gateway [closed]

I receive this error whenever I try to click on the Shopify credit card text field. org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"id","selector":"...
0
votes
2answers
28 views

How to find an new element recently added on webpage dynamically after drag and drop in selenium?

Currently I am working on a webpage which has rappid js components. I am trying to achieve dragging and dropping of elements from the palette as seen in the screenshot to the grid. The element I drag ...
0
votes
1answer
46 views

Use Login method before test

I use POM pattern in Selenium tests. To run tests OpCreate and OpEdit, a user should be logged in. I have positive test for Login, but how to run Login every time OpCreate and OpEdit tests are run? ...
0
votes
1answer
32 views

Find element and click on it in a complex structure

I have following structure on my web-site. //New Box <div> <div> </div> <div> <div> <div> </div> <...
1
vote
1answer
37 views

Not able to reference value of variable in Robot Framework

In Robot Framework, I want to reference the value of a variable, I had set earlier. But when I reference the value by: xpath= //*[text()=\${uid}] I do not get the value of the variable uid but ...
0
votes
1answer
24 views

How to get content of clickable element. Facing issue to read content after clicking an element

I have tried below code: if(webElement2.isDisplayed()) { webElement.explicitWaitToClickElement(4,webElement); webElement2.click(); } String tagContent = (String) ((...
0
votes
2answers
31 views

Find when iframe is closed in selenium

I am writing tests on a third party system, that utilizes iframes. I have been going through my code and eliminating places where I have been using waits/sleep for 2-5 seconds, and looking more for ...
1
vote
0answers
41 views

Running selenium tests parallel on different website using grid

We want to setup a Selenium Docker Hub Node Environment.I have successfully set it up using following: docker run -d -p 4444:4444 --net inpronet --name selenium-hub selenium/hub:3.11.0-dysprosium ...
1
vote
2answers
43 views

The xpath in selenium can not locate the path

I'm trying to add some text to a textbox in my html but the xpath cannot find the path and I don't know why. this is my code: PropertiesCollections.driver.FindElement(By.XPath("//*[@id='from0']"))....
2
votes
2answers
53 views

Testing React web application in Selenium(Java)

In my work I use Selenium(Java) to automated test. Now web application will be rewritten to React, and there's my question: Automating react application using Selenium under Java is good choice? Do ...
0
votes
2answers
39 views

Cross platform and browser automation testing on linux

I thought that docker will be able to achieve this and so I installed it on Centos 7 but found that Windows and MAC images are not available. What other opensource options I have, to run my tests ...
0
votes
0answers
28 views

Running Selenium and Headless Chrome on AWS Lambda using Python

I need to do a Proof of Concept of whether I can run Headless Chrome on AWS or not and I tried to implement the solution from the below link: Running Selenium and Headless Chrome on AWS Lambda ...
0
votes
1answer
26 views

How to get total number of tests ran based off of CSV data file?

I inherited two dozen or so java tests and when the suite is ran, everything is printed whether passing or failing. I would like to only print failures/failure logs and get a total count of tests that ...
3
votes
3answers
122 views

How to provide more value from test automation to Dev/entire team?

Working primarily as UI test automation engineer, what further steps one should take to be more valuable & useful to the Dev team. How one take automation to a level where it becomes an handy ...
0
votes
1answer
45 views

PageFactory is deprecated in C# (.NET) - what to use instead of that

I was using for a long time PageFactory (in Java). Now writing tests in .NET I found out it's deprecated. Right now I just initialize all page objects when application starts using [BeforeScenario] ...
1
vote
0answers
38 views

Is it possible to write good Code (create a good code framework) AND use Cucumber (or another Gherkin tool)?

When I look at the code Cucumber outputs, it does not seem to follow best practices (or any moderately good practices) for writing a testing framework. Question: Is there a way to use Cucumber and ...
0
votes
0answers
11 views

Unable to click an icon in react-native app using detox

This is the element prop section in the app file <Header> <Left> <Icon onPress={() => this.openDrawer()} ...
3
votes
1answer
68 views

Getting Syntax Error while launching RIDE

I have installed Robot Framework, as well as wxPython 2.8.12.1. After I installed RIDE, and launch RIDE by executing ride.py, I am getting the following error: C:\Python27\Scripts>ride.py ...
1
vote
0answers
31 views

Appium 1.10.0 + Android : Unable to accept permission alert

Team, I am facing issues to accept the permission on Android using Appium. I have tried below options: capabilities.SetCapability("autoAcceptAlerts", true); driver.switch_to_alert() driver....
1
vote
1answer
21 views

Unable to run application on IE while testing with Katalon

Tried all the solutions available on the web, tried configuring to the latest version but still the test cases fail in Katalon Studio while it is tested on Internet Explorer. The same script works ...
0
votes
1answer
57 views

UI Automation, What is ideal to automate?

So when it comes to UI Automation, there are tons of opinions if it's worth it or not. I've read over: Are Exhaustive "Brute Force" UI Tests Worth It? And I saw quite a lot of good opinions....
0
votes
2answers
52 views

How to handle multiple authentications in Selenium

Lets say for example that I have page A that prompts for HTTP Basic Auth. If correct login credentials are provided, user is redirected to another B site that has another HTTP Auth. How would you ...
0
votes
2answers
46 views

How should I design test automation project by including UI testing, DB testing and API testing components?

We are planning on revamp for an old system. Also previously we haven't done any test automation tasks too. So my plan is to start the automation project earlier for the existing system and give a ...
2
votes
1answer
94 views

Getting 'Exception in thread “main” java.lang.AbstractMethodError' in Selenium Script

This is my selenium code. After I ran this code, I am getting a java.lang.AbstractMethodError. package amazon; import io.appium.java_client.android.AndroidDriver; import java.io.File; import java....
0
votes
1answer
34 views

Behavioural Gherkin Steps requiring complex Step Definitions when Automating

I'm currently part of a team that is trying to reinforce BDD in our tests and automation. Our tests up to this point were procedural and we want to move towards behavioural steps. An example of our ...
0
votes
2answers
40 views

Automation Failures from multiple tests in one CSV file

I inherited a couple dozen automated java tests that write test result failures to individual CSV files. Instead, I'd like to write to one CSV file with separate tabs per test. I haven't found how or ...
1
vote
1answer
27 views

Cucumber Protractor tests is returning 0 scenarios

I was trying to run a sample test in cucumber protractor javascript tests. But it is returning 0 scenarios.Could someone please look into my code pasted below. sample_scenario.feature Feature: To ...
0
votes
0answers
18 views

What is the suitable automation testing tool for CRM Dynamics (365)

I am a little biased towards Selenium webdriver (with C#) when it comes to automation testing of a website. This is first time I am going to write automation test for a CRM Dynamics based web ...
1
vote
0answers
43 views

Facing Timeout issue while earlier this code was working

import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; public class Test1 { ...