Ask a Question

JavaScriopt format script extension install

SOLVED
vthomeschoolmom
Super Contributor

JavaScriopt format script extension install

I do believe I am doing something wrong, potentially dumb even. 🙂

 

https://community.smartbear.com/t5/TestComplete-Functional-Web/How-to-format-jscript-code-in-Test-Co...

 

I had previously had this extension installed. I had to uninstall TC for a support case that was being worked on. I came to the referenced handy dandy thread. I took the zip and changed the file extension to tcx as I understood the instructions. I double clicked on the file. I chose the default desintation (see photo attached). 

 

I opened TC since it was closed when I did the above. I do not see the icon for this extension that I had before when the code editor is open. I checked the Install Script Extension window and do not see it in the list of available extensions. I went to Tools | Options | Engines |Script Extensions and added that folder location...

 

SOmeone please point me to what I am doing wrong? Thanks

10 REPLIES 10
vthomeschoolmom
Super Contributor

I see it in the destination folder.

It's not an obvious problem but a simple one.

If you open that zip file you got, you see it contains, not the files directly, but a folder that contains the files.  Extract those files, create a NEW ZIP file containng ONLY the files outside of the internal folder, change the extension... voila.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Ahhhhhhh that is what you meant in the other thread. Well, I am closer. I see the extension in the install screen (attached). Still no icon with code editor open. Thanks Robert!

With the extension installed, this is what I see.

ScriptFormattingIcon.png


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

I am laughing to myself since I was sure you were going to answer something that clearly demonstrates I am a moron. Again. 🙂 Thank you

Well.... it's not exactly obvious so I wouldn't put it as you being a Moron.  🙂  I think this has to do with how TestComplete handles those design time extensions... it kind of puts them all in the same drop down.  Not EXACTLY certain why, but there it is.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

Nope. Full on moron. 🙂 I am just kidding. Thanks again.

douglasv
Occasional Contributor

Hi,

Link to download this extension if off, can you send to us again ?

Thanks @tristaanogre 

HI,

 

Hm-m... The link to the thread as well as the link to extension (https://community.smartbear.com/nwkab66374/attachments/nwkab66374/Functional_Web_Testing/33527/1/Jav...) both work for me.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
cancel
Showing results for 
Search instead for 
Did you mean: