cancel
Showing results for 
Search instead for 
Did you mean: 

Jquery scripts in test complete

Highlighted
New Contributor

Jquery scripts in test complete

Hi,



I want to use Jquery scripts to create testing scripts using test complete.

Can you please provide information how can i use the same.



Thanks
3 REPLIES 3
Highlighted
Community Manager

RE: Jquery scripts in test complete


Hi Aryan,


 


JQuery is mostly used to create a client side of web pages. I'm not sure if it's possible to create a reliable testing framework based on this library.


Could you please describe your task in detail? Maybe somebody could give you some advice.


 

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
New Contributor

RE: Jquery scripts in test complete

Hi,



I am using javascript currently for generating scripts in test complete but in some places it's difficult to write the script using javascript whereas it may be easier to execute using jquery. that's thereason i want to know how to add jquery along with my javascripts code.



Thanks.
Highlighted
Community Hero

RE: Jquery scripts in test complete

Hi Aryan,



Try to change jquery's file extension from .js to .sj and add it as already existing script unit to your TestComplete project. (Don't forget to reference jquery file from other script units using USEUNIT directive.)
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
================================
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to pass custom command-line arguments as a test parameter for the TechCorner tag!

Will you dare to take the challenge?


Top Kudoed Authors