Forum Discussion
Thank you replying, I have my own keywords developed when I was using UFT, is it possible to add them as methods in Testcomplete without using the recording means I need to define my own methods and than test an Excel script by calling some of these keywords ? I want to do that to don't lost my old scripts and to test them with Testcomplete too with the possible minimun of changes.
I just need to use my old execution steps and keywords developed in VBScript too to run my old and my new tests in Testcomplete, is this possible or I have to redefine my keywords(methods) and execution steps according to Testcomplete terms ?
I'll confess, I don't know a thing about UFT, about how it works, about what things you can set up in there, etc. So... if you have VBScript code files you created in UFT that do certain tasks and such, best thing I can tell you is try to add them to your TestComplete project and see what happens. Again, you might have to do some rework of a few things, especially things referencing the UFT object repository (what TestComplete calls Namemapping) and any other native UFT objects you are referencing.
Again, it won't be a 1 to 1 port... you can't just dump UFT stuff into TestComplete and expect it to work "out of the box".
- rhsou1239 years agoContributor
Yes certainly, I will not dump UFT stuff and instractions into Testcomplete and wait it to work.
I will import my files in Testcomplete and I will try to make them work.
- Colin_McCrae9 years agoCommunity Hero
I've used both with VBScript. Well, UFT was still QTPro when I used it, but I get the idea.
tristaanogre is right. You won't get a straight port. They are too different. Similar, yes. But different enough that it won't port.
You should be able to copy in the basic logic and re-work it to fit TC though. How complex that will be entirely depends on your tests and how complex they are and how you wrote them.