On Jun 28, 10:40 am, Koj <[email protected]> wrote: > Hi everybody, > I'm using for my application webdriver with Firebug/NetExport. > NetExport is started with the automatic export option set to true. > > I work on an ubuntu 10.04, with firefox 10.05 esr, firebug 1.9.2 > > I'm facing a several problems. > > 1) With the automatic export option set to true, I expect a new > archive is created each time a new page is reached from my webdriver > sequence. When my webdriver sequence is finished, I close the driver > (and so the browser). But depending on the size of the last loaded > page, netExport may have exported yet before the browser is closed. Is > it possible for netExport to intercept the close event and wait for > the end of the copy of the last archive before the browser is > effectively closed. There are https://developer.mozilla.org/en/Observer_Notifications quit-application-requested, quit-application-granted and quit- application events.
So, if the last archive would be sent synchronously to the server, the "browser-close" could be deferred (in theory). I have been solving the same issue in my blog post: http://www.softwareishard.com/blog/firebug/automate-page-load-performance-testing-with-firebug-and-selenium/ I am using a timeout, which is not much elegant (and safe). // Wait till HAR is exported Thread.sleep(10000); Please create a new issue report for this. http://code.google.com/p/fbug/issues/list > 2) Let's consider that sequence : > - open the google page > - type "something" in the search form > - see the result page. > > In this case, netExport only exports one archive which is the google > search page. The result page is not archived. Why? I would have to try it, but my first guess is that yes, the browser is closed before the HAR is actually exported. > 3) In some cases (bbc.co.uk) for example, netExport export 2 or more > archives for the same page. They both correspond to the current page > but the first one seems to be truncated and the pageTimings values are > set to -1 (for both property "onLoad", and "onContentLoad". > How can we explain that? can we avoid this behaviour and be sure one > and only one is created for each displayed page? This sounds clearly like a bug Check the existing issues: http://code.google.com/p/fbug/issues/list?can=2&q=extension%3Anetexport&colspec=ID+Type+Status+Owner+Test+Summary+Reporter&cells=tiles and if there is not related report already, please create a new one. (+ instructions how to reproduce the problem). Honza > > Thanks in advance > > Regards > > Koj -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at https://groups.google.com/forum/#!forum/firebug
