• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
        • Enterprise Synthetic Monitoring
      • Synthetic Classic
        • Synthetic Classic Open Q&A
      • BSM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Dan G. · Sep 30, 2011 at 03:50 AM · continuous delivery

CI and robotframework

We have run a couple of proof-of-concept projects to look at dynaTrace Continuous Integration hooks and we like the concept. I have tested the NUnit path for our .Net users and the TestNG path for our java team. I've also used the VS 2010 plugin and the Eclipse plugin so all the pieces are in place.

What i'd like to know is how I can fit the dynaTrace CI hooks into our existing use of Robot Framework.  Has anyone tried this? If so, what do I need to enable my automation team who are heavily into this framework and not very likely to switch over to JUnit or TestNG?

Comment

People who like this

0 Show 0
10 |2000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Andreas G. · Sep 30, 2011 at 03:59 AM

Hi Dan

Do you use Robot to test your Web Applications through browsers? I am not familiar with the Robot Framework but it looks like it is using Selenium under the hood. I further assume that Robot allows you to inject JavaScript calls into the running Application as this is a feature provided by Selenium. If that is the case you can get this integration working by injecting JavaScript calls to our _dt_setTimerName methods. That allows you to tell dynaTrace about the individual test steps you are executing. More information on these Timer Names: User-defined Timers

Out of the box you can use the Automatic Timers. Its a checkbox in the Test Automation Settings in your System Profile. With this option on you should get automatic testing support for every URL your are testing with Robot.

Hope this helps as a start. One thing you need to figure out is how to set our DT_XXX envirfonment variables to the launched browser

Comment

People who like this

0 Show 0 · Share
10 |2000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Dan G. · Sep 30, 2011 at 04:35 AM

Well we're not using the selenium hook for robot framework(RF) - at the moment - but that could happen. RF is similar to cucumber from what I'm told.....

Specifically, we use the RF capability of writing a test specification using plain text files that are then mapped into our test java classes during test execution. So there is no browser but we do make http calls to our search url from our test java classes.

Comment

People who like this

0 Show 1 · Share
10 |2000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Andreas G. &. · Sep 30, 2011 at 04:51 AM 0
Share

Thanks for the explanation. Now - your Java Test Classes - are these tests following any standard, e.g.: implement JUnit Interfaces or use JUnit Annotations? If so - dynaTrace could automatically pick them up.
If thats not the case we may find a way to extend our "Java Tests" Sensor Pack to also pick up your Test Classes. An example of such a test class would help here. As I assume you dont want to share this data in public you can send it to my via email.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 10 attachments (including images) can be used with a maximum of 52.4 MB each and 262.1 MB total.

Welcome to the
Dynatrace Community Forums

Check out the Forum User Guide and Forum Guidelines to learn how to get started.

Community Member of the Month
February 2019

Announcing Dynatrace's Community Member of the Month for February 2019, Larry R.! Click here to read more!

Employee Member of the Month
February 2019

Announcing Dynatrace's Employee Member of the Month for February 2019, Dave M.! Click here to read more!

Live webinar: AIOps done right through enhanced Dynatrace AI root cause detection

Learn the enhanced capabilities of the next generation Dynatrace AI root cause analysis and how to feed it with your own data sources.
Wednesday, February 20, 2019
Register today!

Live webinar: AIOps done right through enhanced Dynatrace AI root cause detection

Learn the enhanced capabilities of the next generation Dynatrace AI root cause analysis and how to feed it with your own data sources.
Wednesday, February 20, 2019
Register today!

NAM 2019 Beta is available

Would you like to have an early taste of what we have cooked up for 2019? We would love to hear your feedback and improve some of the new features. Check NAM 2019 Beta release notes.
Sign up today!

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Continuous integration with Team Foundation Server 2010 2 Answers

Tagged Web Requests Don't Show Up 7 Answers

Loadrunner integration in Loadtesting - Unique transaction question 2 Answers

Is Maven goal 'setTestInformation' still valid for version 6.1? 1 Answer

Could you please provide details on how to integate Dynatrace with the Jenkins pipeline. In particular running Jmeter tests 1 Answer

Forum Tags

nginx java dotnet docker 6.5 ios customization knowledge sharing browser agent mobileapp sensor chart 7.1 hybris 6.3+ production incidents Dynatrace Managed php javascript processes monitoring nodejs uem splunk license framework good to know installation web services plugin splitting rest webserver reports 7.0 kubernetes errors rum mainframe 6.1 account configuration forum user guide security web dashboard agent load window oneagent upgrade diagnostics search scheduler appmonsaas log analytics database performance warehouse services web performance monitoring user sessions test automation transactionflow measures business transaction migration plugins android dashlet server purelytics 6.2 rest api system profile appmon appmon 7 mobile monitoring collector adk messagebroker purepath apache guardian appmon iis 7.2 dashboard mq kibana client continuous delivery unique users postgresql sensors documentation alerting auto-detection 6.3 administration
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A
      • Enterprise Synthetic Monitoring
    • Synthetic Classic
      • Synthetic Classic Open Q&A
    • BSM Open Q&A