Thank you for your time Duarte, will research more to fix it. On 17 March 2016 at 15:44, Duarte Carreira <[email protected]> wrote:
> well I was wrong... your problem is not in the testing.xml... obviously... > > if you run your tests "outside" jenkins you say they don't do what you > expect. so you have to debug your tests... at the very least use println > often to get feedback on whats going on. I don't use testng so i am not the > most qualified person to help you, but it seems to me your tests are not > working, nothing wrong with jenkins... > > On Thursday, March 17, 2016 at 4:18:48 AM UTC, Kancharla Prasad wrote: >> >> >> >> 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 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/5c8a56b0-aa7d-49e1-9aec-e1c5c8281b5b%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/5c8a56b0-aa7d-49e1-9aec-e1c5c8281b5b%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_%2B6FN9tsZOskjhis-Q%3DwiPv-1Bj%2Btg-SiD6n4XOSAm_XeA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
