SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Guest

    Combo Box control doesn\'t respond to Select method.

    Hello All,
    I have a problem when using Silk and hope yall can help me out.
    The problem is I got the error message in the result file saying "Error: Control is not responding". Control is the combo box and I use the Select method to select an item from the combo box. This sounds simple, but I couldn't figure it out why the combo box is not responding to my Select statement.
    Thanks in advance.
    LAN

  2. #2
    Member
    Join Date
    Jul 1999
    Location
    Raleigh- North Carolina
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Combo Box control doesn\'t respond to Select method.

    Question,

    Are you able to select the item you want and them get the error ??

    i got something similar to it (same error), but it was with HtmlPopupList.
    Even with the error I was able to select the item. So i just igonre the exception:

    do
    page.list.Select(item)
    except
    // ignore or just print an warning

    Hope, you can use the same ideia....

    Mauro

  3. #3
    Guest

    Re: Combo Box control doesn\'t respond to Select method.

    Thanks Mauro for your suggestion. I did try to use the do... except to ignore the error message as long as the item is selected, but unfortunately the item is not selected. Also I tried to put the "Agent.SetOption(OPT_VERIFY_RESPONDING, FALSE)" statement in my script to suppress the error message, but still did not work. The problem is the item from the combobox is actually not selected.
    I do not know what to do now because I have to select the item from the ComboBox, then GetSelText () to verify the Expected Value. I cannot think of the other way to verify the value of the selected item from the ComboBox against the Expected value.
    Thanks anyway.
    LAN

  4. #4
    Junior Member
    Join Date
    Oct 1999
    Location
    Mumbai, India
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Combo Box control doesn\'t respond to Select method.

    I think this is performance issue of the SilkTest. Two workarounds:
    1) Restart silktest and Application under Test and see if it can be selected. Make sure that it is the first test you are running after restart. ( SilkTest is tired when it does lot of things before it tries to select the combo box.:-)
    2) Before selecting combobox, give the combobox.Exists(n seconds). Try for greater value of n. and then select the required element in combobox.
    Hope this helps.
    Kishor.

 

 

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 08:53 AM.

Copyright BetaSoft Inc.