SPONSORS:






User Tag List

Results 1 to 2 of 2

Thread: Html Popup List

  1. #1
    Junior Member
    Join Date
    Feb 2000
    Location
    CA, USA
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Html Popup List

    While writing a script for a registration page, the popup list is showing stange behavior.
    Its giving the error "mouse co-ordinates are out of screen" and the funny aspect is that it works sometimes and it terminates sometimes, not consistent at all, ive tried many menthods such as SetFocus, ScrollIntoView but it terminates the scripts after working for 2-3 attempts.

    Any clues to that.

    Im running my script from the default basestate and uing .ini for input.

    The code im using is:

    [-] boolean bSelectPopupList(string sCaption, string sValue )
    [ ] anytype c
    [ ] window w
    [ ] list of window lw = BrowserPage.GetChildren()

    [-] for each w in lw
    [ ] c = w.GetClass()
    [ ] int i = w.Getindex()
    [-] if ([string]c == "HtmlPopupList")
    [ ] string sWinCaption = w.GetCaption()
    [-] if (sWinCaption == sCaption)
    [ ] //w.ClearText(sValue)
    [ ] //w.SetPosition(1, 1)
    [ ] //w.SetFocus()
    [ ] //w.SetActive()
    [ ] w.ScrollIntoView()
    [ ] w.Click()
    [ ] w.Click()
    [ ] //list of string lsString = w.GetContents()
    [ ] w.Select (sValue)
    [ ] return true
    [ ] return false

    Im using IE5.0 ans Silk 5.0.1
    The popup list is not at the bottom of the page but at the middle of the page.

    [This message has been edited by Munish (edited 02-11-2000).]

    [This message has been edited by Munish (edited 02-11-2000).]

  2. #2
    Junior Member
    Join Date
    Feb 2000
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Html Popup List

    Hi,

    What Browser are you running and what version? Also, what version of SilkTest? Is the HtmlPopupList at the bottom of the page? If it is, and the list sometimes draws off screen, this can cause problems..

    -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 12:51 AM.

Copyright BetaSoft Inc.