Steps to write Upper bound program VBScript:
1. use UBound function to get upper bound (maximum dimension) of array.
2. use LBound function to get lower bound of array.
Upper bound VBScript code in QTP:
<html>
<body>
<script type="text/vbscript">
site = Array("CsharpTalk.com", "TestingWiz.com")
msgbox UBound(site)
</script>
</body>
</html>
Output:
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