All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
33 views

Should my logger test its Readers for byte order marks / char encodings, or is this considered clutter?

I'd prefer to always check a newly opened Reader for a "byte order mark." If given, log that as the char-encoding or log "char-encoding assumed utf8." If there is a BOM I might be ...
-2
votes
0answers
20 views

Sails cant lift an app [closed]

I installed an app on sails. npm version 6 sails version 1.0 while doing sails lift getting below error ReferenceError: Settings is not defined at Sails. (/root/extentx/config/bootstrap.js:29:9) ...
-1
votes
1answer
22 views

Not able to click() on newly added account number from a account list on the page

A new account is created using selenium script and a message appears that "Account is created successfully : <***12345>" After this, Account page is displayed where all the accounts ...
2
votes
1answer
24 views

How to start Chrome in automation mode from command line?

I am trying to find how to start Chrome as if it was started by webdriver, but manually from command line. I was looking at this list of options, but couldn't find what I need. https://peter.sh/...
-1
votes
0answers
19 views

Superfast website by high server response time - It is quite baffling [closed]

My new site www.authorityreview.com has near perfect score on Google PageSpeed Insights (95-100 on mobile and 98-100 on desktop) and yet Google says that it has high server response time. I use WP ...
1
vote
2answers
18 views

How do we co-ordinate many teams work on the same Jira ticket?

How do we have many teams (Security, Functional, performance) work on same JIRA (bug or enhancement) and put their results? I use JIRA for defect management, SDLC and release management. There are ...
0
votes
0answers
19 views

How to close the browser after each test case in different classes [closed]

All classes which include test cases extend this "AbstractAcceptance" class public class AbstractAcceptance { protected WebDriver driver; @BeforeSuite public static void setupClass() { ...
0
votes
2answers
26 views

Seeing NullPointerException on running TestNG Selenium Framework

Written the Test Script in TestNG framework where the Open browser activity is happening in "baseClass" under @BeforeTest annotation and the Test Script is written in Test Packages under as @...
2
votes
4answers
49 views

Page Object Model from scratch: Best Practices?

Background So I am sure this will probably get a lot of opinions but I am sure there are some things people with they thought of when starting to implement an automation framework from scratch, which ...
0
votes
3answers
31 views

How to pass text dynamically in xpath under Properties file

I am stuck in a situation where I want to write Xpath dynamically in the properties file. The actual XPath is like in property File div[contains(text(),'<state Name>')]. State Name changes ...
0
votes
1answer
9 views

How to execute the threads in JMeter to full fill the below scenario?

I have a JMeter work flow where in the script has to perform the below scenario. There are 130 users and 29000 tasks. Ideally, 1 user takes approx. 2min to perform 1 task by sending JSON requests. ...
0
votes
1answer
21 views

How to test functions which interacts with databases?

I have a function getEmployeeData() which internally calls generateSQL() to get the SQL and execute it and returns the final result. Now, how to test this functionality? Having JUnit test to validate ...
0
votes
3answers
30 views

Cant fill out Username and Password field using Selenium

I'm trying to fill out a Username and Password field on a website. The id changes every time, so I cant find the elements by using the id. So I tried by using XPath and class name, but none of them ...
0
votes
0answers
28 views

Error while copying file in to ios device using driver.pushfile [Real device]

I am trying to copy an image file into a real iOS device. I am using Appium 1.20.2. I have installed macfuse, fuse, sshfs, and when I am trying to install ifuse, it is throwing error: ifuse is disable ...
1
vote
2answers
45 views

Playwright: Creating and interacting with a list of elements on the page

This might be a simple question, however I would like to know if there is a simple way of declaring a list of elements which later on you will be working on for example looping through it and looking ...
0
votes
0answers
24 views

How to perform mouse hover in selenium java using page object model approach?

I have automated some test cases mentioned at https://www.techlistic.com/2019/08/automate-buy-product-using-selenium.html For second test case mentioned at given link, I have written code for mouse ...
0
votes
1answer
17 views

I want to scroll to a specific location Selenium Java

I have a list of webelements, I have written the below code: List <WebElement> feature_tiles = driver.findElements(By.xpath("//div[contains(@class,'featuretile')]//a")); System....
2
votes
1answer
30 views

Pass in secrets as environment variables or retrieve at runtime?

I'm wondering what would give me the best result in a test automation framework: CICD build pipeline retrieves secrets and passes them into the test automation framework as environment variables CICD ...
-1
votes
0answers
16 views

Does anyone know how to cover the Event.kt class with unit tests?

I want to cover the application code with unit tests. There is an Event.kt class. Who knows how to test this class? Please give me an idea of where to start testing such a class written in Kotlin. ...
-1
votes
0answers
24 views

After comparing the text it does not enter the Loop.Can i get some solutions

Below is the code: String ewmailXpath = AppXPathsConstants.MailXpath_replace.replace("XXXXX",formEntryMap.get("Mail")); WebElement MailEl = driver.findElement(By.xpath(...
0
votes
1answer
36 views

deserializing response body in java

I'm testing API with Rest Assured, I have all the necessary dependencies, all setup, the only question is, I have created all POJO classes for Request Body, I'm in the phase, where I have to verify, ...
0
votes
2answers
55 views

Iterate through multiple URLs in Selenium

I have to use multiple URLs in same script in Selenium (Java) and have to visit one at a time, perform some operations on the page take a screenshot at the end, and then move one to the next page and ...
0
votes
0answers
30 views

Selenium IE can't find an element by XPath with “invalid selector” error

I'm getting strange error using Selenium WebDriver with IE (version 11). Here log of Selenium: D 2021-06-02 16:33:46:334 c:\projects\webdriver\cpp\iedriver\elementfinder.cpp(60) Using FindElement atom ...
5
votes
4answers
690 views

No tests in the legacy project - what to start with as tester? [duplicate]

I've just joined a project which is developed for internal use for over 10 years now. There are no unit tests nor any other manual/automated tests designed. I'm going to be the only tester. What ...
0
votes
0answers
43 views

Protractor file upload hanging after send keys on IE11. Works on Chrome/Firefox

I have a protractor/cucumber script that successfully uploads a file on chrome/firefox. When I run the same script on IE11, then the website hangs with the file dialog box open and no file sent. The ...
-1
votes
0answers
21 views

Feature file logs on to application but login error occurs

I ran the feature file and while it logs to the application, the test waits for a while after which it shows the below errors: java.lang.AssertionError: Error: Login failed at org.junit.Assert.fail(...
0
votes
1answer
28 views

java.lang.NullPointerException,at ✽.Given product is set with the following fields(src/test/resources/features/wizard/wizardNewProduct.feature:

Pls, I need help, I'm getting a null pointer exception, When I send a request, I'm catching values in Cucumber through the List<Map<String, String>>. I'm testing API with Rest Assured and ...
0
votes
1answer
41 views

Playwright: Printing Console Logs each time when one of the test fails

I am working with Playwright, Mocha and Chai for my automation project and I was wondering if there is a way for capturing all console logs that appear during a failed automation test execution. ...
0
votes
0answers
21 views

How to type/send values to fast-monaco-editor

I tried clicking on the field and typing values. Actually the field is getting clicked but its not typing values. I am working on protractor Selenium Java framework. Sharing below the code I used ...
-1
votes
0answers
18 views

Not able to run feature file

I'm not able to run a feature file. I'm getting the below error: Can someone tell where the issue needs to be fixed? I'll add more info when asked as I don't know from which file this error is coming ...
1
vote
1answer
61 views

How are execution conditions and testing procedures traits of an test case for an unit test?

Wikipedia link about what a test case describes a test case as: a specification of the inputs, execution conditions, testing procedure, and expected results that define a single test to be executed ...
0
votes
0answers
25 views

After Zoom Out of Chrome Browser unable to find web element in Selenium Webdriver C#

I need to click on an Web Element which is not visible at default browser size(100%). Also the Web Element is not scroll able. So I tried to click on the Web Element by decreasing the browser size to ...
0
votes
1answer
27 views

Preparing script for running on server

I'm new here and want to share my experience with you. Till now I didn't have any experience in running my Selenium Java automation script on a server, but now I have a problem: I cannot find more ...
1
vote
1answer
36 views

How to handle below slider option using Selenium Webdriver in java

I can't imaging how to handle below type of slider option using selenium with java. There is no different xpaths for dropping locations. There should be different xpaths to use below option Actions....
-1
votes
1answer
16 views

Automating Ruby on rails testing [closed]

I'm the only software engineer in a 40 person organization, and we work with various contractors to write our RoR site. (I'm mostly a python programmer, so have limited experience in this space) We ...
2
votes
1answer
75 views

Boundary value analysis - ordered list

I have a question about using the boundary value analysis. I know that elements in partitions should be ordered if we want to use boundary value analysis, but it is a little bit confusing to me that ...
0
votes
1answer
34 views

Not able to Launch Edge with Remote Driver can some one pls help

DesiredCapabilities capabillities = DesiredCapabilities.edge(); capabillities.setBrowserName(BrowserType.EDGE); capabillities.setCapability(CapabilityType.ACCEPT_SSL_CERTS, ...
1
vote
1answer
26 views

AllureRestAssured , how to ignore logging headers

I am using rest-assured and allureRestAssured for testing api given().header("Content-Type", "application/json") .header("key", key()).filter(new ...
1
vote
2answers
35 views

Is this the only way to add exception handling to high level automated testcases?

We are using Serenity BDD and Appium for automation testing of our Android app. Most of our high level testcases look as follows: observedToast = toastMessageStep.getToastMessage(); ...
0
votes
0answers
19 views

Is it possible to automate electron applications with RobotFramework Browser library?

I am currently using selenium and python to launch and access elements from an electron application. I've used RobotFramework Browser (rfbrowser) library to automate angular webpages previously and I ...
0
votes
1answer
37 views

AttributeError: module 'selenium.webdriver.common.keys' has no attribute 'RETURN'

When I run my script it gives me this error: Traceback (most recent call last): File "C:\Development\Python_Project\SDETpythonProject\SDET_Package\my_firstProject.py", line 18, in <...
0
votes
0answers
13 views

Not able to blacklist header value [duplicate]

Hi I using java and testng for my test suite and allure report for reporting , issue is I am not able to figure out how to implement condition where Blacklist specific header value Logged response ...
0
votes
0answers
16 views

Allure Report is not getting generated using jenkin pipeline

I am using Jenkin Pipeline to execute by test , every thing work fine bit allure-result and allure report is not getting generated , tried all blogs still not able to get in Here is console log for ...
1
vote
1answer
38 views

Should I push my changes for testing and then work on unit tests?

Say I am working on a React app, in Agile methodology. I pick up a story. Do the dev work sans unit tests. Push it to the testers for picking up when they are ready. In the meanwhile, I start writing ...
0
votes
0answers
20 views

Can we create android emulator on aws ec2 instance

I tried multiple number of ways to get this task done, but no success yet. Has anyone tried to run Appium and Android both in one test suite via Jenkins hosted on AWS EC2 instance? org.openqa.selenium....
2
votes
1answer
22 views

How do you do “controlled” exploratory testing of highly concurrent code?

("controlled" as in you have control over the order in which code executes, rather than the underlying scheduler(s)) I was asked in an interview earlier "How would you test for race ...
0
votes
0answers
8 views

how to resolve the OLE error 80110802 in HP ALM?

I have recently started testing and I encountered this problem while performing testing on an application. I use UFT and HP ALM.
0
votes
0answers
5 views

What kind of metrics can appdynamics get from monitoring a server which could be helpful for a Performance tester?

I want to see if it can get Queue depth , garbage collection , heap usage data for a server and if it can what other metrics can be gathered as well.
1
vote
1answer
19 views

Is it valid to use the tool that comes with a library to verify that your C/C++ code is working as expected?

I have a library which Loads audio files Does filtering on the PCM data Saves the new PCM back to files it does that using: Using its own implementation of load/save (raw files and uncompressed ...
0
votes
2answers
38 views

Finding sibling of found element using selenium

I've got a field with a date in it that's identified by a code that's shown in the div previous to it. <div class="fcode"> <div class="fcode_n">(123)</div> ...

15 30 50 per page
1
2 3 4 5
217