Win a copy of Rust Web Development this week in the Other Languages 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

Hi teams,

I need to run git-bash program(Windows10) and then to run a Linux command , for example: ls and to store output in a file.

I tried:


but my ls command isn't executed.

Can you give me a hint?

Thanks again,



       
       
     
1 year ago
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.



1 year ago
Your info was very helpful for me.

I solved.

2 years ago
How can create a shaded jar in Maven?
2 years 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




2 years 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.

2 years ago
yep, it is a pdf file.

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

2 years ago
Hello,

I have a dilemma with my code:






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

Thanks in advance,





2 years 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,

3 years ago