All Questions
Tagged with automated-tests java
1,628
questions
0
votes
0
answers
15
views
How to Test Performance, Scalability, CPU, and Memory Consumption of Rule Engines (Drools, NRules, Easy Rules)?
I am trying to test the performance, scalability, CPU, and memory consumption of my rule engine. I am using Drools, NRules, and Easy Rules but I'm new to this and don't know where to start.
I haven't ...
0
votes
0
answers
50
views
Robot's key event locks the keyboard
I use the following event to escape a window's pop-up ("This page is ready for print. Would you like to ...") but it seems that the release event doesn't work. Once the test is finished, the ...
0
votes
1
answer
25
views
Getting error highlighted in yellow in eclipse while automating post API through rest assured
[Getting error highlighted in yellow in eclipse while automating post API through rest assured]
package com.testautomation.apitesting;
import org.json.simple.JSONObject;
import org.testng.annotations....
0
votes
1
answer
75
views
Unable to connect http://127.0.0.1:4723/ on start of Appium
Unable to connect http://127.0.0.1:4723/ on start of Appium.
I want to use Appium Tizen TV Driver to automate the testing of appium-tizen-tv. And for that I am using https://www.npmjs.com/package/...
0
votes
1
answer
29
views
Paralell tests failing in TestNG
I'm working on automation project and i need to run tests in paralell using testNG. When i run only one instance everything is working fine but when ran like this:
@Test(invocationCount = 3, ...
0
votes
1
answer
78
views
How to add client certificate (.pfx or .cer + .key) in API-request in Java (Rest assured)
I'm trying to write my first autotests in Java + Rest Assured.
Unfortunately, one of the modules I'm working with requires a client certificate for correct request :) I have the certificate source in ....
1
vote
1
answer
90
views
Chrome blocks file download - selenium
I've been using webdriver selenium 3.12 and chromedriver for Chrome 125.
I have put in arguments and capabilities everything that I found on internet, yet my xml file gets blocked as insecure, by ...
1
vote
1
answer
35
views
How to find elements using text without tag
HTML
<div class="cell">
<!---->
message.
<!----></div>
Trying to write an XPath using text then click on the element.
My locator
(//td[@class="el-...
0
votes
1
answer
44
views
How to send pi symbol (π) using selenium on windows?
I am taking selenium web driver course on test automation university. On chapter 6, the instructor is using mac and is able to send the pi symbol using the following:
public void enterPi(){
...
0
votes
0
answers
21
views
Segregating the test results generated by Allure
I have a little problem with the test results generated by Allure.
I receive results properly.
I run tests on different levels and I use copyArtifact() to receive an aggregated result of all the ...
0
votes
0
answers
47
views
How to rerun skipped test cases using TestNG?
I tried to re-run testng skipped test cases in the following way and I am getting 'Test ignored.' message. How to fix this issue using TestNG?
I tried the solution mentioned in How to rerun skipped ...
2
votes
0
answers
75
views
How to import a java package inside POM.xml?
I'm working on contract tests using Pact in a Java application with Quarkus. However, I'm running into a snag: I need to modify the requests before sending them, since authentication is required for ...
0
votes
0
answers
31
views
My feature file is unable to recognise step definition package, not sure what's wrong ? Giving error "Undefined step reference"
I think the issue is mostly with my runner class where the glue parameter is not recognising the stepdefinition package, i have double checked everything not sure what's wrong.
I have also tried ...
-1
votes
2
answers
718
views
java: Incompatible types: int cannot be converted to java.time.Duration [closed]
Unfortunalety I am getting error message "java: Incompatible types: int cannot be converted to java.time.Duration" thrown in my login_page class.
Can anyone help me fixing this problem?
...
0
votes
1
answer
73
views
Automation Testing using Selenium, TestNT, Java - Reddit.com - Log In button in Pop-Up
I'm trying to figure out how to automate logging into Reddit via Java/Selenium.
I've gotten to Reddit.com > Log In > Pop-Up Window > Find and Fill Username & Password.
However, no matter ...