I have a scenario where I need a value which would be generated by running a python script in the middle of UI based automation script written in C#. Can it be possible to run a python script and provide a value to it and get the result from the python script as input to my UI automation script?
My current automation framework is Selenium using N-unit, and the scenario would be run in Chrome browser
here is the python script which I would be using
(import XYZ
random_message = input("Please enter the message to be signed")
print("Message to be signed is %s" %random_message)
private_key = input("Please input firstvalue:")
print("Your wallet firstvalueis: %s" %firstvalue)
Converted_Value= XYZ.firstvalue_to_Converted_Value(firstvalue)
hex_compressed_firstvalue = bitcoin.encode_firstvalue(firstvalue,'hex_compressed')
print("Your compressed firstvalue is:", hex_compressed_public_key)
hex_addr = XYZ.pubtoaddr(hex_compressed_firstvalue)
print("Your wallet address is:", hex_addr)
signed_message = XYZ.ecdsa_sign(random_message, Converted_Value)
print("Signed message is: ", signed_message)
)