Hi
U can use DotNetFactory in QTP to call method which is developed in VB
Dotnet /C#
Create Class library and write function in Class file
eg
namespace NewNameSpace{
class newClass{
public int Add(int x,int y){
int result;
result=x+y
return result;
}
}
}
Now Build this class file
after build this DLL will be created
copy this DLL in any drive C:\DLL\MyDll.dll
Dim objMyDll
Set
objMyDll=DotNetFactory.CreateInstace("NewNameSpace.newClass","C:\DLL\MyDll.dll")
Dim temp
temp=objMyDll.Add(10,20)
Msgbox temp
if u have any other query feel free to ask
Thanks & Regards
Sujit
On Sun, May 6, 2012 at 9:29 PM, Abhijeet <[email protected]> wrote:
> Why can't you use a simple vbscript code to launch QTP, and thereby your
> test through it ?
>
>
>
> On Wednesday, 25 April 2012 18:15:19 UTC+5:30, KRISHNA CHAITHANYA wrote:
>>
>> *Sparking Evening for All, *
>>
>> Can anybody shed light on making complete project as* .exe file via
>> dotnetfactory*?
>>
>> *and one more curious question ..*
>>
>> Actually i am search for IE 8 & IE 9 browser coding through dotnetfactory
>> (bycreating browser object etc..) for working in QTP 9.5 .
>>
>>
>> So please help me out if any one idea on this.
>>
>> --
>> Thank you,
>>
>> Krishna Chaithanya Chinthakayala (Kris) | Mobile: +91 9885066684
>>
>> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en