what are the environment variables,how do you use them.
give an example.
Answer Posted / chakrapani
Built in Enironment
a=Environment.Value("TestName")
msgbox a (this gives test script name )
if u see in qtp Resources Environment built in u find many
things like TestName, Pathdir,version etc
User defined Evironment
i want to store a value in run time and pass to another
script then
a=Enironment.Value("DocumentNumber")
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the types of object repositories? Which one is you are using?
What the differences are and best practical application of Object Repository?
How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box
Explain sub procedure of vbscript.
What are the different types of functions available in qtp and explain ?
Explain how Selenium is different from UFT?
Is it possible to change the property value at runtime? How it is possible?
How to use actions in qtp ?
Explain the concept of object repository and how quicktest professional (qtp) recognises objects?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Explain object spy in qtp.
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
How you can make an action as re-usable action?
How to add synchronisation points in qtp?
How do you send email with attachment from outlook using qtp ?