SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2001
    Location
    Kimberton, PA, USA
    Posts
    9
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Scenarios Hanging

    Has anyone experienced a Suite running where a scenario runs multiple times and the 1st and 2nd time it runs OK, 3rd time hangs until outside intervention causes to to come back to life ?


    ------------------
    Brian Neiman, CSTE
    Brian Neiman, IT Audit, QA/Test & Process Improvement

  2. #2
    Member
    Join Date
    Aug 2001
    Location
    miami, Fl
    Posts
    45
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scenarios Hanging

    yep. Hitting space bar gets me out of the hang...i actually have a line of code that emulates hitting the space bar using the keybrd_event command or something of the sort
    Good news. Found it...

    keybd_event(vk_return,1,keyeventif_extendedkey, 0)

    Thats all one line of code. It has thus far proved effective in these hanging scenarios. Just stick that line at whatever point you freeze up.



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

  3. #3
    Member
    Join Date
    Dec 2000
    Posts
    58
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Scenarios Hanging

    Had this sort of problem a while ago. I found that we were not getting focus on the window that we wanted. The solution I used was to get the handle of the window and then use WSetActWnd to make the window active. You could also try WClkWnd this can click on the center of the window, but be careful that it only activates the application and that it doesn't access any elements.

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

 

 

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.71%
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 11:55 PM.

Copyright BetaSoft Inc.