SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Nov 2001
    Location
    Darmstadt, Germany
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    UnCheck() of HtmlCheckBox results in Control not responding

    Hello,
    I'm testing a small html-application.
    I want to uncheck a checked check box.
    Calling ...CheckBoxName.UnCheck() results in no compile error.
    Running the test creates a "Control not responding" error.
    What does this error mean?
    How can I solve this problem?

    My solving idea: Check state of control and clicking onto it.

    Has someone ideas?

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Elizabeth, CO, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: UnCheck() of HtmlCheckBox results in Control not responding

    I'm not getting the same problem with SilkTest 5.5, HotFix 4 on IE 5.5 using DOM. What's your setup?

    Also, do the other CheckBox methods work? SetState? Toggle?

    - Dave


    ------------------
    Amelior Technology
    dreed@ameliortech.com
    WaltzingRhino.com
    A concerned Borland customer, a fly in the ointment, a wrench in the works.

  3. #3
    Member
    Join Date
    Nov 2001
    Location
    Darmstadt, Germany
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: UnCheck() of HtmlCheckBox results in Control not responding

    I found out what the problem is (was).
    I just write it for some more who could have the same problem.

    My configuration is Silk 5.5 Service Pack 1

    Nothing could be done with Check Boxes. No Check, no uncheck, no click, no toggle.

    The click method displayed the problem to me. Moving the mouse to coordinate 0.0 of my check box moves the mouse to a point, where the check box doesn't exist. It was one pixel to high and one pixel to much to the left.

    I solved the problem with this class:
    [-] winclass CheckBox: CheckBox
    [-] hidecalls void Uncheck ()
    [-] if (this.IsChecked())
    [ ] RECT reTmp = this.GetRect ()
    [ ] reTmp.xSize = reTmp.xSize / 2
    [ ] reTmp.ySize = reTmp.ySize / 2
    [ ] this.Click (1,reTmp.xSize, reTmp.ySize)
    [-] hidecalls void Check()
    [-] if (!this.IsChecked())
    [ ] RECT reTmp = this.GetRect ()
    [ ] reTmp.xSize = reTmp.xSize / 2
    [ ] reTmp.ySize = reTmp.ySize / 2
    [ ] this.Click (1,reTmp.xSize, reTmp.ySize)



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

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Location
    Elizabeth, CO, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: UnCheck() of HtmlCheckBox results in Control not responding

    Glad you found the solution. Should probably log it with Segue. I'll download SP1 and see if I get the same results.

    What browser and recognition technology are you using? Netscrape? Internet Exploder? DOM? VO?

    - Dave


    ------------------
    Amelior Technology
    dreed@ameliortech.com
    WaltzingRhino.com
    A concerned Borland customer, a fly in the ointment, a wrench in the works.

  5. #5
    Member
    Join Date
    Nov 2001
    Location
    Darmstadt, Germany
    Posts
    51
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: UnCheck() of HtmlCheckBox results in Control not responding

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by dcreed:

    What browser and recognition technology are you using? Netscrape? Internet Exploder? DOM? VO?
    <HR></BLOCKQUOTE>
    I use Internet Explorer with DOM recognition.

    Bye
    Patrick



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

 

 

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 03:48 PM.

Copyright BetaSoft Inc.