tell me types of environment variables? what r they? explain
details? pls give anwer any one?
Answers were Sorted based on User's Feedback
Answer / manjunath.dasari
Environment variable means we use variables in any where
and time
- 2types
1) Built-in ,2) user define
User Define divided into : ineternal & External functionl
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / siva
Environment variables are of two types
1.Built-in : These are system defined ex: OS, ActionName, OS
Version etc.
2.User-defined: These are two types one INTERNAL and the
other is EXTERNAL
INTERNAL: These variables are defined directly into test
which cannot be used in other tests
EXTERNAL: These variables can be defined in any editor and
save it as .xml file and associate with the test. The
variables can be used any test and these are read-only when
calling.
| Is This Answer Correct ? | 1 Yes | 2 No |
Explain getroproperty and gettoproperty & settoproperty?
Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine
Wat is the command used to add an object(properties) to an object repository?
If we write a script in the expert view how are the objects created in the object repository? to be clear i will explain my problem first i have recorded the mercurytours application by providing the link www.mercurytours.com and all the objects are stored in the object repository ok this is fine. but i have copied the script generated in the above processes and pasted in a new test and tried to run that script but as the objects were not stored in the object repository it showed an error (The "Welcome: Mercury Tours" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object).so how can i overcome that error
Differentiate the type of test cases which can be automated and which cannot be automated?
Is there anyway to have QTP go into a website and map out every object before I actually record any tests? I basically want to map out a website with all the objects and build a complete repository. The reason is because I'm running into issues with hierarcical objects. for example: Browser("ABC company- Home").Page("ABC company - Home").Link ("About Us").Click Browser("ABC company - Page 2").Page("ABC company - Page 2").Link("About Us").Click Both these links ("objects" and I use that term loosely as I'm trained mostly in OO programming) go to the same place but but the object heirarchies (pages) are different. I want a repository that will find any possible link on any possible page without having to manually record it. Is there a way to do this?
Can anybody give the script of below things. 1. Add sheet 2. Adding columns 3. Set the values in that columns(In the rows) 4. Close the sheet 5. How can we create 3 sheets in one Excel sheet??
i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks
Plz Explain AUTOMATION REFERENCE MODEL?
Explain the types of properties that quick test learns while recording?
How to count no of edit boxes on the page?
What are the different properties of an web object