Sponsored Ad

Monday, November 1, 2010

QTP Script: Get RGB Color Value

Steps to write script:

1.  Use rgb() function to get the combination of red, green and blue.

VBScript to get RGB color value:

<html>
<body>

<script type="text/vbscript">

msgbox rgb(255,40,33)

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

Output of Above Program:

QTP Script: Get RGB Color Value

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