• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Automated Check for CertManager Test History

 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're tired of constantly logging into the CertManager Database to check if your results have been posted you might like to have a look an HTML scraper I've put together. The source is freely available via SourceForge - all you need is a subversion client.

I only coded it this morning so it's a bit rough and ready, but it does the job. For details check out the associated blog post. If you've any feedback please leave a comment there.

Regards,

Jonathan
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see no files under download page. See screen shot attached
screen.jpg
[Thumbnail for screen.jpg]
Screen shot
 
author and jackaroo
Posts: 12199
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
According to the blog, you can get the source code from svn - I just tried that and found all the files that way.

Note: he is only providing source code at this time, so you need to be able to compile it yourself.
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

If you're tired of constantly logging into the CertManager Database to check if your results have been posted you might like to have a look an HTML scraper I've put together.





Something similar can be done by writing a selenium based JUNit case and check for a HTML element. I was too scared to check my results initially

Can your tool also change the result from FAIL -> PASS ?
 
J J Wright
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Note: he is only providing source code at this time, so you need to be able to compile it yourself.



The intention was always for people write their own listeners. As an example you could send yourself an email when you're results get posted. That way you can just leave it running and put the whole "waiting for results" thing to the back of your mind.

To make that process a little easier I plan on adding a binary release with a configuration option that allows you to specify the class name of any custom listener(s). Then you can simply add your own code to the classpath, without the need to checkout and compile the scraper source.

Regards,

Jonathan
 
Andrew Monkhouse
author and jackaroo
Posts: 12199
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jonathan

Please check your private messages regarding an important administrative matter.

-Andrew
 
Always look on the bright side of life. At least this ad is really tiny:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic