SPONSORS:






User Tag List

Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Application Not Responding

    I have come across a problem that I can't solve.

    Within my windows application that I'm testing, I have a menu item that if selected, it takes you to MS Word.

    I have created a test case that selects that menu item, and verifies that it takes you to MS Word, however, when running the testcase in SilkTest 5.5, it hangs as soon as I select the menu item.

    Neither MS Word or the application that I'm testing are responding.

    Can anyone help me with a solution to this?

    Thanks in advance...

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  2. #2
    Member
    Join Date
    Mar 2002
    Location
    India
    Posts
    63
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Application Not Responding

    I think its a Memory problem, just check CPU usage, I faced same problem it was opening Notepad, Wordpad and not MsWord, Try calling another application thru Menu


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

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Application Not Responding

    Memory is fine.

    When I do this manually it works fine. When I do it through SilkTest it crashes/hangs.

    It only hangs when I run this through SilkTest.

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  4. #4
    Junior Member
    Join Date
    Aug 2001
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Application Not Responding

    I am getting the same exact problem except I am testing a web application. It all seemed to raise its ugly head when I downloaded a IE 6.0 patch from MS called Q321232.

    From what I've seen it looks like the problem is occurring in the SilkTest builtin function WaitForReady() and Exists(). Since
    they are builtin they are black boxed to me.

    I have been trying workarounds but the functions are essential to my scripts and to SilkTest itself. Be great if anyone has any suggestions on this matter.

    -L.M.


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

  5. #5
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Application Not Responding

    I have tried every possible method, both Pick () and TypeKeys ("..."), but still wont work.

    Below is a sample code of what I'm doing. I can't see anything wrong:

    [ ] WindowFile.SetActive ()
    [ ] WindowFile.TypeKeys ("<Alt-f-l>")
    [+] while (!MSWordOpen.Exists () && Counter != 10)
    [ ] Sleep (1)
    [ ] Counter = Counter + 1
    [ ] MSWordOpen.SetActive ()
    [ ] MSWordOpen.Close ()


    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  6. #6
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Application Not Responding

    For the original poster, try picking the menu item with the keyboard, rather than a Pick (). Use window.TypeKeys (sKeys) where sKeys = "<Alt-t>

    " or whatever corresponds to the menu mnemonics.

    Hope this helps.



    ------------------
    John W Green
    jwgreen@automationexpertise.com
    http://www.automationexpertise.com

  7. #7
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Application Not Responding

    Replace your typekeys line with this code:
    withoptions {
    BindAgentOption(OPT_PLAY_MODE,"Win32")
    // put your typekeys command here...
    }

    John


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

 

 

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 04:05 PM.

Copyright BetaSoft Inc.