cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to Automate Windows /C# Applications using TestComplete with JavaScript

SOLVED
New Contributor

Is it possible to Automate Windows /C# Applications using TestComplete with JavaScript

HI,

I want to automate objects on my Desktop(either be a thick client application/Windows application or any except Web Application) with Test Complete JavaScript.

I we can perform all actions with JavaScript coding  (rather Record and Play),please guide me through a Web URL.
I have https://support.smartbear.com/testcomplete/docs/scripting/specifics/javascript.html 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Is it possible to Automate Windows /C# Applications using TestComplete with JavaScript

Hi,

 

Yes, this is possible.

Scripting language for TestComplete project and technology used to create a tested application are not related in any way to each other.

https://support.smartbear.com/testcomplete/docs/app-testing/desktop/index.html

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
3 REPLIES 3
Community Hero

Re: Is it possible to Automate Windows /C# Applications using TestComplete with JavaScript

Hi,

 

Yes, this is possible.

Scripting language for TestComplete project and technology used to create a tested application are not related in any way to each other.

https://support.smartbear.com/testcomplete/docs/app-testing/desktop/index.html

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Contributor

Re: Is it possible to Automate Windows /C# Applications using TestComplete with JavaScript

Thanks for reverting back.

Can you guide me through some references,where i can learn to code in TestComplete using Javascript.

I do have knowledge on Selenium,so wanted to try TestComplete for Thick client and windows application,before aquiring in my company

Highlighted
Community Hero

Re: Is it possible to Automate Windows /C# Applications using TestComplete with JavaScript

Hi,

 

TestComplete is extremely well documented and it is really worth to read its documentation for details.

 

First off, you may try record a simple keyword test (which is suggested by default) to get an initial impression. (Don't expect the recorded test to be reliably replayed. Reliable replay of the recorded test requires some preliminary NameMapping activities.)

https://support.smartbear.com/testcomplete/docs/testing-with/creating/index.html

 

Then you may convert recorded keyword test to code (right click it and select appropriate command from the context menu) to get a coded version of recorded test.

https://support.smartbear.com/testcomplete/docs/testing-with/running/index.html

 

Before going on, I would recommend to carefully read documentation about how TestComplete recognizes and addresses objects of the tested application: https://support.smartbear.com/testcomplete/docs/testing-with/object-identification/index.html

 

Last but not the least: Page Object Model and search by XPath are holy cows in Selenium world. But they are not the best means for TestComplete tests. Actually, Object Browser already provides you with a kind of POM, so no real need to re-implement it. And the search methods provided by TestComplete (Aliases and .FindXXX() methods) work faster and are more convenient and flexible then search by XPath (which you will not be able to use for Desktop anyway Smiley Wink )

 

Also, recordings from the https://support.smartbear.com/screencasts/testcomplete/ page are worth to be seen.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors