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.

-1
votes
1answer
8 views

How to get XPath for the text after the <b> tags

I Need to get XPath for the following, to get the text after the <b> tags <li class="SpacedOut"> <b>Name 6:</b> "ABC" <b>Name 1:</b> "BCD" <b>Name ...
-1
votes
1answer
10 views

Should you test regression tests or just verify/check?

When conducting regression tests, the goal is to find out if the new release affects existing functionalities of the application. Is it enough just to check/verify the application or should one test ...
2
votes
3answers
30 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 ...
0
votes
1answer
14 views

TestNG with multiple datadriven

My code structure logic is this: I have to fill three sequential forms to add a entry in a list whose data is from Excel. I need each form to have entries from different Excel sheet, i.e first form's ...
0
votes
0answers
21 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 ...
0
votes
1answer
34 views

How I can calculate the sum of items that are stored in main Id and then sub_id in that main Id

Look at the image here you can see the Dom that how its showing one main div with ID and then item are there in that div. I have to calculate all the items on a page that are shown to user. These ...
2
votes
1answer
85 views

Is it really possible to be a Full-Stack QA & if yes then list the technical skills required?

Everyone needs an all-rounder whether it is a software developer or Tester these days. Hence we are hearing the term “Full Stack QA” these days so my question is what skill-set makes a Full Stack QA &...
-1
votes
1answer
21 views

Automating Schema Validation on Page Source / Java+Selenium WebDriver+Serenity [on hold]

I do schema validations on source page a lot. I need to automate it now for my team. Does anyone have an idea how to do it? Should I use 3rd party tools for that or is there anyway to do directly in ...
0
votes
0answers
20 views
-1
votes
2answers
35 views

Either its possible to get and show a value from front end in selenium Java. If so, then how I can do this

I am testing a website and I need to perform some action on the basis of Price. It is showing price in Remaining Budget. I want to check the remaining budget and then on the basis of it want to ...
0
votes
0answers
8 views

Python script to Connect to remote mongoDB using ssh-tunnel and pymongo client is failing with errors

I tried passing the username and password of ssh in ssh tunnel server, and the mongodb credentials in the client, but getting an error stating: pymongo.errors.ServerSelectionTimeoutError: 127.0.0.1:...
-1
votes
0answers
27 views

How to read elements in gridview with multiple div by selenium

I am new to automation. I have some xpath: //*[@id="1558256562137-grid-container"]/div[2]/div/div[1]/div/div/div[9]/div[1]/button[2] //*[@id="1558256562137-grid-container"]/div[2]/div/div[2]/div/...
0
votes
1answer
49 views

Selenium WebDriver “Cannot instantiate class ” error is coming

Below is my Base Class: package com.mercury.qa.base; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Properties; import java.util....
-1
votes
1answer
35 views

How can I close alert message by enter action through keyboard?

I'm looking for a different way to close an alert message other than accept() or dismiss() methods. How can I close an alert message by entering action through the keyboard?
1
vote
1answer
23 views

Getting Error at the time of saving the test cases in Katalon Studio

Getting the below error when I save my test cases after recording. Can someone help me to understand and how to correct this
0
votes
1answer
26 views

Can cucumber tag a single step?

The application that I'm testing receives input from an outside sensor, but sensor data is unavailable on the test environment. Therefore, I use mock data. The problem is, mock data requires some more ...
0
votes
1answer
27 views

Capture arguments of onclick() javascript call using Selenium Java

I am writing a selenium script in Java to capture the arguments passed in JavaScript onclick() call/method. Attached is the image in which method/function name is highlighted. Now, In this method ...
0
votes
0answers
33 views

How to remove keys from rest-assured ValidatableResponse and assert response with constant json string

In rest-assured test cases I am getting mentioned 'ValidatableResponse response' where I want to remove keys such as "updated_at", "deleted_at", "created_at" and "notice" and assert this object with ...
1
vote
0answers
20 views

Last user gets stucked and never ramps down

I am running a script on AWS Machine. I have 30 users and when i run my script last user is likely to never ramp down. Also, I have cross checked many possible solutions that were on internet which ...
0
votes
0answers
16 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 add necessary ...
1
vote
1answer
33 views

Selenium | Locate elements via custom attribute

I'm new to test automation with Selenium (Python) and just wondering if it makes sense to locate elements on webpages via a custom attribute? In some places the IDs of the elements are generated and ...
0
votes
2answers
85 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 ...
0
votes
1answer
27 views

Why can't resolve NaN in Selenium script?

I have recorded some functions using Selenium IDE and exported test into java file. I have used "wait for element visible" condition when performing action in order to assert a notification. ...
2
votes
2answers
55 views

if/else condition is not working as expected

WebElement radio= driver.findElement(By.xpath("//[@id=\"mydiv\"]/form/div[1]/div[3]/label")); if (radio.isSelected()){ Thread.sleep(2000); driver.findElement(By.xpath("//*[@id=\"mydiv\"]/form/...
-2
votes
0answers
39 views

How to Automate with selenium (payroll cloud based application) [closed]

I'm new to the payroll application,is there any one who automated payroll application i would like ask that how to start up automation regarding selenium(java) .So what are the proceedings to be taken ...
1
vote
2answers
55 views

How do you ensure the quality of the design when the design is “by doing”?

I am convinced that an incremental design can be good. But if in the beginning a bad design is chosen and the subsequent steps are always based on it, in my opinion it can also run very badly. So ...
0
votes
1answer
22 views

Verify and Assert functions does not work as expected in Selenium IDE?

I'm using Selenium IDE to record steps. Web system has developed using Angular.js I tried to use verify text and assert text functions through IDE. For target elements, xpath is given. Same xpath is ...
-2
votes
0answers
23 views

How to check that field is drop down or a text field. First find that filed by id or class then want to send data into that field [duplicate]

issue is that i have some custom fields and you are not sure that how many field may be there. Secondly your are not sure that field is drop down or text field. Third one is that a field may b ...
-2
votes
1answer
27 views

Is it possible to setup a Allure reporting server? [closed]

we have various teams across our business unit. I need to consolidate the test results across the teams and display for Business unit leads. So we were thinking allocate a AWS S3 storage location and ...
0
votes
0answers
43 views

Code can't be executed after running click method

After being run click function , i don't know why but the next sendKeys function can't be executed. eclipse is getting stuck and after a while, i'm facing with "timeout waiting for page to load" error....
-1
votes
0answers
21 views

How to add jasmine framework to work along with maven project using Intellij Idea?

I am creating a project using maven and Intellij Idea. Using a windows operating system. I wan to add jasmine framework to start my project. So far I have tried several tutorials and stuck....
-1
votes
1answer
19 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}]}
0
votes
1answer
24 views

How to extract sessionKey from below response in Jmeter [closed]

How to extract sessionKey from the below response using Jmeter? <iframe frameborder="0" scrolling="no" src="https://hpc.uat.freedompay.com/api/v1.2/controls?sessionKey=...
6
votes
4answers
226 views

How to further expand knowledge in Software QA?

I recently passed the ISTQB Foundation Level exam and even though I did pretty well in the exam I have the feeling that I haven’t learned much at all except maybe some basic concepts and a few ...
1
vote
2answers
35 views

How to select element by class when multiple elements match?

If I select flight departure time with class name through selenium in python but class name is used by both div & span tags it fails. How can I select only one element type (div) and not sdpans. ...
0
votes
1answer
25 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
1answer
38 views

Getting 'java.lang.NullPointerException' on executing test Cases

import org.openqa.selenium.WebDriver; import org.testng.Assert; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations....
0
votes
0answers
21 views

How to identify the fields and their values in the listview screen which are inside a recyclerView

I am automating a Mobile screen where I have the details of a particular transaction, in which I have fields(fieldnames like card number, transaction date, Transaction ID., etc.) and the subsequent ...
0
votes
0answers
32 views

I'm facing with “timed out waiting for page to load” error although screen is already loaded

After pressing search button by typing number, a table including just one row related to data that i searched is being displayed on same page and i have to press in the another button which is located ...
0
votes
1answer
41 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 ...
1
vote
1answer
46 views

I get find element error when I try to click on footer part whole link

My coding logic: List<WebElement> getelement = driver .findElements(By.xpath("//*[@class='footer__content']//a[@class='footer-nav__link']")); WebDriverWait wait=new ...
8
votes
4answers
620 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 ...
0
votes
0answers
48 views

getting null pointer exception for different step definition files with cucumber and selenium

Browser utility: package com.gmsr.utility; import java.util.concurrent.TimeUnit; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class BrowserUtility { ...
0
votes
1answer
30 views

Is it necessary to write test cases for different test levels?

When creating test cases after unit testing(done by developers) QA team starts working on component testing. For component testing level there will be test cases written by the QA's When it ...
0
votes
2answers
38 views

How to Automate using selenium Java if data is there in divs and changes every time

just as in the above image there is use of divs and every time the data (image) in that div changes. You are not even sure that how many divs will be therewith respect to row and columns. Kindly ...
0
votes
0answers
10 views

Jython or Groovy script: Check if a cookie has already been closed

Currently I have the following problem. I use a test framework (QfS) which offers the possibility to execute scripts via Groovy or Jython. Description: I've automated the history that I can close ...
0
votes
0answers
10 views

Error while running automated scripts in robot framework

'pybot' is not recognized as an internal or external command I am installing Python, Pip, Robot Framework and its all needed libraries and its working fine. 1) Python, Pip & Robot Framework all ...
0
votes
0answers
52 views

I am unable to execute selenium code as my browser is quitting by showing null pointer exception

[System] initializing MQSeleniumFW [System] validation Status : false [System initilaizing Logging properties] MQFWToolInstance: 2386190563904 [System Logging properties successfully initilaized] [...
1
vote
0answers
28 views

Testing partial deployment to the Blue/Green slots?

My application under test is a legacy system, being in the process of rewriting towards the modular microservice way, however the modules are not completely independent and make all sorts of calls to ...
3
votes
3answers
71 views

How to automate a test case which requires an overnight batch job to run?

The test scenario goes like this - Change a value in config -> A job will execute at midnight -> config change will be update in system -> Verify that new config value is reflected. Now how to wait ...