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
13 views

How to log testing results to xlsx (Excel) file with Selenium WebDriver?

I have a certain test automation script written in Java with Selenium WebDriver. Currently, I log the testing results to the console and manually copy them to the required document. Is there a way I ...
-1
votes
0answers
9 views

Is it possible to open a mobile browser with Selenium WebDriver?

I know it is possible to open a desktop web browser with Selenium WeDriver. The following lines written in Java allows doing so: WebDriver webDriverChrome = new ChromeDriver(); webDriverChrome.get(...
-1
votes
0answers
9 views

How to go through all pages at a certain domain with Selenium WebDriver?

I need to verify a certain thing on multiple pages on a certain site. The thing is it is quite tedious to manually add links to each page for testing to a script. Is there a way the Selenium WebDriver ...
-5
votes
0answers
16 views

Why is test automation the way for value-added resellers to go? [closed]

Building a high-quality software or product demands a delicate balance between the development and QA process, release schedules, time to market, and your budget. Automation can help you accomplish ...
0
votes
0answers
6 views

How can I check the error in the incoming alert message in Android mobile test?

I'm running an Android mobile test with C#. The transaction I want to do is a linked transaction and I want to have it checked. After I press the Continue button, I get an alert message. I want to ...
-1
votes
0answers
24 views

How to sell Test Automation services? [closed]

I have enough experience in QA and now I am trying to create a small company (Quality Assurance) or at least try as a freelancer and I have a main question. How can I find clients and sell test ...
-1
votes
1answer
20 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 ...
-2
votes
0answers
22 views

How can I connect to the opened page that comes after the login page? [closed]

enter image description here Hello everyone. Im testing this site https://www.lambdatest.com/automation-demos/. I am successfully logging in. The address of the page opened afterwards is still the ...
-1
votes
0answers
11 views

Dropdown is not clicking but works when it is selected in another order and if done that way save is not clickable [closed]

My Issue: Edit Window: I have 3 fields and all the 3 are a dropdown list. There are 2 fields Field A and Field B which are one below the other and then third field Field C is in the right side. There ...
-1
votes
1answer
11 views

By default Cucumber is running in --non-strict mode

Error: евр. 17, 2021 2:37:02 PM io.cucumber.junit.Cucumber <init> WARNING: By default Cucumber is running in --non-strict mode. This default will change to --strict and --non-strict will be ...
0
votes
1answer
23 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 ...
0
votes
3answers
60 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 ...
-2
votes
1answer
16 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 ...
0
votes
0answers
7 views

Testing a mock UNIX project with MC-DC coverage

I’m currently on a UNIX mock shell project involving writing and testing implemented commands such as ls and grep. This is part of a testing module in my university, and is written in Java.. I’m ...
1
vote
2answers
31 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 ...
0
votes
2answers
16 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> <...
0
votes
1answer
25 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(...
1
vote
2answers
26 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 ...
0
votes
1answer
31 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(); ...
-1
votes
1answer
27 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....
3
votes
3answers
59 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 ...
0
votes
1answer
20 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() ...
0
votes
0answers
18 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 &...
1
vote
3answers
66 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 ...
0
votes
0answers
21 views

Retrieving cookies from a file in selenium webdriver

This is the code which I am using for the retrieve the cookies while logging to the system. In this code shows error as "The constructor Boolean(String) is deprecated since version 9" and ...
-2
votes
0answers
28 views

I need to create a script to enter unique property name every time I run the script

I need to create a script to enter unique property name every time I run the script. I cannot use the UUID.randomUUID().toString() as I need to enter not more than 6 characters. I can enter the value ...
0
votes
0answers
10 views

Looking for a solution for automated tests for a 3rd party web application (where my product integrates in the background)

My product integrates with 3rd party websites. It does this on the backend level, not affecting the original UI in any way. I'm looking for a solution to test that simple user actions are unaffected; ...
-1
votes
1answer
27 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 ...
0
votes
1answer
68 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 ...
0
votes
1answer
19 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()))+...
0
votes
1answer
23 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)....
0
votes
2answers
41 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-...
0
votes
2answers
54 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 ...
0
votes
1answer
34 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=&...
0
votes
0answers
17 views

How can I identify each text box without any label using Sikuli GUI automation?

Anyone please help me to solve this, i using the latest Sikuli. I have read the documentation but yet I still stuck with this. I want to automate this screen (Oracle Form), I capture the image but ...
0
votes
2answers
47 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 ...
1
vote
2answers
42 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 ...
0
votes
1answer
33 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 ...
1
vote
1answer
44 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, ...
2
votes
1answer
53 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,...
5
votes
1answer
59 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 ...
1
vote
0answers
11 views

Avoid Lite mode Chrome screen in Appium Studio

I am trying to automate web site testing with Appium Studio. But when I start Chrome from it every time there is a Lite mode screen. But I can not close it with my test script because the Chrome app ...
1
vote
2answers
52 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....
1
vote
2answers
29 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 ...
0
votes
1answer
24 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 ...
8
votes
1answer
325 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, ...
1
vote
2answers
57 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 ...
0
votes
2answers
37 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': { ...
2
votes
2answers
86 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 ...
1
vote
1answer
34 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 ...

1
2 3 4 5
67