Ask a Question

Create DotNet String Array in JavaScript

Yusufm87
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
Wamboo
Community Hero

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.

TanyaYatskovska
SmartBear Alumni (Retired)

Thanks for the reply, @Wamboo.

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

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



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
================================
cancel
Showing results for 
Search instead for 
Did you mean: