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
0answers
11 views

Appium-Could not find ''apksigner.jar''

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown ...
0
votes
1answer
18 views

Assigning keyword return value to variable not working in Robot Framework

I have the following Robot Framework keyword, designed to get the full path of the "Downloads" directory in Windows: Get Download Directory ${user_home_dir}= Get Environment Variable ...
1
vote
2answers
74 views

I was asked this question in interview on test automation [closed]

If there are two test cases and the first one failed, in that case I don't want to stop the execution. What needs to be added? Without using TestNG annotations, try/catch, using selenium only.
1
vote
2answers
71 views

New to automation testing of APIs with Pycharm and Pytest

We are moving all manual testers to automation. I am very familiar with 'concepts' but really need a beginners step into automation for new API Service and endpoints. The developer is coding a new ...
1
vote
1answer
20 views

Waiting for two events in Selenide

I have code, written on Selenium which waits for the first or for the second event. But all testing framework uses Selenide. The question is how to rewrite such code on Selenide, to avoid unxpectable ...
0
votes
0answers
31 views

Selenium webdriver or open source UI tools VS testproject.io kind of cloud platforms [closed]

When I started working for a new company, one of the first things I noticed was that they have a tendency to do UI automation with scriptless tools available on the market. The actual application to ...
1
vote
0answers
19 views

Scrolling and retrieving values in a list in Appium

I'm trying to retrieve all the values after scrolling in a form of list. But i'm getting some of the repeated values. Please help. Below is the code: ArrayList<String> list1 = new ArrayList<...
0
votes
1answer
31 views

C# + chrome-driver : How to fix - cannot find Chrome binary/Chrome failed to start: crashed/Failed to create a Chrome process?

I am trying to run selenium using chrome-driver in my project. While creating object of chrome-driver facing errors : Message "unknown error: cannot find Chrome binary\n (Driver info: ...
0
votes
1answer
28 views

Getting Windows download directory path in Robot Framework

I have a Robot Framework test case that makes use of the following variable: ${download_dir} C:\\users\\myProfile\\Downloads How can I change this so that it always points to the Downloads folder ...
2
votes
2answers
75 views

Playwright: Implementing Page Object Patter into Framework

Recently I have been asking questions regarding Playwright and so far the community has been very helpful. I hope that my question and answers provided will be in use for people who are just starting ...
0
votes
0answers
18 views

1)i am getting “the name page Factory does not exist in the current context.” even after adding using OpenQA.Selenium.Support.PageObjects;

this is my code using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjects; //using SeleniumExtras.PageObjects; using OpenQA.Selenium.Support.PageObjects; using System; using System.Collections....
0
votes
0answers
25 views

NullPointerException-webdriver null

I put a screenshot with getDriverInstance. After run. When I run the test, I get this error. At debug it tells me that the webdriver is null. Can anyone help me with a solution how to fix the problem? ...
2
votes
0answers
18 views

Design Industrial Process Controller for Testability

We are currently developing a new industrial process controller for applications with very low cycle times (<50us). The embedded software that runs on this controller shall be validated ...
1
vote
1answer
28 views

Playwright: Executing different test suites depending on script parameter

I have switched to Playwright recently and I would like to ask you for some feedback on my current issue which I am facing at the moment. I have a simple framework set up for one of our company ...
3
votes
2answers
47 views

How is accessibility testing perceived in the testing process?

I am studying ways to add accessibility testing in the automated testing process of the company that I am currently working. I've read some articles, watched some talks about accessibility in digital ...
1
vote
2answers
34 views

Playwright: Storing an element selector in variable

This might be a trivial question/answer, however I would like to know if there is a way that I could store an element locator in a variable and then reuse it same as it while working with Selenium and ...
0
votes
4answers
92 views

Automate the stable build only

I have the understanding that Automation Scripts need to be built on a stable build (application). I mean once manual QA signs off, to reduce their burden on regression/repeated testing, we Automate ...
1
vote
1answer
32 views

The .App path is not recognised in desired capabilities in my Appium setup

I have set up my desired capabilities on Appium. See below. { "platformName": "iOS", "deviceName": "iPhone11", "automationName": "XCUITest&...
0
votes
0answers
16 views

How to assign defined keyword as value of variable in Robot Framework? How to run a Variable as Keyword?

I'm currently using Robot Framework in creating ui automation for out project. And I woud like to know how to assign defined keyword as variable value and how to run variable as keyword?
3
votes
1answer
22 views

How to scroll an element to the center of the screen

driver.get( "http://www.uitestingplayground.com/scrollbars") time.sleep(10) driver.execute_script( "arguments[0].scrollIntoView()", driver.find_element_by_id("...
-2
votes
1answer
62 views

Return multiple variables from custom command in Cypress

What I am trying to do: I have a custom command, inside which i am declaring few variables(boolean). I am setting the values for the variables as per my code. I wanna use the variables to assert in ...
0
votes
1answer
29 views

how to integrate testrail with selenium

Hi everyone as I am just started to work in testrail and I want to integrate my testrail with selenium using Eclipse What I want to do? I want to run my test case in selenium and if its pass then my ...
0
votes
1answer
63 views

Appium Pagefactory throws noSuchMethodException when running from POM

When I try to run my appium scripts on the pom file ( with mvn verify or mvn test) I get a java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy12.proxyClassLookup() On the ...
0
votes
1answer
19 views

Appium scoll to an element, without scrollable view

I have an android app, that has a list page (eg. 20-30 element), I have to check each list item, how can I scroll to the next list item, if the app is built like there is no scrollview in it? ( only ...
0
votes
0answers
47 views

Anyone had success running TestNg with Java 9 or above?

Has anybody successfully run the TestNG with >=Java 9? I tried and it failed. I also had no luck finding any helpful information from Google search. This is the error I got, Error occurred during ...
0
votes
3answers
64 views

Free sites for testing POST REST API calls?

My previous company was testing only GET calls. Now I need to practice with other type of calls (POST, PUT, DELETE). I can not find any site that is free for POST API calls, and that it have up to ...
1
vote
1answer
36 views

Is it possible to include Internet Explorer 5 or 6 in Selenium Grid?

Based on this question here, I was wondering if you can also include Internet Explorer 5/6 in Selenium Grid? How can Internet Explorer 5 be emulated in 2020? I don't think this is possible either, but ...
0
votes
1answer
48 views

Backend test automation framework - Java

I'd like to create and ask about best framework for backend end-to-end tests. This is microservice architecture software and the services communicates via REST API and Apache Kafka. What would be best ...
1
vote
0answers
26 views

RobotFramework AutoItLibrary.Run test case passing, but no window shown

I have Python 3.7.0, Robot Framework 3.2.2, and AutoItLibrary 1.2.7 installed. I have the following test case to simply run an app I have developed in .NET: *** Settings *** Library ...
0
votes
1answer
24 views

How can I count how many times this selenium script has been run in Python?

for example, I run this script 200 times and now I want to run more time. then I count every time and show me in console import time from selenium import webdriver start_time = time.time() driver = ...
1
vote
1answer
32 views

Is there a way to make Selenium use cookies to autologin?

I don't want to have to make the script log in every time. Is there to stop the web driver opening a "fresh" browser and instead make it open my standard version/load cookies so it auto-logs ...
0
votes
1answer
55 views

Do we have a terminology for manual test suite that replaces failed automated tests?

Background: 3-week sprint, 2-days testing against staging and 1-day testing against qa. qa environment is only up for the duration of 1 day as it costs a bit money to have it running on AWS. We have ...
1
vote
1answer
27 views

JavascriptExecutor.executeScript(“arguments[”+index+“].click();”, elementName) does not work

I'm using IntelliJ IDEA 2020.1 Community Edition for automated testing. The issue seems simple enough. I have a Search drop-down menu which also contains a Search menu option (among other options). ...
0
votes
1answer
369 views

How to install chrome-webdriver on GitLab CI/CD

I am trying to do some tests using GitLab CI/CD and Robot Framework, I have this simple .robot file: *** Settings *** # Declare Libraries Library SeleniumLibrary # Declare Suite Setup and Teardown ...
2
votes
0answers
62 views

Large scale selenium automation project fails when multiple suites are running all together

I am working in a large scale project automation with Selenium where multiple test suites are available. When a single suite is running, it works fine. But when all suites are running all together it ...
-1
votes
2answers
59 views

How can one test the security measures or vulnerability when it comes to API testing? [closed]

I use REST for API Testing. What are good tools and/or approaches to testing security issues ? Any information through which I can broaden my perspective,ways,tools for testing when it comes to API.
0
votes
3answers
75 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
vote
3answers
91 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(...
0
votes
1answer
49 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 ...
0
votes
0answers
9 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
3answers
185 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 ...
1
vote
1answer
74 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
70 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
34 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
35 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
160 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
67 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(...
2
votes
2answers
40 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 ...
1
vote
2answers
237 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
2 3 4 5
68