Forum Discussion
rraghvani
Champion Level 3
.NET routines with optional parameters, you need to use
dotNET.System.Type.Missing
for example,
dotNET.TestNamespace.MyTestClass.Method1(1, dotNET.System.Type.Missing)
where,
namespace TestNamespace
{
static public class MyTestClass
{
static public void Method1(int param1, string param2 = "")
{
// Todo
}
Grit
11 months agoOccasional Contributor
I have tried that already, but it does not change the original issue, which is that the constructor method is not available at all in TestComplete. The code completion only shows Equals and ReferenceEquals.
Related Content
- 2 years ago
- 11 months ago
Recent Discussions
- 16 hours ago