SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Aug 2002
    Location
    union city,nj,usa
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Silk Test reports Disabled windows Enabled

    I am working on a web application that has HtmlTextFields, HtmlCheckBoxes, HtmlPopUpLists and HtmlRadioLists.
    Ones I submitt the information that I filled or selected all fileds must be DISABLED.
    During verification Silk Test reports HtmlTextFields, HtmlCheckBoxes Disabled but when it comes to HtmlPopupList or HtmlRadioList it reports them Enabled although they are disabled in the application. I tried bEnabled,IsEnabled,GetProperty,GetManyProperty but results are same.
    Below you will find code for the function. I would like to know if anyone knows any workaround to this.
    [-] void ReportEnabled (Window X)
    [ ] LIST OF WINDOW lsw = (X.GetChildren())
    [ ] window w
    [-] for each w in lsw
    [-] if ClassOf(w) == HtmlTextField | | ClassOf(w) == HtmlCheckBox | | ClassOf(w) == HtmlPopupList | | ClassOf(w) == HtmlRadioList
    [-] if w.GetProperty ("Enabled") == TRUE
    [ ] LogError("{ClassOf(w)} {w} is Enabled")
    [+] else
    [ ] print("{ClassOf(w)} {w} is Disabled")
    [ ]

    Thanks,

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

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Silk Test reports Disabled windows Enabled

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Manual:
    ... but when it comes to HtmlPopupList or HtmlRadioList ...
    <HR></BLOCKQUOTE>
    Try using IsEnabled() on a selected member of each list.

    John


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

  3. #3
    Junior Member
    Join Date
    Aug 2002
    Location
    union city,nj,usa
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Silk Test reports Disabled windows Enabled

    I tried bEnabled,IsEnabled,GetProperty,GetManyProperty but results are same.


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

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.40 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.7.1 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.3.0 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 12:53 AM.

Copyright BetaSoft Inc.