Forum Discussion
Excellent discussion here gentlemen, thanks for posting on this mgroen2.
tristaanogre we have pseudo-talked (email) about this a bit in the past and what you shared with me has been most helpful.
So thanks again for building the test community.
Question for Colin_McCrae and tristaanogre:
What existing open source framework options did you guys review/trial before deciding to write your own?
Did anything out there show promise for you?
Baseline I guess is why ultimately would you write your own framework?
As Colin said, to write this is a development effort and no small one either.
My team is evaluating how to approach this right now, so I am interested in how you guys approached this and how it has worked for you.
Thanks,
Daniel
- tristaanogre8 years agoEsteemed Contributor
Hey, dbattaglia... didn't make the connection before. :)
With regards to open-source framework... there really doesn't exist such a thing for TestComplete. So, for me, it was a matter of needing to write something for the tool I was using. I modeled it after a couple of ideas that were fluttering around on the internet... I think Colin_McCrae might have read some of the same stuff. ;)
I mean, Selenium models exist that mirror somewhat what I've done. I've seen similar constructions written in Java (robot was one that was used at a job I interviewed at). So... I kind of borrowed a bit from here and there... the latest iteration that uses "classFromName" of my framework came out of a question in a job interview about utilizing data reflection and so on...
My current position is using a different framework structure than what I wrote. It's still VERY much sourced in data but with a different model of operation based upon corporate requirements. So, my best hint to use is to spend the time figuring out1) Skill sets of the people involved
2) Resources available (database servers, VM's etc)
3) General architecture of the product under test (some of this might dictate exactly how you build the framework)
And then build from there. My best hint is what was described above, that you abstract the information needed to execute the test from the code that does the actual execution so that adding new tests consists mostly of adding new data and only minimally adding new code. This will make for a more sustainable test framework and one that will grow more easily.
- Colin_McCrae8 years agoCommunity Hero
As tristaanogre mentioned, nothing really out there for TestComplete in terms of off the shelf stuff.
Personally, I wrote mine based on past experience with QTPro. Wanted something that is easy for a tester to populate without having to go near any scripts, so Excel is ideal. And I prefer to have full control of exactly how my reporting is done, hence using my own results and log files. The built-in ones are not bad. But mine are more flexible. :smileyhappy:
And yeah, it is a development hit to get it up and running. But if you get it in place and solid early, it shouldn't require much maintenance and adding to going forward. I had to add in TFS functionality, but that's a totally separate thing to everything else in the framework so easy to add without disrupting anything. I wrote mine about 3 years ago and having changed much since I got it how I wanted it.
- dbattaglia8 years agoContributor
Colin_McCrae can you tell me a bit more about your reporting approach?
what does your custom reporting/logging provide that the testcomplete logging doesn't?
what format are you writing to?
thanks again!
daniel
Related Content
- 4 years agoAutomation1id
- 11 years agomurugans1011
- 3 years agoMoUddin