Thank you all for the response.
Could you please suggest a way to convert a list into python array so when we pass the variable to the java classes the variable is considered as a string array.
I imported numpy libraries in the site packages folder of test complete and added the below code.
Our Code:
sys.path.insert(0, "C:\\Program Files (x86)\\SmartBear\\TestComplete 14\\x64\\Bin\\Extensions\\Python\\Python38\\Lib\\site-packages")
import numpy as np
a = ["one', "two", "three", "four"]
arr = np.array(a)
Log.Message(arr)
Log.Message(arr) is not printing anything in the logs and also when I pass it to the java classes it is throwing an error below which is pointing to the line import numpy.
Error Msg:
Access violation at address 00007FFC0C763CF9 in module '_multiarray_umath.cp38-win_amd64.pyd'.