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
1answer
107 views

From a .side file to a GitLab CI/CD pipeline step?

Is there a way to add a GitLab CI pipeline step that launches a Selenium test which is coded in a Selenium IDE file (.side) ?
-1
votes
2answers
178 views

Not able to click Logout Button eventhough able to identify the element in selenium webdriver

Environment : IE11 Webdriver/Selenium version : 3.141.59 Language : java Selenium code: driver.findElementByXPath("//span[contains(text(),'Logout')]").click();** HTML code : <span class="v-...
-1
votes
2answers
713 views

How Do I iterate through all the search results in Selenium returned by google search

My test steps are- a) go to google.com b) in the search box start typing a keyword example "IBM" c) google displays all the matching results d) Get the count of matching results in a List of strings....
0
votes
1answer
69 views

Tool which will record my browser actions and allow me to execute the recorded actions from code

I am first time trying out automated web UI testing. I just tried writing selenium python code which logs in to the website, waits till it redirects to target page and then tries to fetch certain ...
4
votes
1answer
59 views

Are there tools for Metamorphic Testing automation?

Reading about how to test a ML model, I've found the concept of "Metamorphic Testing" and this fits perfect on my project. Searching around Google I didn't find any Metamorphic Testing tools to ...
0
votes
1answer
96 views

How to run my selenium runnable jar in a different machine without driver files

I am trying to export my project as a runnable jar and run it without driver.exe files being present. I tried incorporating them with below code to make it independent but still unable to run the jar ...
0
votes
1answer
98 views

How to test SSO integration?

I am doing QA for a website, and they have recently added SSO integration for their website. How can I manually test that this SSO integration is working fine. Also I need to automate the testing ...
1
vote
1answer
52 views

Waiting for asynchronous process in system-tests

Note: I am aware that this topic is broad and maybe subjective, however, I do not know any better place to ask. If you close it, please tell me where I could ask instead. Assuming we are running a ...
1
vote
1answer
125 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 ...
1
vote
1answer
58 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
0
votes
0answers
45 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
1answer
172 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": { "...
0
votes
1answer
436 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....
0
votes
1answer
102 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....
-1
votes
1answer
63 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 ...
0
votes
1answer
48 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
2answers
54 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?
0
votes
1answer
55 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'...
0
votes
3answers
73 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); ...
1
vote
1answer
247 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 ...
1
vote
2answers
64 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 ...
0
votes
0answers
31 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 ...
4
votes
2answers
128 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
118 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
2answers
34 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 ...
4
votes
4answers
306 views

How to inspect elements on pages with 'loading' spinners?

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
34 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 ...
2
votes
1answer
1k 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
45 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 ...
5
votes
4answers
904 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
vote
0answers
87 views
-1
votes
2answers
49 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
1answer
207 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
51 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
99 views

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

Getting below error while saving test cases after recording. Can someone help me to understand and how to correct this?
0
votes
1answer
81 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
2answers
61 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 ...
1
vote
1answer
134 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
26 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 ...
1
vote
1answer
156 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 ...
1
vote
1answer
607 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
151 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
50 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
66 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
4answers
94 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
86 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
1answer
76 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
46 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....
-2
votes
1answer
33 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
40 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=...