R – code actions directly using vbscript when QTP does the same thing too

qtpvbscript

Basic doubt…If QTP generates vbscript code as we record actions, can't we directly write vbscript code and get rid of QTP which does the same thing too?

Best Solution

Yes. You can write the code yourself, but you'd have to paste it into the QTP UI.

No. QTP is the engine that runs through it. The VBScript relies on the QTP UI to perform the actions in question, such as clicking on a link on a web page.

Related Question