Can any one explain about environment variables with examples?
Answers were Sorted based on User's Feedback
Answer / pravati
environment variable is a variable which keeps the value through out action
environment variable are of two types
1.built in
2.userdefined
In built in-u can retrive the built in data
ex-msgbox environment.value("os")
In userdefined u can set the value in environment
ex-file>>setting>>envrnment>>userdefined(+)>>value(abc.01@gmail.com),name(username)
then retrive the data of value & name in test
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prathyusha
Environment Variables are used to get the basic information of system .
we do have two types
1.inbuilt environment variables
2.user-defined environment variables
Inbuilt environment variables used to get the basic information of system like test name,action name,user name,os
Eg: Environment.value("User Name")
User defined environment variables
two types
a.Internal environment variables
b.external environment variables
Internal Environment Variables are used to pass the values form one action to another action.
External environment Variables are used to store the master credentials of application.For this we can use Xml files to store the information and we can associate these files to the test and we can read the value using Environment.value("some variable").
Is This Answer Correct ? | 0 Yes | 0 No |
What are some test assets and related extensions of qtp?
diff between global variables and environment variables in qtp?
What is the extension of the qtp local repository?
from what stage you will start automation in your project
How to export data present in Datatable to an ".xls" file?
Explain how Does Run time data (Parameterization) is handled in QTP?
How can we change the .mtr file to .tsr file and vice-versa
If object is not recognized by qtp but the object is standard object what is your approach?
What is the BPT(bussiness process testing ).and what is the main difference between BPT and QTP
3 Answers EDS, GL Noble Denton, IIST,
can u please explain what r the challenges u faced in ur automation testing
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work