Advanced QTP interview questions may examine not only various aspects of QA tester's hands-on experience with HP QTP, but how deep the interviewee knows VBScript - HP Quick Test Professional scripting language. The candidate for QTP QA tester position should be familiar with VBScript variables and arrays, able to explain the difference between VBScript function and VBScript subroutine and for some high level test position show the real life experience working with VBScript classess.
VBScript subroutine is a series of statements, enclosed by the Sub and End Sub statements, can perform actions, but does not return a value, can take arguments and without arguments, it should include an empty set of parentheses.
VBScript function is a series of statements, enclosed by the Function and End Function statements, can perform actions and can return a value, can take arguments that are passed to it by a calling procedure, without arguments should include an empty set of parentheses and returns a value by assigning a value to its name.
The major difference between VBScript function and a subroutine, is that a function can return a value back to where it was called from.
QTP Interview question 34: Explain the difference between VBScript function and VBScript subroutine?
Labels:
QTP 10
Subscribe to:
Post Comments (Atom)
Common QTP Interview Questions
- QTP Interview question 35: Using HP QTP on locked system or with Microsoft Remote Desktop connection?
- QTP Interview question 34: Explain the difference between VBScript function and VBScript subroutine?
- QTP Interview question 33: Do you know any error messages of QTP license server?
- How would you use HP QTP 10 for an agile testing?
- Have you heard about HP QTP 10?
- Where to download HP QTP 10 tutorial?
- What is FSO in HP QuickTest Pro?
- Does HP QTP 10 support Chrome browser?
- How to retrun the number of links in a web page with HP QTP?
- HP QTP Interview Question 25: How to view QTP test results in HTML format?
- HP QTP Interview Question 24: Winrunner vs QTP comparison?
- HP QTP Interview Question 23: Pop up windows is not being recognized?
- HP QTP Interview Question 22: How would you select test case for automation?
- HP QTP Interview Question 21: Explain the difference between GetROProperty and GetTOProperty?
- HP QTP Interview Question 20: How to build automation framework around HP QTP 9.5?
- HP QTP Interview Questions 19: Where to download HP QTP 9.5?
- HP QTP Interview Questions 18: How to recognize text in CAPTCHA image with HP QTP?
- How to use Microsoft Excel in HP QTP Pro test?
- How can I verify if a page is completely loaded?
- How to alter the properties of a run time object?
- How to modify the properties of a test object?
- Elucidate the divergence amid test objects and run time objects?
- Selenium vs QTP?
- QTP Firefox support
- QTP Flex automation
- Object Spy in QTP?
- QuickTest Pro certification and job market?
- QTP certification and job search?
- Where to download QTP free trial version?
- What is QTP maintenance number?
- Decide on QuickTest Pro licenses for your organization?
- Explain the difference between QuickTest Pro licenses?
- Where can I buy any books on QuickTest Pro?
- What is the latest version of QuickTest Pro?
No comments:
Post a Comment