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 to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks

2770


Explain the concept of object repository and how QTP recognizes objects?

563


What is the use of Debug Viewer?

1500


What is the latest version of qtp?

603


could any help me please, how to work on visual foxpro application using UFT

1710






how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1337


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1503


To which environments does quicktest professional (qtp) supports?

607


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

1600


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1431


What are the methods used in UFT to handle exceptions or run-time errors?

660


RECENTLY I PLACED IN QTP..HOW TO IMPROVE VB SCRIPTS KNOWLEDGE? IAM STRUGGING TO WRITE THE AUTOMATION SCRIPTS? ANY BODY TELL HOW TO IMPROVE QTP SCRIPT SKILLS?

2202


Define Environment Variable in UFT and its uses?

620


How often were they executed?

2047


A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.

1294