Dana Ucaed

Ranch Hand
+ Follow
since Aug 21, 2016
Dana likes ...
Netbeans IDE Oracle Windows
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
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,

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

4 years ago
Your info was very helpful for me.

I solved.

4 years ago
How can create a shaded jar in Maven?
4 years ago

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

4 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.

4 years ago
yep, it is a pdf file.

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

4 years ago

I have a dilemma with my code:

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

Thanks in advance,

4 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.


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

5 years ago