How can I check if a environment variable exist or not?

Submitted by: Administrator
When we use Environment("Param1").value then QTP expects the environment variable to be already defined. But when we use Environment.value("Param1") then QTP will create a new internal environment variable if it does not exists already. So to be sure that variable exist in the environment try using Environment("Param1").value.
Submitted by: Administrator

Read Online QTP Job Interview Questions And Answers