Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - What is creation time property and how does it work?




254
views
asked marvit August 21, 2014 05:45 AM  

What is creation time property and how does it work?


           

1 Answers



 
answered By Dharma   0  
  • 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.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert