On executing the command <<ant run>> in cmd, I am getting error
Compile failed.
Link to my build.xml file
Link to my testng-results.xsl file
Please give me a hint what to do.
I want to generate an xslt report in selenium through "ant".
Related
I am attempting to execute my tests using the karate stand-alone jar. Throughout my project, I use the read('classpath:') when locating files.
However, when I attempt to execute my tests from the CLI, I receive the following error:
src.test.java.Users.getUser: -unknown-:6 - javascript evaluation failed: read('classpath:commonUtils.feature'), java.io.FileNotFoundException: commonUtils.feature (The system cannot find the file specified)
Command: java -jar -Dkarate.config.dir="src/test/java" karate.jar -e DEV -t #tests src/test
It seems that I will have to declare the classpath on execution, would you be able to provide some insight on how to do this please? I'm not sure whether my issue is linked to [karate][standalone] Error : could not find or read file
Can you try the ZIP release and if you open the karate batch file you will see this:
java -cp karate.jar:. com.intuit.karate.Main $*
So the trick to setting a custom classpath is to use the com.intuit.karate.Main entry point and in the above example the current dir is also added to the classpath.
It would be great if you try the current RC version (0.9.5.RC3) to ensure we have everything working as expected.
For more information, see this part of the docs: https://github.com/intuit/karate/tree/develop/karate-netty#custom-classpath
In the build definition in TFS 2015, I've got a Command Line step that runs the following command:
xunit.console.exe \PathToTests\Tests.dll -xml \PathToResultsFolder\Results.xml
During the build, I can see the tests are being discovered and executing and everything's looking good.
But if I don't check "Continue on error" in the Command Line step, after the tests run and the result XML file has been saved, the step fails with the following error:
Task CmdLine failed. This caused the job to fail. Look at the logs for the task for more details.
But there's actually no error or anything I can see. The tests have run and the XML file has saved properly and is able to published to TFS. And I don't see an error like this if I run the command from the build machine.
Any ideas?
Using JGRASP for c++ program. The program compiles and links with no errors. When I try to run I get "wedge2 error: could not run ("c:\mplot\mplot.exe").
The .exe file exists in that directory ! Anyone understand this error?
What happens if you try to run it from Windows Explorer or from the command prompt?
mvn archetype:generate
produces
The term 'mvn' is not recognized as the name of a cmdlet, function...
1.directory is C://Program Files/Apache-maven-3.2.5
2.I see the directory in the command line so i know it's there
3.tried running as administrator, safe mode, tried Apache-maven 3.0.5 as well
4.Maybe incredibly simple but any help is appreciated, thx.
Suppose I have x.ahk, which is an AutoHotKey file. I want to open it through my Sikuli program.
I tried the following methods:
openApp("F:\\folder\\x.ahk")
I got the following error
[info] VDictProxy loaded.
[log] App.open F:\folder\x.ahk(0)
[error] App.open failed: F:\folder\x.ahk not found
I tried using open() instead
open("F:\\folder\\x.ahk","r")
It did not throw any error from this, but it still did not open the file.
How can I launch my AutoHotKey script?
You could try running autohotkey.exe with the script name as a parameter.
Example:
If my Autohotkey.exe is in
"C:\Program Files (x86)\AutoHotkey"
and the script to start is
"c:\temp\1.ahk"
I would run
"C:\Program Files (x86)\AutoHotkey\autohotkey.exe c:\temp\1.ahk"