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 votes
3 answers
3k views

AttributeError: 'TestOne' object has no attribute 'driver'

When I run my script it gives me this error, CONSOLE ERROR : "C:\Users\LENOVO L540\PycharmProjects\easyNeasypytest\venv\Scripts\python.exe" "C:\Program Files\JetBrains\PyCharm Community ...
user avatar
1 vote
2 answers
315 views

How to automatically execute failed testing cases on Jenkins using extent report

I'm looking for a solution to execute failed test cases automatically on Jenkins. I'm currently running test cases through pom.xml which points to testng.xml I'm using extent reports to capture and ...
user avatar
0 votes
3 answers
88 views

Which test automation factor is effective? [closed]

Details: We had a discussion on this very topic in our team today, some brought in a factor of 30% which I also know, but I am of the opinion that a much higher automation factor should always be ...
user avatar
  • 1,173
-2 votes
1 answer
202 views

Cannot invoke “pageObject.loginPage.enter_username(String)” because “this.LoginPage” is null

I'm automating a simple login test project with cucumber + maven + testng. I can't write username and password in login page I can't login https://www.lambdatest.com/automation-demos/ website. Where ...
user avatar
1 vote
2 answers
43 views

How to verify the presence of a script on multiple web pages?

I have a set of web pages where I need to verify that a certain script is present. A have a lot of pages to verify so I would like to automate this part of testing. How can a create a sequence with ...
user avatar
  • 562
0 votes
2 answers
3k views

Unable to import "ExtentHtmlReporter" for the java class

I'm trying generate reports for the selenium test script. but unable import "ExtentHtmlReporter" packages to the class. added dependencies as below <dependency> <...
user avatar
  • 107
0 votes
1 answer
426 views

i want to run my selenium python script with appachi jmeter .how we integrate selenium python script in apache jmeter

import time from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support.select import Select driver = webdriver.Chrome(...
user avatar
2 votes
2 answers
113 views

How to automate look-and-feel testing in a complex web application?

My company's web application has dozens of distinct pages that a user might hit. There are site-wide stylesheets, so changing one of them could affect every single page. There are four or five ...
user avatar
1 vote
2 answers
2k views

How to handle mouseover on element in UI in selenium webdriver using javascript

I don't want to use action class as its failing for some browser. therefore I am using JS but I ended up with " arguments[0].hover is not a function" error for using arguments[0].hover(); ...
user avatar
  • 21
-1 votes
1 answer
242 views

Still Getting Element is not currently visible and so may not be interacted with Can some one pls give your inputs

I am getting the above error : Below is the xpath : String MeetingTypedropdown = "//*[@id='meetingDatesForm:meetingDatesTable_data']/tr["+(i+1)+"]/td[3]//div[3]/span"; PageUtil....
user avatar
  • 23
5 votes
3 answers
92 views

Regression/Automation testing for experimental(ABtest) features

We are using automation testing tool Cypress to perform regression testing. We make 2 releases in a week so automated regression testing is critical for us. There are some features on production which ...
user avatar
  • 61
1 vote
1 answer
51 views

How to retrieve test method status and other values in IReporter implementation

I need to retrieve test method status, actual result, expected result & other attributes in IReporter implementation. Is it possible to use ITestResult to pass required data to generateReport() ...
user avatar
  • 21
0 votes
1 answer
122 views

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button.Can some one pls guide.NeedHelp

In the screen how to navigate to the row which contains the text that needs to be Edited and then click on Edit button. Scenario: I have a screen where I need to find the row which has the value as &...
user avatar
  • 23
1 vote
3 answers
108 views

Implementation of automated workflow testing

I have doubts on how to implement test automation in the company where I am currently. I was wondering what workflow would you suggest? The project I will be working on uses, in its backend, the Java ...
user avatar
-1 votes
1 answer
932 views

What are the advantages and disadvantages of using TestProject in automating functional testing?

I'm currently checking out the testproject for the possibility of using it as a tool in our automation testing (functional). Please help me decide if it fits our project by giving me the advantages ...
user avatar
0 votes
1 answer
190 views

Tools for microservice E2E automation testing

What are currently the best or most popular tools/solutions for automated end-to-end testing of microservices (preferably with an entry-level as low as possible)? The CI/CD process is GitLab-based ...
user avatar
0 votes
1 answer
307 views

Getting java.lang.NumberFormatException: For input string: "517838839328"

PageUtil.clickOnButton(driver, AppXPathsConstants.UserAdminAddNewuser); String id ="1517838839328"; String newid = "1517838839328" + (Integer.parseInt(id.substring(1,id.length()))+...
user avatar
  • 23
0 votes
1 answer
629 views

ElementClickInterceptedException:

CONSOLE ERROR : Message: element click intercepted: Element <div class="button" data-target="false" data-id="2">..</div> is not clickable at point (937, 293)....
user avatar
1 vote
2 answers
132 views

How to select value from this dropdown list in Selenium using C# e.g. Main Feature as shown in the attached picture

Website if you want to try by your self: https://phptravels.com/ to run the script <div class="lvl-0 dropdown"> <span>Features</span> <div class="dropdown-...
user avatar
  • 11
1 vote
3 answers
778 views

Breaking a loop after resolving a promise

I am writing a program to check the health endpoint of one of our APIs. So, before starting execution, I try to hit the health endpoint 5 times. If I get the desired response code during the 5 ...
user avatar
  • 1,712
1 vote
1 answer
2k views

Python with selenium: unable to locate element which really exists

I've been trying to fill input: <input id="PASSFIELD1" class="logField" type="password" onkeyup="next(this, event);" maxlength="1" autocomplete=&...
user avatar
0 votes
2 answers
159 views

How to avoid errors occur as 'Unable to locate the element'?

Here I wanted to run this method properly when boolean values are false, but when running this method it always failed the test case saying "no such element: Unable to locate element".How ...
user avatar
0 votes
2 answers
62 views

Advices/Best practices/Validity on selenuim page object model

I have divided the system modules into several packages in eclipse. In there one java class is for one particular page and the other consists of the test cases. Apart from this, I have used the ...
user avatar
-1 votes
1 answer
190 views

How can we use WebElement.FindElement() or findElements() method on a single WebElement object, even if its a method of WebDriver interface? [closed]

I am a newbie in Selenium and Java. Now, is this code correct. How can I call findElement() or findElements() method on a single WebElement? I want to store text of td[1] node. Why are we doing ...
user avatar
  • 3
0 votes
1 answer
1k views

How to find all child elements inside a WebElement or List of WebElements in Selenium?

I have a <section> tag in which there is <tfoot> tags and many <td> tags. I want to store the 1st & 4th td elements of a in a Map, but i get index out of bounds exception. Now, ...
user avatar
  • 1
1 vote
1 answer
155 views

How to test a Java desktop application on Linux

I am a full-stack developer and recently I received a task to test a third party system that arrived here at the company. I already had experience in automating tests on the web with Cypress, Selenium,...
user avatar
4 votes
1 answer
585 views

Shall I put my e2e tests and performance test frameworks on the same repository?

I am using Cypress for my e2e tests and k6 for my performance tests. They are both in Javascript and access the same config json files (I use this for my environment variables). The folder structure ...
user avatar
  • 143
0 votes
2 answers
80 views

convert to selnium java for loop code in python selenium [closed]

System.out.println("****************Scrolled down starts****************"); Thread.sleep(2000); for (int i = 0; i < 12; i++) { JavascriptExecutor ja = (JavascriptExecutor) driver; ja....
user avatar
1 vote
2 answers
65 views

how to send the DB fetched values to frontend using selenium?

I wrote a program where values are coming from sql database.Now i want to send those values to frontend using selenium. say it is an pincode i fetched from Database but now if locate the element where ...
user avatar
0 votes
1 answer
107 views

Appium How to iterate over a listview of unknown length?

IList<AppiumWebElement> els = AppiumDriver.FindElementsByClassName("android.widget.LinearLayout"); var loc1 = els[12].Location; var target = els[1]; var loc2 = target.Location; var ...
user avatar
7 votes
2 answers
470 views

What would be the most maintainable way of defining your tests to separate them between environments (dev, test staging) using pytest?

Currently you have a large test-suite in the scale of hundreds of test cases which is getting bigger every day The requirement from the rest of the team members is simple: Let us execute tests on Dev, ...
user avatar
0 votes
2 answers
1k views

How to deal with overlay animation using selenium webdriver?

The web application I'm trying to automate test cases for uses an overlay animation every time page is refreshed or as the user navigates from one page to another. I have tried applying fluent wait ...
user avatar
  • 1
1 vote
2 answers
639 views

How to download files in folder other then the download folder using Protractor?

Using the following configuration, files are always saved in the download folder instead of the folder set for default_directory. 'capabilities': { 'browserName': 'chrome', 'chromeOptions': { ...
user avatar
3 votes
3 answers
539 views

Code coverage for Integration tests

Let's say that I have a project where most of the codebase is already covered with Unit Tests (using mocks). How many Integration Tests should I write then? The entire codebase is already covered with ...
user avatar
1 vote
1 answer
71 views

Integration tests without mocking vs. unit tests

Let's say that I have a software component A (function, class, react component, etc.) that uses three other software components B, C, D. If I try to test fully test A (without mocks!), then I would ...
user avatar
0 votes
2 answers
3k views

Selenium Download Keep and Discard Problem (.cer or xml extensions)

I am Test Automation Engineer, working with Selenium and Java. I am developing selenium automation tests but I have a problem with downloading something from the software I am working on. Chrome asks ...
user avatar
  • 1
0 votes
1 answer
51 views

What are the tools I need to run robot test every time a deployment is triggered

I'm trying to automatically trigger a robot test project which will not be run in local machine everytime there is a deployment. I need to know the tools I need to somehow execute the automation ...
user avatar
1 vote
7 answers
283 views

Should you create a manual test script before automating it?

Is it best to first create a manual test script for a newly developed feature and then automate it? and then link them up for tracking purposes? Or it's not necessary to create an automated test ...
user avatar
2 votes
2 answers
776 views

Selenium and Powershell drop down menu select

Selenium WebDriver, using Chrome and Powershell. I'm trying to choose and click the 'en' value, from the drop down of the language menu. Here is the HTML Code: <select id="language_select"...
user avatar
  • 21
2 votes
2 answers
2k views

java.lang.UnsupportedClassVersionError -CucumberJvm4SMFormatter -Java runtime Version error

My testing framework is built with Cucumber, TestNG, Java 1.8 and Maven I recently updated my IntelliJ IDE Details: IDE : IntelliJ IDEA Ultimate 2020.3 - Runtime version : 11.0.9 Cucumber is ...
user avatar
  • 31
3 votes
3 answers
210 views

In Page Object Model does all classes need to share a single driver instance?

I can create a BaseTest.java file and declare Public static WebDriver driver; in it. Then all classes can extend and use the same driver reference. Then all my test classes can use same instance. Can ...
user avatar
4 votes
4 answers
325 views

Can Testers ask for more Salary hike if they switch to Test Automation?

I was doing pure black box manual testing since 9 years. This year I took initiative and started learning automation tools like selenium, maven, TestNG, Cucumber bdd, Jenkins and contributed to ...
user avatar
6 votes
4 answers
220 views

What role does Docker play in Test Automation?

Should I learn Docker containers tool to run Selenium test automation. What's the purpose of learning it? Isn't it enough to run your automation project in Jenkins?
user avatar
  • 71
1 vote
2 answers
49 views

How to plan selenium automation of webapplication when more than 1 person is involved

We are automating a web application, 3 people are involved using different machines and using bit bucket for code integration.how can we split the work and where to start from? As we may need to reuse ...
user avatar
  • 51
1 vote
1 answer
288 views

Automated testing of Google Pub/Sub

I'm new to test automation and Google Pub/Sub. I'm developing automation scripts for regression testing. My automation framework is built with Java, Maven, Cucumber and TestNG My application is a ...
user avatar
  • 31
-1 votes
1 answer
60 views

What Test Automation skills should a Engineer posses in 2021? [closed]

I see Automation engineers learning lot of tools like jenkins, docker, cloud tools, Kubernates, git, vmware, etc. In 2021, what skills should a highly skilled Automation resource have to become a ...
user avatar
0 votes
2 answers
72 views

Will AI based test automation tools make selenium webdriver obsolete in few years? [closed]

I have a fear that in few years companies will deploy AI based robotic process test automation tools and my java selenium programming skills will become obsolete.
user avatar
  • 9
0 votes
1 answer
80 views

Python + Selenium: Using and managing old web drivers

Details Based on a browser matrix I have to test several browsers, also older ones. Example: https://www.lambdatest.com/blog/creating-browser-compatibility-matrix-for-testing-workflow/ You surely know ...
user avatar
  • 1,173
-1 votes
1 answer
435 views

How to do ETL Automation Testing using C# or Python

In my present project I m testing on reports which needs to be checked everyday manually by executing SQL queries for all columns from source tables, Dims and Facts tables and destination tables. Is ...
user avatar
0 votes
1 answer
2k views

Cucumber- Selenium Getting null pointer exception while openBrowser method

I am getting null pointer exception when selenium tries to launch the browser. I have already checked step Definition. Selenium OpenBrowser Method. Chrome browser version. ( I have driver 87.04 ...
user avatar

1
3 4
5
6 7
71