12-10-2010, 11:24 AM
(This post was last modified: 12-10-2010, 11:31 AM by bfakruddin.)
Hmm...
Executefile "Path of .vbs file"....
where do u keep this line of code? in Test script or component rite...!
But, I don't have QTP here
I hope you didn't get my question...!
Actually My question is...
I've one application... It contains 2 buttons OK and CANCEL.
I have 2 vbscript files...
1.
2.
based on my button click on Application, the vbscript file must be executed... is it possible?
Executefile "Path of .vbs file"....
where do u keep this line of code? in Test script or component rite...!
But, I don't have QTP here
I hope you didn't get my question...!
Actually My question is...
I've one application... It contains 2 buttons OK and CANCEL.
I have 2 vbscript files...
1.
Code:
Function OK()
msgbox "You Clicked OK, navigation will continue"
End Function
2.
Code:
Function CANCEL()
msgbox "You Clicked on CANCEL, Application will be closed"
End Function
based on my button click on Application, the vbscript file must be executed... is it possible?