Thank you Duarte.

please find my Testng xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd";>
<suite name="Suite" parallel="none">
  <test name="Test">
    <classes>
      <class
name="com.copmanyname.productname.applicationname.testcases.Admin_General"/>
      <class
name="com.copmanyname.productname.applicationname.testcases.EUM_Overview"/>
      <class
name="com.copmanyname.productname.applicationname.testcases.ClenUp"/>
    </classes>
  </test> <!-- Test -->
</suite> <!-- Suite -->

On 16 March 2016 at 23:19, Duarte Carreira <[email protected]> wrote:

> your problem is likely in your xml... can you post just the starting lines?
>
> On Wednesday, March 16, 2016 at 4:00:03 AM UTC, Kancharla Prasad wrote:
>>
>> Thank you Eric, please find my bat file data.
>>
>> java -cp bin;lib/* org.testng.TestNG testng.xml
>>
>> On 16 March 2016 at 01:30, Eric Smalling <[email protected]> wrote:
>>
>>> Can you post the contents of your .bat file?  (If it's large, a
>>> gist.github.com post would be nice)
>>>
>>> On Tuesday, March 15, 2016 at 5:10:42 AM UTC-5, Kancharla Prasad wrote:
>>>>
>>>> Hi All,
>>>>
>>>> I am new to Jenkins, I configured jenkins with testng (my selenium
>>>> project).
>>>>
>>>> When i build the project getting this:
>>>>
>>>> ===============================================
>>>> Suite
>>>> Total tests run: 6, Failures: 0, Skips: 6
>>>> Configuration Failures: 1, Skips: 1
>>>> ===============================================
>>>>
>>>> Build step 'Execute Windows batch command' marked build as failure
>>>> Finished: FAILURE
>>>>
>>>> _________________________________________________________________________
>>>>
>>>>
>>>> This means, atleast jenkins is able to get my project details to execute.
>>>>
>>>>
>>>> When i run my bat file manually, it launches the browser but fails to 
>>>> navigate to application URL.
>>>>
>>>>
>>>> any suggestions please, how to fix this issue.
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> L V Prasad. K
>>>>
>>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Jenkins Users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/jenkinsci-users/UaGwfNddVKc/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/9105f43d-91d8-4d90-8988-411b4c8ca6ec%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/9105f43d-91d8-4d90-8988-411b4c8ca6ec%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/UaGwfNddVKc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/2d2b351f-62ea-4cb9-a75f-fd7982be2b21%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/2d2b351f-62ea-4cb9-a75f-fd7982be2b21%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAFCk_%2B6y4ocswOve68B2Kp-2mfQkXT-dcpQyywWMrpQJ4iOknQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to