tell me the script for envirnment value parameeter with an
example. which situation envirnment valu parameter is used
Answer Posted / jay prakash
There are several builtin environment variables provided by
QTP. When ever you want to use one just use it like this:
strName = Environment.Value("UserName")
msgbox strName
For the list of env var you can see File -> Settings ->
Environment.
Please let me know if it helps.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
What is quick test pro? What is a quick test professional?
What is checkpoints for quicktest professional?
what is actually contain test report? can anybody post the test report
What is the pros and cons between QTP and Rational Robot
how to do the batch testing in test director using manual testing procedure?
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
How to give a call to another action from one action?
after click on compose mail how can we attached a file in qtp with vbscript code
How to use the object spy in quicktest professional 8.0 version?
how many maximum number of virtual users we can create?
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
What is the difference between shared and local object repository?
Hi.. I want to do parametrization for selecting perticular flighr say XYZ by using local table: criteria: 1.If flight is available msgbox "Flight is available" and then select flight from flight table and click to ok button after that as enter username and ticket no and then stop 2. otherwise msgbox " Flight is not available" and stop Please help me out ..and let me know your responses on dipak.bachhav@gmail.com Regard, Dipak