Delcaring .Net String variable using DotNetFactory
I am trying to declare .Net string variable in my QTP Script as below :
Set sqlString = DotNetFactory.CreateInstance("System.String","Syst em")
QTP throws the following error message
'Constructor on type 'System.String' not found.'
Please advise. thanks a lot.