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.

3
votes
3answers
39 views

How to run automated tests after each commit?

In my last job as a software tester, we had a system, built by CEO long before I even joined the company, to run all the automated tests after each commit. So hundreds of tests been run all the time ...
0
votes
2answers
28 views

Unable to find element with css selector == input[name='username']

WebElement username = driver.findElement(By.cssSelector("input[name='username']")); The statement mentioned above was working before but right now concerned element can't be captured and error ...
0
votes
1answer
29 views

How to verify the page source before and after refreshing [on hold]

How to verify the page source before and after refreshing and how to print the both the page sources
-1
votes
0answers
23 views

how to verify whether the page is refreshed or not on clicking the check box

In my case, There is a filter on left side ,where i can select the filters using the checkbox. Now i want to verify on selecting the check box, The right side section is refreshed or not.. Note : The ...
0
votes
2answers
25 views

Continuous Integration Selenium Webdriver with Azure

I have created a Selenium Webdriver C# script for login module of my app and it's running on my local machine. Now the things is What is continuous integration. As per my knowledge we can build, ...
0
votes
1answer
27 views

Java Null pointer exception when trying to click on an element that is present in a block and becomes visible when another element is clicked

I am trying to click on an element which is present in a block and the block itself becomes visible when another element "Your Trips" is clicked on. I am able to find the element and click on Your ...
-1
votes
0answers
13 views

How to fetch the count by 'value' from a text file in Data driven testing? [on hold]

I have a text file to be uploaded and I need to assert the count by 'value' from that test data with response.
0
votes
3answers
26 views

should tests be run on the same machine/server the website being tested is located on? Selenium testing

Are there any rules or articles which discuss where tests should ideally be run? Specifically smoke tests. Smoke tests should run quickly after someone checks in new code. If you are looking for fast ...
-1
votes
0answers
22 views

How to do java scripting in katalon studio? Is it available for Groovy only?

How to Java scripting Katalon studio? Is it available for Groovy only? I referred Katalon doc. but in there also use Groovy
5
votes
4answers
227 views

Communication vs. Technical skills ,how to choose in a given hiring QA position?

Context: As been involved in QA hiring positions from last couple of years in different companies, I have been seeing the trend as QA is getting more and more technical.Now it is reaching to a point ...
-1
votes
1answer
19 views

Mac + PyCharm + Python 2.7: ImportError: No module named appium

I just changed PyCharm application from Professional to community and in my v first run I am getting below error. Prior this all tests was working correctly as expected: ImportError while importing ...
-1
votes
0answers
25 views

How to automate a payment transaction in online POS?

I want to test a payment solution which include merchants, customers and vendors.There is multiple transactions between users.I am new to new to automation so i suggest a better tool to test this ...
-1
votes
0answers
26 views

Wifi settings for app in any farm

I'm testing an app that uses an intranet to connect to databases, and resources. We would like to use some farm devices, but their devices should be connected to our intranet. (It also a security ...
-1
votes
0answers
20 views

What should I watch out for when testing barrier-free web projects on European Standards BIT? [duplicate]

For me, the test of barrier-free applications is really very new. In 20 years I have always tested everything possible, of course also screen magnifiers and other aids. In my current project, however, ...
0
votes
0answers
16 views

Jenkins : ERROR: SEVERE ERROR occurs org.jenkinsci.lib.envinject.EnvInjectException: java.io.IOException: Unable to find the login form

I am trying to integrate 3rd party build aws for Automation using Jenkins [version - 2.73.3] I observe below error: ERROR: SEVERE ERROR occurs org.jenkinsci.lib.envinject.EnvInjectException: java....
0
votes
1answer
64 views

“org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally” issue on jenkins(openshift) chrome node

I've been trying to run selenium codes over Jenkins (server/openshift). There is chrome node in the jenkins machine for Test Automation - Selenium. I'm getting this error: org.openqa.selenium....
4
votes
4answers
123 views

Do we need to add automation coverage for customer bugs?

As currently, we are having coverage for P1 test cases for an end to end scenarios. We are following the test pyramid strategy. But now we are planning to cover the customer bugs. So just want to know ...
-1
votes
1answer
27 views

Security Testing for brute force attacks on login page

I want to perform testing for brute force attacks on login page of a website. I am new to security testing and I think i can test this by multiple failed login attempts. I wrote the below code to test ...
0
votes
1answer
34 views

How do I stress test a website?

How do I stress test a website by logging in 200+ accounts at the same time? Basically I have my website deployed on AWS and I would like to make sure that it will be able to handle 200+ users load on ...
1
vote
3answers
52 views

Select element by containing text without XPath in Selenium

There is a great discussion on what makes a good Selenium locator here. It seems many testers prefer CSS to XPath for locators, for various reasons. And that goes for me, too. But, it is often ...
0
votes
1answer
27 views

Is there any possibility to open a new tab in existing window in selenium? [duplicate]

I have tried to open new tab in existing browser but it opens in new browser.
1
vote
1answer
22 views

What is needed at a minimum to have vstest.console to run using .net 4.6.1 on VS 2017

Sorry if I have asked similar questions. But I went back to basics. I created a simple application in Windows 2017. Unit Test Project (.Net Framework) in .NET 4.6.1. Just one test to see if "test="...
0
votes
1answer
27 views

How to detected truncated strings by the front end libraries?

Here's a site I've encountered. Note that the "Welcome" string is truncated. My screen isn't narrow at all: it's more than 1000px wide. The Chrome browser's inspect tool says that the "Welcome" ...
0
votes
1answer
52 views

what is the way that POF working VS POM? and why not using POF?

I looked over here where the Selenium author recommended to not use anymore Page Object Factory but to use SOLID instead. What are the reasons to use these and what is recommended to use in terms of ...
-2
votes
1answer
36 views

NullPointerException [closed]

I am testing an application using Selenium WebDriver with Java. I am using TestNG framework to develop my test cases. The issue is that I all my test method are throwing Null Pointer Exception and as ...
-2
votes
2answers
55 views

Null pointer exception catching Tool

Is there is any tool to capture all the null pointer exception in the java project? Am working in the mobile application testing, during my testing I have noticed so many null pointer exceptions which ...
-1
votes
2answers
56 views

How to interact with web elements with the same ID's?

I have three drop-downs with same ID's and want to click each of them, one by one, but it will click the same element three times. The remaining two elements are failing, but that test case is passed. ...
0
votes
4answers
83 views

Should automation code be as complex as application code?

Software project are often created as modules (in separated project folders) and communicate using services and apis to communicate between modules in order to improve flexibility and scalability. ...
1
vote
5answers
93 views

how can i apply 3 seconds wait each and every webelement in selenium?

I am trying implicit wait in my code that is not applied for each and every element. I want to want 3 sec for selecting each and every element in my scripts.
-1
votes
2answers
70 views

I was unable to locate element for login id?

ERROR MESSAGE: INFO: Detected dialect: OSS Exception in thread "main" org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"id","selector":"usr"} (...
1
vote
2answers
56 views

Using Fluent Wait When Finding List WebElements

I have a fluent wait class that works pretty well for locating my page elements, however, when I am locating elements for lists I don't appear to be using the same wait. I currently need to add ...
1
vote
4answers
65 views

Asking behavior change to allow easier testing

I'm a QA engineer (the first and only one in my workplace) and I'm trying to automatize tests using Selenium + Java. I'm working on an application where there is a calendar use to select the user ...
0
votes
1answer
24 views

Selenium-Webdriver Edge extension loading issue

I'm creating a base for automated testing of a browser extension, using typescript, selenium-webdriver (https://www.npmjs.com/package/selenium-webdriver latest version) and windows 10. The problem ...
0
votes
2answers
26 views

Can't switch control on elements of a chatbot using selenium in python

I am trying to send a message as input to chatbot to check the response but when I am trying to send a message to a chatbot, I need to click on the input box where one can enter a message. But it is ...
0
votes
0answers
23 views

Selenium execution in server

I was trying some Selenium execution in Ubuntu VDI (VMWare desktop). When I run through Maven, it executed the scripts with no issues. But it is failing when I integrated with Jenkins. I've received "...
4
votes
3answers
83 views

How to add multiple files in Selenium Web-driver using Java

In automation testing, I have successfully uploaded a single file multiple times using Selenium webDriver, but the project I'm working on now requires multiple file upload at a single time. So, my ...
0
votes
0answers
40 views

Not able to Click on the Drop down and wait for element also fail for drop down ID in IFrame with JavaScript

I am unable to click on this drop down. I tried select drop down also and javascript click also normal click also.& wait for this element become also fail. Please provide the solution for the same....
-1
votes
3answers
57 views

Getting Null pointer expections “ java.lang.NullPointerException ”

[RemoteTestNG] detected TestNG version 6.14.3 1553664942228 mozrunner::runner INFO Running command: "C:\Program Files\Mozilla Firefox\firefox.exe" "-marionette" "-foreground" "-no-remote" "-...
-1
votes
1answer
27 views

Buffer for errors in the Sprint Planning Meeting?

In a discussion with a Product Owner I had the situation that there were many bugs in the Product Backlog, but PO did not have time to prioritize them. So he wanted to set a story that is timeboxed ...
0
votes
2answers
36 views

How to locate a link using page object model after mouse over

When I hover over login text there are list of links, i need to select Infostore using Page Object model approach. I am new to Selenium could any one help. I have the outer HTML for you: <div ...
0
votes
4answers
374 views

Selenium Java :- [1553593587.996][SEVERE]: Timed out receiving message from renderer: 10.000 [1553593587.997][WARNING]: screenshot failed, retrying

I am using Selenium 3.14.0 with Java to automate my tests. Until yesterday(25Mar 2018) , everything was up and running fine.In case of any failures , screenshots were taken and embedded successfully. ...
3
votes
2answers
85 views

What is the best way to automate a system, where the XPath is not static?

I have to automate a system, which changes its ID's from time to time, and the XPath is not static. What is the best way to automate this kind of system?
0
votes
2answers
40 views

How to add row elements in selenium webdriver using java?

I have written code like this package testpk; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import java....
1
vote
4answers
91 views

What do I have to consider in an exploratory test charter?

I am currently trying to build a test charter for my exploratory test within a timebox. But what exactly should this charter contain? Session Charter: This includes a mission statement, a short ...
0
votes
2answers
55 views

How can I use selenium to get the last element in a list?

I have such a structure How does it look visually I'm trying to get the last item and click on it, but the 4th item is selected. driver.findElement(By.xpath(("//*[@id=\"page-body\"]/div/div[2]/ul[...
-3
votes
2answers
85 views

What is the best way to automate acceptance testing?

First of all: A royal road and a really correct solution to automate acceptance tests does not yet exist. I am as aware of that as many of you are aware. But is that really so? Is there no way to go? ...
0
votes
1answer
30 views

How to choose the nth element

Do not swear strongly if such a question has already been, but I searched and came across this solution: List<WebElement> list1 = (List<WebElement>) d.findElements(by.classname("item-...
3
votes
1answer
175 views

What changes for testers when they are testing in agile environments?

We know that the whole development team is responsible for the quality of the product. If only the testers test, there can be no question of shared responsibility. Of course, the testers in the team ...
2
votes
1answer
31 views

Unable to locate button in Selenium using Python

I have this HTML code: <button> class="btn btn-lg btn-primary btn-block" type="submit">Autentificare</button> input type="hidden" name="next" value="/"/ Using below locator I'm not ...
0
votes
1answer
34 views

Add XPath parameter dynamically in Selenium

Is it possible in Selenium to add an XPath parameter dynamically? I have following code: @FindBy(how = How.XPATH, using = "//div[@class='boxes']") public List<WebElement> boxes; String ...