I am trying to create a microbot. but could not find much documents or reference microbot code to develop new one
Can someone provide links to reference documents and project code to understand and develop new microbots?
I am trying to create a microbot. but could not find much documents or reference microbot code to develop new one
Can someone provide links to reference documents and project code to understand and develop new microbots?
Hi Dinesh,
Create a C# class library solution and implement IAECodePackage interface. I am providin sample code to append two strings.
namespace AppendString
{
public class AppendString : IAECodePackage
{
public string str1;
public string str2;
public string str3;
private string result;
[ArgumentDirection(Direction = DirectionType.Input)]
public string Str1
{
get
{
return str1;
}
set
{
str1 = value;
}
}
[ArgumentDirection(Direction = DirectionType.Input)]
public string Srt2
{
get
{
return str2;
}
set
{
str2 = value;
}
}
[ArgumentDirection(Direction = DirectionType.Output)]
public string Result
{
get
{
return result;
}
set
{
result = value;
}
}
public event EventHandler ExecutionCompleted;
public void Execute(StudioContext context)
{
Result = str1 + str2;
ExecutionCompleted(this, null);
}
}
}
Thanks a lot @amit_anand15 .
Is it possible to test the microbot class library directly from Visual studio?
Hi,
Yes it is. Attach your Visual Studio recorder to AutomationStudio.exe process
Regards,
Amit
Hi,
Lot of errors occur when I run this code in visual studio. Could you please help me out for the same.
Regards,
Muskan
Hi,
Kindly check if appropriate reference dll are present
Regards,
Amit