Sponsored Ad

Wednesday, October 20, 2010

QTP Array Basics: Lower Bound of Array

Steps to find lower index of Array:

1. Lower bound means lower index of array.

2. Use LBound function of VBScript to find lower index of array.

VBScript Program for lower index:

<html>
<body>
<script type="text/vbscript">

Website = Array("IndiHub.com", "SharepointBank.com")
msgbox LBound(Website )

</script>
</body>
</html>

Output of above program:

image

Where to Run This Program:

1. This VBScript Program code either you can use in QTP editor  (code between <script> and </script> tags ) and run it.

2. Write in Notepad, save with .htm extension and run on internet explorer.

0 comments:

Post a Comment

Sponsored Ad

Development Updates

Tech Updates