Answer Posted / nanda
Sreeprasad is little right but not completely in my way...
he is right up to his answer..
he didnt say main use..
Environment variables are mainly used to know information of
run after completion of execution...and to pass the
variables from system configuration..
for examples...
If we are doing parameterization and after completion of
execution we want to know how many iterations were executed
and in each iteration what are the values were taken..we can
see them with out going results window and by writing
notepad file and using built in environment variables.
for this we create a folder for each test and we create text
file for each action..we will write these information in
notepad files.
For more information about this mail me@
nanda.dreddy@gamil.com
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Is it possible to switch between recording modes during a test creation?
How many types of recording modes in qtp?
your coming from electrical backgroung..but y ur coming to software side?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
How you can find the absolute value of the number in qtp?
What is the synchronization point in qtp?
how will load the object during runtime?
How would you directly trigger javascript in a test?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
Explain types of output values?
who QTP recognizes the object stored in object repository?
How to run a test using quicktest professional?
you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva
How to handle dynamic objects in quicktest professional?