cancel
Showing results for 
Search instead for 
Did you mean: 

Create DotNet String Array in JavaScript

Highlighted
Occasional Contributor

Create DotNet String Array in JavaScript

Hi,

 

I am trying to access few dotNet assemblies in TestComplete. I have added them in my project and they are loaded as well.

For one of the property assignment I need to create a String Array. TestComplete is not accepting JavaScript array and I am not able to define a dotnet String type array in test compete.

Could someone please let me know if it is possible to create a dotNet String array in TestCommplete.

 

 

 

Thanks,

Yusuf

3 REPLIES 3
Highlighted
Community Leader

Re: Create DotNet String Array in JavaScript

Hi

 

> "I am trying to access few dotNet assemblies in TestComplete. I have added them in my project and they are loaded as well."

 

What do you mean by "I have added"? You mapped it into NameMapping repository right?

 

> "For one of the property assignment I need to create a String Array. TestComplete is not accepting JavaScript array and I am not able to define a dotnet String type array in test compete."

 

Can you show me some example of code?

I'd be happy to help you solve the problem.

Highlighted
Community Manager

Re: Create DotNet String Array in JavaScript

Thanks for the reply, @Wamboo.

@Yusufm87, did it help or do you need any more assistance?

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

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

Re: Create DotNet String Array in JavaScript

Hi,

 

Check this thread: https://community.smartbear.com/t5/TestComplete-Functional-Web/Calling-Functions-From-NET-Assemblies...

 

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:
Top Kudoed Authors