QTP10.com is a new and completely free website that offers help in all the versions of HP QTP (including latest version 10). More importantly, it offers free code for users of HP QuickTest Professioal. This site helps you in learning the basics of QTP and descriptive/advanced programming in (QTP) on various environments like - .Net, Infragistics, Web, Windows, etc.

Note -
This blog is NOT affiliated with HP / Hewlett-Packard in any way. The data/questions come from various sources and we have our own testing questions. I am just another Software Tester like you.

Challenging QTP Questions | Judge yourself in QTP

Part 1

1) How a variable can be made to be accessed by all the Actions of a Test?

Hint:

a) By using GlobalDataSheet

b) By using Environment variable

c) By Public Function

 

2) Which Environment variable is used to read product License from a File?

Hint: LSHOST

3) The General Error message that appears on loading a file using Environment.LoadFile method is “The format of File is incorrect”. What type of Files can be loaded?