SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Points for Confirmed Friends
    Guest

    IE error with SilkTest 6.0 and htmlpopuplist

    Our web application has a dropdown menu (htmlpopuplist), and one of the selections opens a new popup window, done by javascript. For some reason when the silktest script selects that item, it does not launch the popup window and causes internet explorer to throw the following message:

    "An outgoing call could not be made since the application is dispatching an input-synchronous call."

    Has anyone else seen this? The script works with SilkTest 5.5 and even 6.0beta, but not 6.0. I've talked to Segue support and they've been unable to provide a workaround or even been able to reproduce this same error.

    Any help is appreciated. Thanks!

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

  2. #2
    Junior Member
    Join Date
    Nov 2002
    Location
    Minsk, Belarus
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: IE error with SilkTest 6.0 and htmlpopuplist

    Try to rediclare Select() method like this:
    [+] winclass HtmlPopupList:HtmlPopupList
    [-] void Select (string sItem)
    [ ] this.SetFocus ()
    [ ] this.TypeKeys (Left(sItem,1))
    [ ] string s = Upper(this.GetSelText())
    [-] while (Upper(this.GetSelText())!=Upper(sItem))
    [ ] this.TypeKeys (Left(sItem,1))
    [-] if Upper(this.GetSelText())==s
    [ ] raise E_CONTROL_NOT_RESPONDING
    [-] if Upper(this.GetSelText())!=Upper(sItem)
    [ ] raise E_CONTROL_NOT_RESPONDING


    ------------------
    Kosher regards and so on.
    Schizoid
    Kosher regards and so on.
    Schizoid

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Location
    Santa Clara, CA, USA
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: IE error with SilkTest 6.0 and htmlpopuplist

    Thanks for your reply! Unfortunately, that didn't work because using typekeys as you have was always just selecting the first item of the drop-down menu that started with that letter.

    Segue support did (finally) provide a workaround that works! The window identifier recorder picks up the control as CustomWin("[ComboLBox]#1"). So instead of Window.SomeHtmlPopupList.Select("Item") you could do Window.CustomWin("[ComboLBox]#1").TypeKeys("<Down n>"), where n is however many times you have to push down to get to the item you want to select.
    -- eliza

 

 

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.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:17 AM.

Copyright BetaSoft Inc.