Friday, April 12, 2013

Environment variables

How is an environment variable defined at run time?


           Environment(“Test Name”)=val

                 Note : The act of assigning a value to a non-existent environment variable causes QTP to implicitly create and initialize the variable.



How external variables laoded from an external XML file during run time?

          Environment.LoadFromFile “path”

How is an environment variable cleared or destroyed?

          Environment(“Test Name”)=”test”
          Environment(“Test Name”)=Nothing
 
Contributed by: Vamshi Gowtham
m.vamsigowtham@gmail.com 

Best practices for test automation in agile software development

  Agile software development is a highly iterative and collaborative approach to software development that emphasizes flexibility and a...