Forum Discussion
rraghvani
7 months agoChampion 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
}
- Grit7 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 agoianlop
- 7 months agomacheshmeh
- 11 months agoIso_Yura
Recent Discussions
- 3 days agoMW_Didata