Forum Discussion

rwestbury's avatar
rwestbury
Contributor
14 years ago

Converting SilkTest scripts to TestComplete scripts

Hello,



Are there any methods of converting SilkTest scripts to TestComplete scripts?



Thanks,



Robert.

1 Reply

  • Hi Robert,


    There are no special means to do that. Here is a piece of advice posted to our forums some time ago by one of TestComplete users:




    It's slightly less hopeless than that if you follow this procedure:


    1) Start your target app.

    2) Turn on TestComplete and start recording.

    3) Start your SilkTest script.


    TestComplete will then record the steps. This method is not great. Loops

    will come through as repetitive code and there will be a great deal of editing

    per script to make things maintainable. Depending on your current infrastructure,

    it may be a viable method.


    We don't use recording at all. We wrapped all the native TC code in our own

    functions and we write scripts by hand, line by line. Doing it this way actually

    does make portable code. I could swap out the guts on every function to a

    completely different language and still keep the actual scripts. It's a lot

    of work up front, but saves work down the road. Unfortunately, that's a concept

    that's always been difficult to sell to management, who are always looking

    for some pipe dream/silver bullet that will allow them to not have to hire

    expensive skilled scripters.