Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
0answers
25 views

How can I keep this framework scalable?

I am developing an automated test suite for regression testing using Extent Reports, Selenium WebDriver and C#. The tests are confined to a single Visual Studio console app. What I have right now ...
-2
votes
0answers
22 views

Any one having idea about Bamboo Atlassian testing tool

Need help to implement testing using this tool. Does Anyone have a tutorial about it or has anyone already worked with it? Thanks
3
votes
3answers
77 views

How to catch a spinner?

Note: This is intended as a Q and A post for sharing successful strategies. Please, feel free to add more solutions! Problem background: Automating a web application Tester with limited access to ...
1
vote
1answer
25 views

How to run selenium script recorded using Selenium IDE along with jMeter?

Here are the steps I have followed so far.... 1) Recorded steps using Selenium IDE 2) Then I export it (".side" file) into a java(junit 4) file. 3) Created a maven project and added the ...
7
votes
4answers
2k views

How to validate against texts overlapping each other using selenium?

I am writing automated test cases for a company. One interesting problem is that texts on a webpage overlap each other, is there anyway to validate against this?
1
vote
2answers
1k views

How to resolve NoSuchElementException in Selenium with java?

CODE: driver.findElement(By.name("USER")).sendKeys("XYZ"); driver.findElement(By.name("PASSWORD")).sendKeys("abc"); I have tried various ways not just name but by xpath, css selectors but every time ...
0
votes
1answer
427 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....
0
votes
0answers
91 views

New automation leading role - How to start? [on hold]

I've been appointed lately to a "Test automation team technical lead" position. This is my first leading role. I have automation experience. The team has 4 QA engineers, most of them has basic Java ...
1
vote
1answer
58 views

How to split a variable in Selenium IDE?

I am quite new to Selenium IDE. I want to split an error message and extract the first word of the error message. I have used the following commands as in the image. Following are the results of the ...
0
votes
1answer
41 views

What is shift left concept means in AGILE?

What is shift left concept means in AGILE? What is agile and shift left concept? How to use it in a software development life cycle
23
votes
7answers
9k views

Mobile automation: Boss wants 100% coverage. How feasible is that?

Just started a new mobile automation role using react native for iOS. I'm not new to automation, but I am new to React Native (with detox and jest). The learning curve is slow, but we are getting ...
5
votes
3answers
85 views

Automation tools able to trigger an action after detecting a sound

I have a system that at certain point makes a sound like a "beep". When that sound comes we need to perform an action, but we do not know at what time the "beep" will occur. We want to capture the ...
14
votes
4answers
11k views

Moving from Selenium to Protractor

I have been using Selenium/Java/Maven for functional automation testing in my project. But since angular is getting a lot of popularity, the development team has started using it for the development ...
0
votes
2answers
127 views

How to perform click on an element using selenium for which I am getting staleState Exception

Problem: There are couple of radio buttons with the same ID and I need to perform click on these. The first radio button gets the click where the second one is getting StaleElementReferenceException. ...
0
votes
0answers
12 views

Fuzzing QNX filesystem using AFL

I am trying to fuzz QNX filesystem using AFL. Can someone please suggest how to fuzz QNX filesystem? One of the possibilities that I thought was to mount the QNX 4 filesystem on Ubuntu and then run C ...
0
votes
2answers
2k views

How to select options values in Nightmare js

I am using Nightmare to doing some screen caps on a site. This below is a small dropdown in a site with many different option values. Note that this is Nightmare and not in Phantomjs. Although same ...
0
votes
3answers
328 views

Getting error : NoSuchElementException - Unable to locate element with ID attribute

I am running this code: from selenium import webdriver from `selenium.webdriver.firefox.options` import Options Setup: options = Options() options.add_argument("--headless") def get_results(...
-1
votes
4answers
4k views

Button won't click even though I can see it's taking me to the button when doing automation

My code which takes me to the button and highlights it (I'm running java scripts within Eclipse) driver.findElement(By.xpath("//button[contains(text(),'Save')]")).click(); My HTML code <button ...
2
votes
1answer
53 views

How to test Oracle DB?

I have to test using SQL in Oracle if the data stored in the DB is completely correct or not. For example, make sure we are up to date, no future dates, no invalid characters on varchar columns, etc. ...
0
votes
1answer
30 views

Why element locators are not suggested in visual studio code for protractor?

I don't get suggestions for "element(by." element locators in visual studio code. Im using protractor. I have changed the settings file also. Settings.js { "editor.quickSuggestions": { "...
1
vote
2answers
112 views

How to Clear a Non-Visible Textbox

On my page there is an editor that a user can type code into. It is not a normal textarea or input field. To send test to the field I use the following and it works: Actions actions = new Actions(...
0
votes
1answer
37 views

Why tests fail when run in eclipse after creating through selenium IDE?

I have created many tests using Selenium IDE and exported into java files in order to run in eclipse. All tests work properly in Selenium IDE but when I run in eclipse(java file) it creates following ...
-1
votes
0answers
24 views

How to print multiple variable together using selenium web driver

I want to print multiple variable data together. This is my code package com.WS_Test_Case; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; ...
0
votes
1answer
22 views

How to fix “Cannot find module” error and “Error: ReferenceError: Element is not defined” in protractor?

I have created a test project using page object model. When I run, it creates "Cannot find module" error. I have tried several answers but didn't work. Here is my code Config.js exports....
3
votes
6answers
43k views

How to switch from one tab to another tab in chrome

Please help how to switch from one tab to another tab in chrome and to change focus on child tab.
0
votes
1answer
43 views

Unable to execute single tc, login then run other application features, right now its running as a suite

I have to execute my test cases as a single as well as a suite, right now its running as a suite but not as a single test case in selenium webdriver: Below is my test which are calling methods present ...
0
votes
0answers
15 views

Appium: How to resolve Class cast exception for iOS driver? “java.lang.ClassCastException”

I referred to one of the answers posted in this forum and when I attempted to run following code NetworkConnection mobileDriver = (NetworkConnection) appiumDriver; if (mobileDriver....
0
votes
1answer
42 views

How to click a expand button if ID is randomly generated

I have a problem how to click a desired expand button if ID is randomly generated. This means that the ID has another value after refresh page. Of course, the ID has another value for each row. I don'...
3
votes
1answer
84 views

Is it okay to use UI automation code in API automation tests?

Say that I am testing a GET api. The get api fetches data which is stored due to user actions on a web UI. The data cannot be setup by simply looking at the network inspector calls for these actions ...
0
votes
2answers
46 views

How to write an xpath for a specific text from a whole attribute?

So the problem statement is: I need to store a specific number(marked in RED) from the attribute & for that I want to point to that number in an xPath. Is that possible?
10
votes
5answers
8k views

AI Driven Testing (AI-DT) open source tools

I am new to AI Driven Testing (AI-DT). I've explored few tools like testim.io, endtest.io. Is any other open source tools are there to achieve this?
0
votes
3answers
42 views

Element present in driver.getPageSource() but getting NoSuchElement Exception in Selenium with java

Hi I am working on automation -selenium with java. I need to click on a button which is inside a modal popup and the whole is inside an iframe. I tried the following code: driver.switchTo().frame(2); ...
-2
votes
1answer
30 views

How to Extract PaymentKeys from below response in Jmeter

{"PaymentKeys":["2d34b3b2-ae35-4778-965c-6eb71421f32f", "82ba494b-7eb9-458a-914c-6542e73e0e22"],"Attributes": [{"Key":"CardIssuer","Value":"Unknown"}, {"Key":"MaskedCardNumber","Value":null}]}
1
vote
5answers
287 views

I am not able to click on Google Search Button

This is the HTML source of the button: <input value="Google Search" aria-label="Google Search" name="btnK" type="submit"> This is my code: import org.openqa.selenium.By; import org.openqa....
7
votes
4answers
4k views

Selenium2 assert questions

I've recently started converting my automation suites from WatiN to Selenium2. In both cases, I've been using C#. Although these may seem like simple questions, I've been searching for answers for ...
0
votes
0answers
23 views

Code is not being executed once being tried to come back to parent window

My test case is about opening the child window by pressing the button located on main window and closing the child one and after that, i have to press another button which is in parent window but i ...
20
votes
8answers
3k views

Is it realistic to try to hire someone who is a developer and a tester?

I've been trying to hire a tester for a few months without success. I really want to find someone who is both a tester and a developer, not because I want them to do two roles, but because the kind of ...
0
votes
1answer
37 views

Handling the case when users get different main pages based on usertype after login

It's more like a theoretical question and I am seeking the best practice here. Given an application where you have different user types, newly registered users get a new UI while old users are ...
3
votes
3answers
2k views

How to test electron app using selenium

In order to test an electron application. How does one use selenium to identify its elements or using F12 dev tools? As in order to write a selenium script one would have to identify the elements ...
0
votes
1answer
30 views

Selenium Webdriver fails to load browser through WebDriverManager

We can run our tests in different browsers in selenium Webdriver, previously we need to executable files to run our test in any browser. But now we can achieve without using exe files & with the ...
0
votes
2answers
84 views

Setting up an API Test Framework

I'm testing an API and I'm looking to define my payload using classes so that my program can then deserialize/serialize into any format(namely XML in my case). Below is an example of the payload <...
0
votes
1answer
42 views

How to Automate the fields that are text and drop downs. You are not sure that how may fields will be and of which type (text/drop down.)

here situation is like that admin set the Specified fields for front end user and its upon admin that how many fields he set for user. One thing is that he can only create 2 types of fields either ...
0
votes
2answers
323 views

How to maximize browser window irrespective of windows versions

I have some scripts which are running on Firefox browser. Here the problem was I am using driver.manage().window().maximize(); code to maximize the browser. It is perfectly working fine with Windows 7 ...
0
votes
2answers
119 views

Interview Preparation

How can prepare for quality automation analyst (1 yr exp) interview? Actually this is the final round. They've said like there will be a technical discussion and soft skills with the QA lead and ...
8
votes
4answers
650 views

What to do when QA team has no test case documentation?

I just started working as a QA Automation Engineer to a certain company which provides ERP and CRM services. However, I recently discovered that they have no test case documentation for the testing ...
1
vote
2answers
39 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
votes
0answers
12 views

UFT Examination by Micro Focus

I’ve been working with Unified Functional Testing for half a year on two different projects, and recently received an offer from my employer to pass the exam by Micro Focus . Looking for advices from ...
-3
votes
0answers
23 views

How to Test the Live Tracking Application/Software [duplicate]

In my application, there is one module related to the live tracking system and I did not test before. Is anyone having an experience on how to test the LIVE TRACKING SYSTEM? Please provide some ...
1
vote
2answers
1k views

How to test and automate APIs implemented in GraphQL

In our company, we are creating APIs using 'GraphQL' I want to test and automate this API for CI/CD. I have tried 'REST assured' but it doesn't have proper support for 'GraphQL' queries yet, please ...
1
vote
1answer
58 views

How to handle SSL certificates in chrome using Selenium?

I am trying to post something on facebook using selenium. But after successfully logged in, i am getting SSL certificate to allow or block the notification of Facebook. I am not aware how to handle ...