Wednesday, 3 June 2015

How to find Current test name in QTP ?


Set qtApp = CreateObject("QuickTest.Application")
MsgBox qtApp.Test.Actions(1).Name


or


curAction = Environment.Value("ActionName")
msgbox curAction


No comments:

Post a Comment

Note: only a member of this blog may post a comment.