HOW AND WHY TO CREATE EMPTY OBJECT IN QTP?
Answers were Sorted based on User's Feedback
After an object is used the object has to be made empty so
that the memory used by that object is released and it can
be instantiated and used again. So we create an empty
object
Dim obj
Set obj = CreateObject("InternetExplorer.Application")
obj=Nothing
| Is This Answer Correct ? | 3 Yes | 1 No |
After an object is used the object has to be made empty so
that the memory used by that object is released and it can
be instantiated and used again. So we create an empty
object
Dim obj
Set obj = CreateObject("InternetExplorer.Application")
obj=Nothing
| Is This Answer Correct ? | 2 Yes | 0 No |
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?
Hello! i am having two comboboxes.Each having 10 items in it.when i select first item in first combobox,it is not similar in the second combobox.for ex in first combo if it is Hyderabad,in second it should be some chenai or some other item .Write a VBSCRIPT for that?
Explain in brief about the QTP Automation Object Model.
what is the difference between function and subroutine ....here every one knows theoretically...here my QUESTION IS WHAT IS THE MEANING OF FUNCTION CAN RETURN A VALUE AND SUB CAN NOT RETURN A VALUE .....WHAT DOE'S IT MEAN FUNCTION CAN RETURN A VALUE HOW FUNCTION CAN AND SUB CAN'T ....GIVE A EXAMPLE FOR BOTH ....HOW IT CAN AND CAN NOT...HELP ANDY ONE....
how to capture the run time values of web table.
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
what is descriptive programming?
I'm having a problem to get the status(pass or fail) during runtime for every iteration ran, and must get the results stored to an excel sheet if possible.
What are the steps involved in the recovery scenario wizard?
What is difference between QC and TD?
How can we check whether a particular sheet loaded (existed) or not in Data Table.
what is error and fault in terms of software quality?