Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CreationTime property
#1
Solved: 10 Years, 8 Months, 4 Weeks ago
Hi,
i have some open browser, and i want to do a function to open a new browser and pass hwnd property to the calling script. I'd like to use CreationTime property in a collection of Browser objects, find the max CreationTime and so individuate last browser as my new browser.
My problem is that when i capture CreationTime of various browsers, i don't find values 0,1,2,... but numbers as 4,69E-300... and if i use round function, all CreationTime values are =0.
Is there a sure method to individuate last open browser, without using hwnd property and without closing all previous open browsers?

thanks
Reply
#2
Solved: 10 Years, 8 Months, 4 Weeks ago
something is wrong with the capturing part... creation time can't be other than the whole no's
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT descriptive programming Browser("creationtime:=-1") not always working SOUMYADEEP 0 2,891 01-20-2017, 01:53 AM
Last Post: SOUMYADEEP
  how to check checkbox's readonly property if developer has not used this property blanchedsouza 0 4,494 05-15-2008, 04:27 PM
Last Post: blanchedsouza

Forum Jump:


Users browsing this thread: 1 Guest(s)