SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Aug 2001
    Location
    california
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Expanding a treeview

    Here's my question...

    I have a treeview with multiple objects (at least 500 objects). Now what I want to do is to measure the time it takes to display all those objects in the treeview. How do I go about doing this? I have been looking at the SilkTest methods and didn't find anything specific.

    Any input is much appreciated. Thanks in advance!!!


    ------------------

  2. #2
    Junior Member
    Join Date
    Jul 2001
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Expanding a treeview

    Welll, SilkTest has timers that you can create and use during testing to do just this sort of thing (see TimerCreate, TimerStart, etc.). My thought would be (and I'm assuming that this is a web page) that you start your timer once the web page starts loading (i.e. immediately after you do whatever it is you do to get the TreeView to begin displaying), do a Browser.WaitForReady () call (or, better yet, wait for the last object in the TreeView to be displayed, if you happen to know what that is), then stop the timer and get the elapsed time.

    I haven't done this, but it seems like it would at least give you some idea how long the TreeView is taking to display.

    Lisa


    ------------------
    Lisa Farley
    Automation Specialist
    eRoom Technology, Inc.
    lfarley@eroom.com

    [This message has been edited by lfarley (edited 08-10-2001).]
    If it wasn't for disappointments
    I wouldn't have any appointments.
    -- They Might Be Giants

  3. #3
    Junior Member
    Join Date
    Aug 2001
    Location
    california
    Posts
    23
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Expanding a treeview

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by lfarley:
    Welll, SilkTest has timers that you can create and use during testing to do just this sort of thing (see TimerCreate, TimerStart, etc.). My thought would be (and I'm assuming that this is a web page) that you start your timer once the web page starts loading (i.e. immediately after you do whatever it is you do to get the TreeView to begin displaying), do a Browser.WaitForReady () call (or, better yet, wait for the last object in the TreeView to be displayed, if you happen to know what that is), then stop the timer and get the elapsed time.

    I haven't done this, but it seems like it would at least give you some idea how long the TreeView is taking to display.

    Lisa

    <HR></BLOCKQUOTE>

    Thanks! I'll give this a try.

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:15 PM.

Copyright BetaSoft Inc.