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
1
vote
2answers
50 views

How to handle bottle necks in agile testing procedures

We have a problem in our development team, the development throughput is much higher than our QA members can test. Our test team found itself in a situation where a new feature needs to be tested ...
-1
votes
0answers
8 views

Serenity and Cucumber + SoapUI testing workflow

details Currently I changed to a new team and analyzed the current test setup. Within our processes we use Cucumber and Serenity within Jenkins Pipelines. For a complete new planning we plan to use ...
3
votes
4answers
23k views

Is there any way to continue selenium web driver script after assert fails?

I have some script which is written with selenium webdriver. Actually, I have put some assert statement in between script. When an assert statement fails my script stops execution. Is there any way ...
1
vote
1answer
66 views

Selenium's execution time increases if a web element is absent on a web page

I have a table on my web page I am trying to automation that contains x number of rows (tr)s and under each (tr), there are a varying number of (td)s. In my flow, I have to check for the existence of ...
1
vote
1answer
46 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?
1
vote
1answer
143 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 ...
1
vote
0answers
58 views
+50

Staging Environment with API Gateway Environment

Short description My current test scenario is about designing a test staging environment that is addressed via an API gateway. We chose WSO2. They already have corresponding test frameworks on board, ...
2
votes
2answers
51 views

Best approach to UI automation

Let me start with my background, Been in the industry for over a year, got the wonderful opportunity to join the team despite no prior background, loving and enjoying every moment so far actually. My ...
0
votes
2answers
23 views

Creation of a test charter within the explorative test? How should it be structured?

According to istqb foundation level, a test charter is the following: "An instruction of test objectives and possible test ideas on how to test. Test charters are often used in explorative testing. ...
0
votes
1answer
16 views

How to Handle Dynamic path in jmeter

How to handle Dynamic Request URL Path in Jmeter. This request is not recorded in Script, it dynamically appears only in Login page response where in two places.
-1
votes
1answer
20 views

How to handle web dropdown for below action method & Also How should I write reusable method for such Action?

How to create Page Object for such element with Reusable Action Method ? Methods to include: A method to select an option from list dropdown, example: selectFromList(String option)
0
votes
1answer
43 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 ...
0
votes
1answer
35 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 ...
4
votes
6answers
3k views

I am about to automate the Web API testing, how to initiate

There is a web API (RESTful) which is used by our mobile applications. Untill now we were manually testing it through mobile devices. Now, as per our client requirement, we need to automate the ...
1
vote
1answer
35 views

Check if password field displays masked characters (Selenium + Python)

I'm new to automation testing, so I have a question regarding the code that I used to execute a simple test case: "Check if password is masked". 1. Open the browser; 2. Enter the URL “http://practice....
1
vote
2answers
28 views

To use direct page URL or complete path?

My question is which approach is recommended when writing automation test for testing something like filters present on page no.3? Should I directly use url of page no.3 in my test file and test ...
0
votes
0answers
11 views

Is it possible to use methods in java library or a java project snapshot in a protractor project?

If I create database testing project using java and export to a snapshot(as a jar), can I use it in a protractor project? Hoping to use in protractor project, protractor,jasmine framework along ...
-1
votes
1answer
38 views

How correct I executed the test case?

I'm new to Automation Testing. So I have a simple test case: "Login with incorrect username and password". Steps: 1. Open the browser 2. Enter the URL “http://practice.automationtesting.in/” 3. Click ...
0
votes
2answers
44 views

How do I click on an element available in a specific row where dynamic row is added?

In the below pic, I need to click on the icon in a row which is newly added and column1 value is stored as global variables. Have used the below code, unable to find a solution. WebElement ...
-1
votes
1answer
45 views

Penetration test in a staging environment. When and how much?

We certainly all know the discussion when penetration testing makes sense. In a staging scenario, the test scenario can be interesting to use there to perform a penetration test. And, of course, also ...
4
votes
3answers
341 views

What are the steps/action plan to introduce Test Automation in a company?

My colleague and I have been given the task of Piloting Test Automation in our company. We need help deciding on the Action Plan. Some Actions we noted are as below : Design an Architecture of "...
-1
votes
0answers
20 views

What tests can a subscriber perform?

Initial situation: A somewhat tricky question. We have a staging system and test everything from development to production. Rest API test via SOapUI integration test acceptance test Load and ...
-1
votes
0answers
43 views

Testing Frameworks Confusion: Cucumber.io and Robot Frameworks

I am researching a few testing frameworks for testing non-web projects, mostly Java and C++ projects (and perhaps some Python projects). I have gotten somewhat confused about Cucumber.io and Robot ...
1
vote
1answer
840 views

C# Selenium WebDriver Foreach not working

This is my code in C# I press the delete button and open a pop up where I select the amount of deletions that I want to delete and press again on delete it will delete. PropertiesCollections....
1
vote
1answer
32 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 ...
0
votes
0answers
41 views

Cannot instantiate class tests.LoginPageTest

package tests; import java.net.MalformedURLException; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.testng.annotations.AfterTest; import org.testng....
0
votes
2answers
105 views

How Does Test Planning Differ for Manual and Automation Projects?

I am now into automation projects. So can anyone help how the test plan will differ from manual and automation projects.?
1
vote
1answer
87 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
votes
1answer
34 views

Getting Null pointer exception

I am new to Cucumber and I am trying a basic cucumber test. I am getting the below error while running the test. java.lang.NullPointerException at stepDefinitions.Test_steps....
0
votes
2answers
144 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. ...
1
vote
1answer
44 views

Is there a way to disable the logs created by the pagefactory

Could someone please let me know if there is any way we can disable the logs generated by the page factory for Chrome and Firefox I did try the below options for chrome and firefox and I had also ...
6
votes
3answers
79 views

Testing Real World Objects - Interview

I have a Junior QA interview coming up, and I was asked to learn the basics of Selenium. I have done this through free tutorials. I am fine with the Selenium concepts, but I was told I would be asked ...
0
votes
0answers
6 views

WPF / Winappdriver

My task is to automate a WPF app using appium and Winappdriver. Inspect finds the various elements but Winappdriver doesn't. It turns out that someone in another team got a similar task and had no ...
0
votes
2answers
57 views

What books or sites you recommend for learning how to create the best testing strategy for a product?

I work for a very complex and configurable product and I need to improve testing strategy for it. I dont want to deep dive into each of numerous test cases created for it before - instead I want to ...
2
votes
4answers
88 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
2answers
392 views

Learn Software Testing and Automation Testing [closed]

I have been working as Developer(Java/Grails) since 3 years, I would like to switch to Testing specially Automation testing. I would like to ask for some help. I just cannot yet decide what to refer ...
1
vote
0answers
26 views

How can i use an existing existing chrome browser instance in selenium C#

How do I use an existing chrome browser in selenium C# ? Currently I have the following but it always creates a new window SessionId sessionId = new SessionId(""); var driver = new phantomJSDriver();...
-1
votes
1answer
49 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
2answers
47 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
33 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
1answer
44 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 ...
2
votes
4answers
52k views

How to determine whether element is clickable or not? [closed]

My Question is How to check whether the element is clickable or not ?.Is there any method to chat that like isElementVisible() or IsElementPresent() and etc ... Please let me know if one is having a ...
0
votes
2answers
714 views

Testing a download link using Selenium?

I have a situation where I have to check the download link to make sure when someone clicks the link download is going to kick off and the product will be downloading, Is there anyway that we can do ...
0
votes
2answers
34 views

Output Contents of an Element?

I am currently creating a tool. That will login into my Krispy Kreme account and then output my saved address. I am currently at the stage where I have managed to use the tool and : log into the ...
0
votes
2answers
62 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 ...
0
votes
6answers
84 views

Best websites to do automation testing [duplicate]

I know this is more of a general question, I would like to get some details on the websites that I could use to do automation testing for learning purpose. I'm looking to a website which have ...
-3
votes
2answers
36 views

Is it possible to automate IE webpage dialog in selenium

F12 is not working on webpage dialog, tried to change the settings of IE with no luck. Dont want to use AutoIT.
0
votes
0answers
13 views

Unable to set proxy with BrowserMobProxy while modifying http header request in Selenium with Java

I am able to modify http request header using BrowserMobProxy, the same way explained https://sqa.stackexchange.com/a/37318/9043 But, the problem I am having at the moment is, that I am executing my ...
1
vote
3answers
149 views

How to Automate UI, API, Performance & Security testing using a single Framework?

How to Automate UI, API, Performance & Security testing using a single Framework. One test case should check all these things. Any Suggestions.
0
votes
1answer
39 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 ...