Forum Discussion

sergi's avatar
sergi
Contributor
12 years ago

Tips for developing "advanced" framework and tests with Javascript

Hi,



I'm developing a framework around an application to be able to do tests more easily and reusable across the whole project.



I'm finding a lot of trouble with the TestComplete IDE usability.

The autocomplete window won't work for custom Javascript objects/classes, there are no typical helping features like Refactor, Find Usage, etc.



Is there anyone working with advanced scripts and TestComplete IDE? Are you suffering the same problems?

Is there any IDE alternative to develop the scripts?



From TestComplete side, is there any plan to improve the code editor? The features oeffered by TestComplete are really awesome, but the editor makes things really harder...



Thanks!

16 Replies

  • Hi Phil,

    Thanks for the suggestions. I'll look into Script Extensions to see if they can suit our project.



    Jose I'll check Sublime, from which I hadn't heard before.

    The most needed feature in my case is the intellisense working properly.

    I actually have this (also from other units) in Eclipse as long as the files are .js but not for .sj!



    I have actually just lost a bit of faith if I have to wait for SmartBear to improve the editor.. Now I need what I've seen Eclipse can provide and, honestly, TC is way behind.. :(
  • Thanks for the suggestion Jose.

    Though it's more tricky than I would have wanted, it is a possible workaround..
  • jose_pita's avatar
    jose_pita
    Super Contributor
    Have you tried to look for some javascript plugin for eclipse that includes sj files?
  • Hi Jose,

    I have been able to configure Eclipse in a way that opens .sj files with the Javascript editor and so on, but the problem is that JSDT (Javascript Development Tools) plugin does not look for references in the other .sj files, only .js.

    I guess then it's a limitation in JSDT.



    Do you think there could be a plugin to fix this?
  • jose_pita's avatar
    jose_pita
    Super Contributor
    I've googled it a little but everyone talks about JSDT...sorry.
  • Thanks for your help Jose.

    I'll explore the Eclipse + renaming way.