Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Object Repository with ANT
LegacyForum
Posts: 1,664 ✭✭
Hi,
I'm trying out using an Object Repository. I created an object and tried getting the value and printing it. When i run it with JTest, it works fine. But when I try to run it using ANT, I get a "jtest.NoSuchValueException: ". Is using the Object Repository possible with an ANT build? Thanks.
I'm trying out using an Object Repository. I created an object and tried getting the value and printing it. When i run it with JTest, it works fine. But when I try to run it using ANT, I get a "jtest.NoSuchValueException: ". Is using the Object Repository possible with an ANT build? Thanks.
0
Comments
-
Hi,
I'm trying out using an Object Repository. I created an object and tried getting the value and printing it. When i run it with JTest, it works fine. But when I try to run it using ANT, I get a "jtest.NoSuchValueException: ". Is using the Object Repository possible with an ANT build? Thanks.
Yes Object Repository use is supported with Ant builds, however the Ant builds should be using jtestcli (command line). Running tests that use the object repository with Jtest GUI and Jtestcli act the same, so using Ant builds that call jtestcli work as well.0