What is VBScript QTP?
VBScript is the scripting language for QTP (Quick Test Professional). A scripting language is a lightweight programming language.
How do I do a VBScript in Excel?
VBA – Excel Macros
- Step 1 − First, enable ‘Developer’ menu in Excel 20XX.
- Step 2 − Click ‘Customize the Ribbon’ tab and check ‘Developer’.
- Step 3 − The ‘Developer’ ribbon appears in the menu bar.
- Step 4 − Click the ‘Visual Basic’ button to open the VBA Editor.
- Step 5 − Start scripting by adding a button.
How do you write a VBScript?
Step 1: Press Ctrl + Shift + S on the keyboard, Or click File>Save As on the notepad window, this will open up a Save As dialog window asking where to save the current notepad document. Step 2: Now write any file name of your choice for this notepad document but make sure you write . vbs as its extension.
Why do we need descriptive programming in QTP?
But descriptive programming provides a way to perform action on objects which are not in Object repository To identify an object during the play back of the scripts QTP stores some properties which helps QTP to uniquely identify the object on a page.
When does QTP take action on an object?
QTP cannot take action on an object until unless its object description is in the Object Repository. But descriptive programming provides a way to perform action on objects which are not in Object repository
How are regular expressions used in QTP and UFT?
Pattern matching and replace. Searching and replace. Text strings get assigned to the pattern property of a RegEx object. Regular expressions can be used in QTP/UFT for identifying objects and text strings with varying values.
What can a VB Script be used for?
VB Script is a subset of Visual Basic 4.0 language. It was developed by Microsoft to provide more processing power to Web pages. VB Script can be used to write both server side and client side scripting.