Forum Discussion
rraghvani
2 years 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
}
- Grit2 years 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
- 4 years ago
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago