SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Junior Member
    Join Date
    Sep 2008
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    runnign a function at specific intervals

    Hi All,
    I have a specific requirement, i need to take screenshots of a webpage at specific intervals while my scirpt is running. (placing the screenshot function after each and every line of code wont do), i need something like a timer which calls my screenshot function at each interval and captures the screenshot, is this possible this way or any other way.

    Thanks in Advance
    Regards

  2. #2
    Senior Member
    Join Date
    Nov 2007
    Posts
    263
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: runnign a function at specific intervals

    Based on your requirements you can't have QTP do it but yes, you could very easily do that with a C# application. It would take little effort to have an executable running and taking screenshots at regular intervals.

  3. #3
    Advanced Member
    Join Date
    Sep 2007
    Location
    Chennai, Tamil nadu, India
    Posts
    999
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: runnign a function at specific intervals

    Its possible. Use Tarun's Screen capture and comparison COM API. Create one vbscript with necessary functions outside QTP run the script when QTP starts.
    i have never seen bugs sleeping

  4. #4
    Junior Member
    Join Date
    Sep 2008
    Posts
    25
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: runnign a function at specific intervals

    Please tell me where can i get Taruns screen capture api

  5. #5
    Senior Member
    Join Date
    Jul 2008
    Posts
    212
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: runnign a function at specific intervals

    Go to knowledgebox.com

    [ QUOTE ]
    Please tell me where can i get Taruns screen capture api

    [/ QUOTE ]

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 10:40 AM.

Copyright BetaSoft Inc.