SPONSORS:






User Tag List

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)

    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)

    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)

    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
  •  

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 02:24 PM.

Copyright BetaSoft Inc.