SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    SQA Knight
    Join Date
    Jul 1999
    Location
    Grand Rapids, MI
    Posts
    3,727
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Silk 5.0: diffs with Netscape vrs Explorer

    I am encountering some significant differences with GUI
    declarations using Silk 5.0 with Netscape browsers and
    Internet Explorer 4. I would like to know if any of
    you have also encountered these problems.

    - Thanks, Terry Horwath

    ---------------- Environment ----------------------------

    My environment setup is (on two identical, well controlled
    machines):

    - Silk 5.0
    - Windows NT 4.0, sp3
    - No active desktop installed
    - Netscape 3.04 Gold
    - Netscape 4.08
    - Internet Explorer 4.01, sp1

    --------------------- Problems ---------------------------

    GUI recordings (i.e. what Silk "sees" when you record
    Window Declarations) are identical between Netscape 3.04
    and Netscape 4.08. But with IE 4.01 I have (so far)
    encountered the following problems:

    1. Silk does not recognize html tables which do not "fit"
    in the current browser window. This was easily solved
    (once I guessed this might be the problem) by making
    the window wide enough to display the entire table.
    While easy to fix, it was not obvious what the cause
    was.

    2. Even after #1 above I still have many tables, which
    do not have visual borders, which Silk, working with
    Netscape browsers correctly sees as htmltables but
    does not see at all when working with Explorer 4.01.

    I have no workaround for this, when what I want to
    do is capture the contents of the table. Does anyone
    have a workaournd for this (or am I going to have to
    try and get development to put ugly grids on their
    visually beautiful tables--which is likely impossible)?

    3. I have some instances where Silk simple does not see
    a captioned HtmlTextField at all, when it is presented
    without any initial text chars (using IE 4.01, with NS
    browsers it sees the captioned field fine). Silk sees
    other seemingly similarly presented text fields (without
    any intial text chars) on the same page correctly.

    Here again I have no workaround, and this one is a killer,
    because the text field must be filled out to perform the
    test properly. Any suggestions?

    4. I have some instances where Silk sees an HtmlImage button
    as an HtmlTextField (using IE 4.01, with NS browsers
    image button are correctly seen as such). Silk sees
    other (seemingly) similarly rendered images on the same
    page correctly.

    Here again I have no workaround to this problem,
    as I can't click on the link to perform the intended
    action. Any suggestions?


  2. #2
    Guest

    Re: Silk 5.0: diffs with Netscape vrs Explorer

    I've encountered the IE4 issue where SilkTest 5.0 no longer recognizes an HtmlTextField in a browserpage. This worked OK in 2.1.4. To get around this problem, I created a custom SetText method just for the TF controls it doesn't see, which will navigate around in the frame and perform the action. Example:

    [-] HtmlTextField Username
    [ ] tag "Username"
    [ ]
    [ ] //Custom method for SilkTest 5.0 problem seeing HtmlTextFields in IE4/IE5 browserpages?
    [-] explorer void SetText(string sText)
    [-] do
    [ ] derived::SetText(sText)
    [-] except
    [ ] string sFindTF = UniWebLogin.HtmlText("#2").GetText() //Sees TF as Text control if previous entry exists!
    [ ]
    [-] if ( sFindTF != "Password" )
    [ ] UniWebLogin.HtmlText("#2").Click() //Give it focus...
    []UniWebLogin.HtmlText("#2").TypeKeys("<Ctrl-Home><Ctrl-Shift-End>")
    //Highlight the entry to erase it!
    [ ]
    [ ] UniWebLogin.TypeKeys(sText) //Send a TypeKeys event to the browserpage...



  3. #3
    Guest

    Re: Silk 5.0: diffs with Netscape vrs Explorer

    For the problem where SilkTest sees the HtmlImage as an HtmlTextField control in IE, declare the tag for the control for IE as:

    HtmlImage xxx
    tag "xxxx"//Netscape
    explorer tag "[HtmlTextField]xxx"

    This should allow you to use the HtmlImage methods under Ie4...


 

 

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 12:54 AM.

Copyright BetaSoft Inc.