SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Feb 2001
    Location
    dublin
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ******: Cannot find the pushbutton even though had just initialized it

    Basically the push button cannot be seen.
    *** Error: Window '[HtmlPushButton]#3' was not found.
    The push button (ok) has just been pressed however silktest doesnt pick it up the second time. The form is over a page long. Attempted to use the scroll option but to no avail cannot seem to get the first bit right. (Maximum Scroll). Samp code included below.,.
    [ ] [ ] BrowserMessage.OK.Click ()
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ] AddThirdLIBPAC.ADD.Main.PLEASEENTERNEW3RDPARTYACC. ACCOUNTNAME.SetText (sName)
    [ ]
    [ ]
    [ ]

    AddThirdLIBPAC.ADD.Main.PLEASEENTERNEW3RDPARTYACC. OK.Click ()

  2. #2
    Senior Member
    Join Date
    Mar 2000
    Location
    Dublin, Ireland
    Posts
    152
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ******: Cannot find the pushbutton even though had just initialized it

    Hi,

    Try placing the following line of code before you call the Click () method,

    Browser.Reload.Click ()

    You could also change the object's tag from '#3' to 'OK'.

    I hope that this helps,

    John.



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

    John O'Neill.
    Quality Automation Ltd.
    www.quality-automation.com
    John O'Neill.
    Quality Automation Ltd.
    www.quality-automation.com

  3. #3
    Junior Member
    Join Date
    Feb 2001
    Location
    dublin
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ******: Cannot find the pushbutton even though had just initialized it

    No Joy.
    Cannot use the reload option as the Html page is not in a static frame. Attempted to change the
    [-] HtmlPushButton OK
    [-] multitag "OK"
    [ ] "#3"
    to OK and had same result. Have tried imputting a click option aswell however the OK button is still not picked up. Any other ideas?

 

 

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 09:18 PM.

Copyright BetaSoft Inc.