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
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
when u script reveiwing in which area u more concentrates?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance
How did you resolve conflicts present in Object Repository?
What are the methods of the TextStream object that are used for reading from a text file?
What is ObjectParamater?
In qtp, explain what is crypt object
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
How can i check items sorted or not in a weblist ? Give me the script for this...
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
Where we can use the synchronization?
What ate the Technologies supported by QTP?
What is the expert view?