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 to test background color and dynamic images during run time can you put the check point for moving objects?
Name the properties you would use for identifying a browser and page when using descriptive programming?
Hi Samrat, Thank u very much, what u said it is right.
How to connect to a database?
wht type of User defined functions or Java Releated functions do we write in VB scripting
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
What is optional step in qtp? How you can add optional step in qtp?
Describe synchronization point.
What are the ordinal identifiers in web page?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
Can we Test Welcome Screens and Process Images with QTP
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
In what occasion we can specify global sheet and action sheet?
How to test fly out menu in qtp?