Ok, sure will start different thread.
On Sat, Jul 20, 2013 at 10:33 PM, Mauro Talevi <mauro.tal...@aquilonia.org>wrote: > Hi, > > firstly, please avoid reposting the same question at short intervals. > It's not very polite to the dev/user community. > > secondly, you seem to be experiencing an altogether different problem. As > such you need to provide more info to allow people to understand the issue. > > Saying it doesn't work is not enough. It has to be reproduceable. > > Cheers > > On 20 Jul 2013, at 05:48, Selenium Learner 2013 <777selen...@gmail.com> > wrote: > > Could any dev provide an answer for the question I have asked above? > Problem statement:- > BUT, now another problem has come up with jenkins.Initially we had used > 4.0 beta release version and test case execution on jenkins was working > smoothly but as soon as we moved back to 3.8 stable release it was giving > error like headless display needs to be configured but we are having grid > set up on different machine.Both jenkins and browser machine uses linux o.s > so any idea why Jbehave is behaving such a way? is there any problem with > 3.8 version with jenkins? pls advice > > > > On Fri, Jul 19, 2013 at 11:52 PM, Selenium Learner 2013 < > 777selen...@gmail.com> wrote: > >> Ok,thanks for the answer.Also one good news is that parallel execution is >> working even when selenium configuration with maven as given jbehave 3.8 >> version bcz it was having issue in the framework we set up. >> Hence no need to give sample project since no problem exist. >> BUT, now another problem has come up with jenkins.Initially we had used >> 4.0 beta release version and test case execution on jenkins was working >> smoothly but as soon as we moved back to 3.8 stable release it was giving >> error like headless display needs to be configured but we are having >> grid set up on different machine.Both jenkins and browser machine uses >> linux o.s >> so any idea why Jbehave is behaving such a way? is there any problem with >> 3.8 version with jenkins? pls advice >> >> >> On Fri, Jul 19, 2013 at 7:28 PM, Mauro Talevi <mauro.tal...@aquilonia.org >> > wrote: >> >>> No, you can't in a multi-threaded run context. >>> >>> You can set up different single-threaded run contexts to point to >>> different browsers. >>> >>> On 19 Jul 2013, at 12:09, Selenium Learner 2013 <777selen...@gmail.com> >>> wrote: >>> >>> can somebody provide an answer? >>> >>> >>> On Wed, Jul 17, 2013 at 7:29 PM, Selenium Learner 2013 < >>> 777selen...@gmail.com> wrote: >>> >>>> My bad about not providing Selenium grid implementation in sample >>>> code(DesiredCapability object)..am working on sample project using it but >>>> it might take some time.. >>>> I have got a question as per answer you've provided. >>>> Q1)- So as a Jbehave user I can't run stories on parallel basis such a >>>> way that multiple firefox browser instances will run multiple stories on >>>> same VM? Please advice. >>>> >>>> >>>> >>>> On Tue, Jul 16, 2013 at 10:35 PM, Mauro Talevi < >>>> mauro.tal...@aquilonia.org> wrote: >>>> >>>>> Selenium standalone is not designed to run in multiple threads, as >>>>> they all use the same instance of the browser. >>>>> >>>>> For multiple threads you need multiple browsers (e.g. in different >>>>> VMs). For this you need to use something like Selenium Grid or SauceLabs. >>>>> >>>>> JBehave is only responsible for starting the thread but the API used >>>>> must support the paradigm chosen. >>>>> >>>>> >>>>> On 16 Jul 2013, at 12:45, Selenium Learner 2013 <777selen...@gmail.com> >>>>> wrote: >>>>> >>>>> I was asking about the issue I had mentioned date-Mon, Jul 15, 2013 >>>>> as provided the sample project as well. >>>>> So, will your answer still be same i.e >>>>> The issue has been identified and will be addressed as part of the >>>>> development cycle? >>>>> Please advice. >>>>> >>>>> >>>>> On Tue, Jul 16, 2013 at 1:13 PM, Mauro Talevi < >>>>> mauro.tal...@aquilonia.org> wrote: >>>>> >>>>>> What update are you expecting? The issue has been identified and >>>>>> will be addressed as part of the development cycle. >>>>>> >>>>>> Please create a JIRA issue affecting version 4.0 and attach the >>>>>> project to it. >>>>>> >>>>>> >>>>>> On 16/07/2013 07:55, Selenium Learner 2013 wrote: >>>>>> >>>>>> Is there any update on the issue I had mentioned in my previous >>>>>> mails?Please advice. >>>>>> >>>>>> >>>>>> On Mon, Jul 15, 2013 at 9:09 PM, Selenium Learner 2013 < >>>>>> 777selen...@gmail.com> wrote: >>>>>> >>>>>>> Attached is the sample project. >>>>>>> >>>>>>> >>>>>>> On Mon, Jul 15, 2013 at 8:59 PM, Selenium Learner 2013 < >>>>>>> 777selen...@gmail.com> wrote: >>>>>>> >>>>>>>> the reason , I have attached sample project in the previous mail >>>>>>>> can be seen below.. >>>>>>>> >>>>>>>> >>>>>>>> Ok, thanks.Sorry for the late reply as was busy creating >>>>>>>> different sample project so that multithreading issue can be addressed >>>>>>>> again. >>>>>>>> Attached is the new sample project(took from Git hub again and >>>>>>>> made some changes).I have observed couple of issues: >>>>>>>> 1) If I make thread value as 2 in POM .xml, I could not see two >>>>>>>> instances of Firefox when I type mvn clean install in the command promt >>>>>>>> ..is there any problem at Jbehave end? Please advice. >>>>>>>> 2) For this project,I doubt report generation will happen >>>>>>>> correctly but because of issue 1.. >>>>>>>> Is there any problem in Jbehave if a user try to use selenium >>>>>>>> configuration rather than most useful configuration?Please advice >>>>>>>> >>>>>>>> Let me know in case of any queries. >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Jul 15, 2013 at 8:55 PM, Selenium Learner 2013 < >>>>>>>> 777selen...@gmail.com> wrote: >>>>>>>> >>>>>>>>> >>>>>>>>> FYI...as previous mail got bounced.. >>>>>>>>> ---------- Forwarded message ---------- >>>>>>>>> From: Selenium Learner 2013 <777selen...@gmail.com> >>>>>>>>> Date: Mon, Jul 15, 2013 at 8:53 PM >>>>>>>>> Subject: Re: [jbehave-dev] multithreading reporting is not working >>>>>>>>> To: dev@jbehave.codehaus.org >>>>>>>>> >>>>>>>>> >>>>>>>>> Ok, thanks.Sorry for the late reply as was busy creating >>>>>>>>> different sample project so that multithreading issue can be addressed >>>>>>>>> again. >>>>>>>>> Attached is the new sample project(took from Git hub again and >>>>>>>>> made some changes).I have observed couple of issues: >>>>>>>>> 1) If I make thread value as 2 in POM .xml, I could not see two >>>>>>>>> instances of Firefox when I type mvn clean install in the command >>>>>>>>> promt >>>>>>>>> ..is there any problem at Jbehave end? Please advice. >>>>>>>>> 2) For this project,I doubt report generation will happen >>>>>>>>> correctly but because of issue 1.. >>>>>>>>> Is there any problem in Jbehave if a user try to use selenium >>>>>>>>> configuration rather than most useful configuration?Please advice >>>>>>>>> >>>>>>>>> Let me know in case of any queries. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Jul 12, 2013 at 2:18 PM, Mauro Talevi < >>>>>>>>> mauro.tal...@aquilonia.org> wrote: >>>>>>>>> >>>>>>>>>> Yes, issue reporting on preview version is most welcome. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On 11 Jul 2013, at 14:46, Selenium Learner 2013 < >>>>>>>>>> 777selen...@gmail.com> wrote: >>>>>>>>>> >>>>>>>>>> So, can I conclude that for 4.x it's not working and I can >>>>>>>>>> report the issues related to execution and reporting pipework? Please >>>>>>>>>> advice. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Thu, Jul 11, 2013 at 1:34 PM, Mauro Talevi < >>>>>>>>>> mauro.tal...@aquilonia.org> wrote: >>>>>>>>>> >>>>>>>>>>> You're using a preview version 4.0-beta-1. It works fine with >>>>>>>>>>> latest stable release 3.8. >>>>>>>>>>> >>>>>>>>>>> Please stay on stable version unless you have a reason not to. >>>>>>>>>>> By all means you're encouranged to try it and report issues, but be >>>>>>>>>>> aware >>>>>>>>>>> that the 4.x release has significant changes on the execution and >>>>>>>>>>> reporting >>>>>>>>>>> pipework. >>>>>>>>>>> >>>>>>>>>>> On 10/07/2013 17:23, Selenium Learner 2013 wrote: >>>>>>>>>>> >>>>>>>>>>> Attached is the sample project to reproduce the problem. I am >>>>>>>>>>> looking output report file in the path/location >>>>>>>>>>> :-/target/jbehave/view/reports.html. >>>>>>>>>>> >>>>>>>>>>> In above output file, I could see report been generated for >>>>>>>>>>> Team1.story correctly as for Team.story all numbers are seen as 0 >>>>>>>>>>> in the >>>>>>>>>>> report when running in multithreading mode. >>>>>>>>>>> Is there any Jbehave architecture bug present ? Please suggest. >>>>>>>>>>> >>>>>>>>>>> It's happening when running stories via IDE(Eclipse) or >>>>>>>>>>> command promy(maven - mvn integration-test) i.e in both ways. >>>>>>>>>>> >>>>>>>>>>> Let me know in case of any questions. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Regards, >>>>>>>>>>> Selenium-777 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Jul 9, 2013 at 9:58 PM, Mauro Talevi < >>>>>>>>>>> mauro.tal...@aquilonia.org> wrote: >>>>>>>>>>> >>>>>>>>>>>> As already repeated, we can only help if you provide a >>>>>>>>>>>> project that reproduces the problem. >>>>>>>>>>>> >>>>>>>>>>>> On 9 Jul 2013, at 13:03, Selenium Learner 2013 < >>>>>>>>>>>> 777selen...@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> My problem is that even though stories could run on parallel >>>>>>>>>>>> basis but when report got generated I could not see correct >>>>>>>>>>>> reports. >>>>>>>>>>>> I have used the similar structure used in >>>>>>>>>>>> https://github.com/jbehave/jbehave-core/tree/master/examples/threads >>>>>>>>>>>> >>>>>>>>>>>> But when reports are generated they are not proper i.e story >>>>>>>>>>>> reports are seen overlapping hence can't judge which story got >>>>>>>>>>>> successful >>>>>>>>>>>> etc.. >>>>>>>>>>>> Any idea why its happening? >>>>>>>>>>>> I debug into jbehave source code and found that under the >>>>>>>>>>>> package package org.jbehave.core.reporters; there is one class >>>>>>>>>>>> ConcurrentStoryReporter which might solve the problem but don't >>>>>>>>>>>> know which >>>>>>>>>>>> method I should use under my configuration..could any dev help on >>>>>>>>>>>> this >>>>>>>>>>>> issue? Somehow this ConcurrentStoryReporter class has not being >>>>>>>>>>>> used for >>>>>>>>>>>> /examples/threads<https://github.com/jbehave/jbehave-core/tree/master/examples/threads>..is >>>>>>>>>>>> there any specific reason? Please advice >>>>>>>>>>>> >>>>>>>>>>>> My reports are generated under \targe\jbehave\view . >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> Selenium-777 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> >