What is creation time property and how does it work?

Answer Posted / siva reddy(us)

During recording, if QuickTest is unable to uniquely
identify a browser object based solely on its test object
description, it assigns a value to the CreationTime test
object property. This value indicates the order in which
the browser was opened relative to other open browsers with
an otherwise identical description.
During the run session, if QuickTest is unable to identify
a browser object based solely on its test object
description, it examines the order in which the browsers
were opened, and then uses the CreationTime property to
identify the correct one.

For example, if you record a test or component on three
otherwise identical browsers, opened at 9:01 pm, 9:03 pm,
and 9:05 pm, QuickTest assigns the CreationTime values 0 to
the 9:01 pm browser, 1 to the 9:03 pm browser, and 2 to the
9:05 pm browser.

At 10:30 pm, when you rerun your test or component, suppose
the browsers are opened at 10:31 pm, 10:33 pm, and 10:34
pm. QuickTest identifies the 10:31 pm browser with the
browser test object with CreationTime = 0, the 10:33 pm
browser with the test object with CreationTime = 1, and the
10:34 pm browser with the test object with CreationTime =
2.


Ref QTP help for more details

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we handle run-time errors?

796


how to test Web application using QTP software

1763


Can we create user defined functions in qtp?

765


banking project description for software tester

7236


When do go for loop condition in test?

852


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

1688


For which type of projects the iterative model is not suitable?

1669


How to test background color and dynamic images during run time can you put the check point for moving objects?

1672


Explain about Test Fusion Report of QTP?

826


What is data driver in qtp? Where we use it?

772


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

7669


descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button

2007


In what occasion we can specify global sheet and action sheet?

774


How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?

3290


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1707