SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Jun 2001
    Location
    Amesbury
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Silk 5.03.2 VB6.0 Listbox - *** Error: Control is not responding

    The UI Contains a Listbox the is populates with selectable item. These Items are selectable via Checkboxes to the left of each item.

    When I execute the script only the first of five Items gets selected. The code uses a ListBox1.MultiSelect ()for each of the 5 calls. I also tried replacing the method with
    [ ] LIST OF STRING lsItems
    [ ] lsItems = ({"A","B","C","D","E"})DialogBox1.Elements.SelectL ist (lsItems)

    I got the same lack of response. I'm assuming that this is a fairly common control used by the developer. It's MS not 3rd party.


    [ ] *** Error: Control is not responding
    [ ] Occurred in SelectList

    Any thought will be most appreciated.


    ------------------
    Steven E. Price
    Senior Quality Assurance Engineer
    Virtual Access Networks
    (978) 722 - 7122
    Steven E. Price
    Senior Quality Assurance Engineer
    Virtual Access Networks
    (978) 722 - 7122

  2. #2
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk 5.03.2 VB6.0 Listbox - *** Error: Control is not responding

    Stop silk from checking if a control responds before accessing it.

    Agent.SetOption(OPT_VERIFY_RESPONDING,false)

    Maybe try other little things if above code doesn't work:

    1)sleep; sometime your script runs too fast or do..except let you run with an error in your code.

    2)Refresh the page.


    All little things you can attempt.

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


    [This message has been edited by GodKnows (edited 06-10-2001).]

  3. #3
    Junior Member
    Join Date
    Jun 2001
    Location
    Amesbury
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk 5.03.2 VB6.0 Listbox - *** Error: Control is not responding

    Well the option setting helped half of the problem. By setting the agent option to false, it allows the selected items to be walked through in the listbox. However items 2 through n never get selected via the checkbox (within the listbox).

    I recorded the actions and Silk doesn't seem to recognize the checkboxes as I walk through the testcase. The developer say's that this is a standard listbox. The checkboxes are an option that they use.

    ------------------
    Steven E. Price
    Senior Quality Assurance Engineer
    Virtual Access Networks
    (978) 722 - 7122
    Steven E. Price
    Senior Quality Assurance Engineer
    Virtual Access Networks
    (978) 722 - 7122

  4. #4
    Junior Member
    Join Date
    Jun 2001
    Location
    Amesbury
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silk 5.03.2 VB6.0 Listbox - *** Error: Control is not responding

    The "DoubleSelect" method selects both the listitem and checks off the checkbox. Problem solved!!

    Silktest didn't record this because I explicitly selected the item by clicking on the checkbox, which shows up as a MultiSelect method.

    So the moral of the story seems to be, "know thy supported listbox methods".

    ------------------
    Steven E. Price
    Senior Quality Assurance Engineer
    Virtual Access Networks
    (978) 722 - 7122
    Steven E. Price
    Senior Quality Assurance Engineer
    Virtual Access Networks
    (978) 722 - 7122

 

 

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 07:42 AM.

Copyright BetaSoft Inc.