Thursday, February 17, 2011

What is OTA? How to use OTA API? What all are possible with OTA API?

Quality Centre is a HP product, well before was HP it was owned by Mercury. Well this product is basically used by QA Organization with in a company as a Test Management Tool. Most of the organizations use this. However there could be a scenario where a particular project requires to use some other tool to log defects/ bugs. For ex: a project running in an Agile development environment that may use BugZilla for example, so development using 1 tool and QA using its organization specific QualityCentre may not be possible or in other words its hell a lot of work to enter bugs in to both the tools & keep them in sync as the project goes along.

To handle those scenarios QualityCentre comes with an API that a project can use to sync up other tools with QualityCentre. This API is called Open Test Architecture (OTA). You may notice QuickTest Professional and Quality Centre also uses this API to speak to each other. Another example is, people exporting bulk tests/  defects/ requirements in to QualityCentre from excel. This process also uses OTA in the background. However for this API the entry point is TDconnect.exe. You can download this exe file from internet by google'ing for it. Once you install this you will have the flexibility to use this in Excel or use the references/ API's in any other programming languages.

This way user can directly play with the database that the Quality Centre is running on without opening the GUI for it. You can literally perform every function that you can perform by logging on to its console, like
  • Logging in to QC
  • Find specific details about a Defect/ Requirement/ Test/ TestSet
  • Filtering Tests/ defects/ Requirements etc
  • Perform CRUD operations on Requirements/Tests/ TestSets/ Runs/ Defects etc
  • Also create links between Requirements > Tests, Tests > TestSets, TestSets > Defects and so on
You name it, you got it. Everything that you can manually on Quality Centre can also be done programatically using this API.

In order to perform most of the above mentioned stuff you would need to know the database structure/ schema so you know which table, which column to hit to get a value associated with a particular field in QC. Database schema is all open for everyone to know and is available on-line as well.

If you have Quality Centre installed on your machine, you can find the OTA reference guide, OTA database guide, and OTA custom type help files in your help folder. Alternatively, you can hit Help and then go to documentation page where you should get all this documentation ready available for you to either reference or download. In these help files you should see a good set of examples for each and every class module that we can use. an Example code to connect to QC is found as below:


Reference: OTA COM 9.0 Type Library

Note: You can find a list of open source tools that're currently available by searching for them on the internet. I found this link on the net http://www.software-pointers.com/en-defecttracking-opensource-tools.html

18 comments:

  1. Need Java code to connect QC database using OTA

    ReplyDelete
  2. After I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox
    and now each time a comment is added I recieve 4 emails with the exact
    same comment. Perhaps there is a way you are able to remove me from that service?
    Many thanks!

    Also visit my web blog semenax reviews

    ReplyDelete
  3. Ahaa, its pleasant conversation about this piece of writing at this place at this
    website, I have read all that, so at this time me also commenting
    at this place.

    my site; eyelasticity

    ReplyDelete
  4. I tweeted about your giveaway!

    Also visit my blog; Organic Chia Seed

    ReplyDelete
  5. Amazing! This blog looks exactly like my old one!
    It's on a totally different subject but it has pretty much the same layout and design. Superb choice of colors!

    Look into my blog post; skinception

    ReplyDelete
  6. Hello! I could have sworn I've been to this website before but after looking at some of the posts I realized it's new to me.
    Nonetheless, I'm certainly pleased I came across it and I'll be book-marking it
    and checking back regularly!

    My homepage http://www.sbwire.com/press-releases/customized-fat-loss-reviews-the-truth-fast-fat-burner-designed-for-every-type-of-body-243651.htm

    ReplyDelete
  7. Simply sought to say we appricate the internet site. You have got really place a whole lot of energy into your own article and it is actually simply wonderfull!


    Here is my website employment advice []

    ReplyDelete
  8. Hey there! I realize this is sort of off-topic however I needed to ask.
    Does building a well-established blog like yours take a lot of
    work? I'm completely new to operating a blog but I do write in my diary daily. I'd like to start a blog so
    I can share my personal experience and feelings online.
    Please let me know if you have any recommendations or tips for new aspiring bloggers.

    Thankyou!

    Feel free to surf to my site :: dubturbo the easy beatmaker []

    ReplyDelete
  9. Greetings! This is my first visit to your blog!
    We are a collection of volunteers and starting a
    new project in a community in the same niche.
    Your blog provided us beneficial information to work on.

    You have done a marvellous job!

    My homepage - increasing blood circulation to the genital

    ReplyDelete
  10. There's certainly a great deal to learn about this subject. I love all of the points you have made.

    Review my web blog - all muscle group exercises

    ReplyDelete
  11. how to create requirements tree view in qc

    ReplyDelete
  12. Hey there! Do you know if they make any plugins to help with Search Engine Optimization? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good gains.
    If you know of any please share. Kudos!

    my web blog :: trained

    ReplyDelete
  13. Hi..did any one know the api which can connect with ALM 12.01

    ReplyDelete
  14. Thanks for this. I really like what you've posted here and wish you the best of luck with this blog!


    CDS 2 2022 Exam Analysis

    ReplyDelete
  15. to use OTA API
    My site:123bokvip

    ReplyDelete
  16. The content is detailed and very informative.
    My site:King88

    ReplyDelete
  17. Thanks and that i have a super proposal: How To Reno A House cost for second story addition

    ReplyDelete