Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Dana Ucaed

Ranch Hand
+ Follow
since Aug 21, 2016
Dana likes ...
Netbeans IDE Oracle Windows
Cows and Likes
Cows
Total received
6
In last 30 days
0
Total given
0
Likes
Total received
36
Received in last 30 days
0
Total given
984
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dana Ucaed

Your element may be invisible or may not be in view-port or may have a property top, left, right or other 0.

Do you have a ajax call?

Try to inspect the properties for that element.



2 months ago
Your info was very helpful for me.

I solved.

8 months ago
How can create a shaded jar in Maven?
8 months ago
Hello,

I have a project in Eclipse and a class who run a TESTNG suite programmatically:



one very simple test class in the src directory




and a pon xml who containd a dependency to TestNG.

IF I run the App class the output is correct, but if I ran
java -cp target/axway-0.0.1-SNAPSHOT.jar anda.firsttestNG.axway.App
from cmd with Maven I got:

Exception in thread "main" java.lang.NoClassDefFoundError: org/testng/xml/XmlSuite
       at anda.firsttestNG.axway.App.main(App.java:18)
Caused by: java.lang.ClassNotFoundException: org.testng.xml.XmlSuite
       at java.net.URLClassLoader.findClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)

Why maven can't find the path to TestNG jar file?

Thanks in advance




8 months ago

Stephan van Hulst wrote:Reading and writing chunks of data is very Java 1.6.

If you're on Java 11, use HttpClient with BodyHandlers.ofFile(). Otherwise, use Files.copy().



So, I am obsolete.(:-))

Thanks, I use Java 8, not Java 11.

11 months ago
yep, it is a pdf file.

Practically I want to transform a string to a pdf file.

11 months ago
Hello,

I have a dilemma with my code:






How can save the response from http post to a pdf file?

Thanks in advance,





11 months ago
I want to add some clarifications.

When in a app I did the request : https://numesite.com?key=llllll and want to modify the value of key.

Thanks.

It is about a call on client and you can user JS or TypeScript,

1 year ago
Hello,

I want to intercept one http request (get) and modify one parameter send by url parameter.

I read that there are the interface httpintercept but I don't know how can modify the parameter send by url parameter.

So, URL : http://site/api/rest?k=yyyyyyyyy.

I wanted to send http://site/api/rest?k=vvvvvvvv.

Can someone help me?

Thanks in advance
1 year ago