Extensive user guide which will have bean shell scripting techniques and Java Scripting techniques which covers all the methods, functions and classes.
Any luck with this? I can't even create easy scripts for string manipulation and there seems to be very little help online.
I am sure you have seen the current java script documentation. In addition to this documentation there is BeanShell documentation that can also help. You can also get more info on classes and attributes available at link. I do realize that documentation is spread out. Please provide your feedback on what we have and based on the feedback I will see what can be done to re-structure as well add more to it.
Hi all - there are lots of votes for this item and Ulrich_Vogt has tried to reach out to ask questions and gain clarity on what is needed. Can you each respond here with your use case so we can narrow this one down a bit?
I've had many situations where I wish the scripting capability has more context specific examples like there is in the VSI Match Script. So this is a case of "I don't know what I don't know" and would look to an extensive scripting guide for help. Scouring the documentation, communities, confluence, etc is often so much work and frustration that I just give up.
Scripting can be done in many different places in DevTest such as a Test Step, an Assertion, Scripted Data Protocol Handler, Match script, and...<where else?> Even a guide where there is one list of all of these places where scripting can be done would be helpful. It's kind of like an ease of use issue for power users if that makes sense.
I would like examples of how to: access properties, string manipulation, logging, manipulate runtime values, use TestExec. ...all in the appropriate context as listed above. And in a more easily accessed single location.
A good example fo the level of help in a guide is this document I found on the itko support confluence: https://support.itko.com/confluence/display/technotes/Why+and+How+to+use+the+Scriptable+Data+Protocol+Handler+-+a+tutori…
It does a good job of explaining context with a couple examples. It could even serve as a starting point for a more thurough and robust scripting guide.
Hope that helps!
Would it be helpful if we had a "scripting snippets" section in this community, possibly with subsections for each of the places where scripting can be used, so everyone can get access to helpful utility functionality, we have a shared place to upload cute things we try (such as my SSH script, or a quick utility I scripted to simply report every log event type the ITR, a script to round values, one to query Excel as a database, etc) and people can let me know when I implement methods in a leaky manner? My primer to which you linked is internal-only, and can't be shared here without updating it to remove some data.
Indeed, any scripting support via improved documentation, samples, webinars etc. is more than welcome. The effort in building a more qualified and supportive way to ramp up all of us is beyond doubt a very beneficial investment - even in a short term view. Maybe a one day training course would be the best way to do the job? As a relative newbie - the whole scripting paradigme is still a bit diffuse to me, and I find it very difficult to find useful help.
Just an FYI - work is underway here on a guide built by our SWAT team
Ulrich_Vogt is the lead and will update everyone once there is a draft to review. Changing the status of this one to "Planned" as it's in the works.
First version of DevTest 8.0 Scripting Guide is now available in Documents of this community(DevTest 8.0 - Scripting Guide - V1.1.pdf), together with a zip file of the scripts (DevTest 8.0 - Scripting Guide - SampleCode - V1.0.zip) used in the document. Please review and provide your feedback. Thanks to Rick.Brown and broca17 for their essential contributions and help.
In many place I see, people are posting url of support.itko.com, when I contacted CA, they said ITKO confluence site no longer exist. Can anybody tell me if it exist or not and if exist, how to get access?
I think it was by mistake, you should always start at support.ca.com<http://support.ca.com> or wiki.ca.com<http://wiki.ca.com> or check out communities.
+1 574 343 9557
Those were CA internal sites only. We published the doc you need here - DevTest 8.0 - Scripting Guide - V1.1.pdf
Can I have access to that sites. While working for previous client, I used to have credentials for that site. As it is an old site, it contain many useful information.
Retrieving data ...