Can any one guide me how to built in Environment variables into script.I am using External environment varaibles wihtout any error and when i am using built in Environment variables as a Parameters like entering OS verision into some text field , QTP turns up an error.
Please , guide me to work with Built in Environment variables.
"OS" in Built-In variable.
It is predefined by QTP.
We can not control build-In varables (I mean: there is no way to write value into), as them are read only.
But, definatelly, we can use them by reading its values, as I've posted.
If you say:
MyVariable = Environment.Value("OS")
Your variable 'MyVariable' would hold value of Built-In QTP's variable ("OS")