SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jul 2000
    Location
    Chicago, IL USA
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Window Objects Incorrectly Identified

    I am using version 5.0.3.1 of Silk Test to test a Web based application. Currently, I am trying to use the visual extention because I have an open issue with the DOM extension. When I try to record/write a window declaration for the page using IE, it recognizes one of the buttons as a HtmlText object instead of a HtmlPushButton. Anyone have any ideas at to why or a possible work around?

    Also, if I try and switch to Netscape, everything is recognized, but sometimes Silk Test will produce another problem. After using the testing scripts with Netscape for some time, it will fill in the second text field and not the first as it was programmed. If I close out of Netscape and restart, the correct text boxes is filled in. Any ideas? Anyone?

    Thanks.

  2. #2
    Junior Member
    Join Date
    Jul 2000
    Location
    Chicago
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Window Objects Incorrectly Identified

    First problem :
    If the name does not conflict with others, try something like this.
    do
    Click on the pushButton
    except
    Click on the htmltext

    Second problem :
    Add a sleep statement and see if that helps

  3. #3
    AJ
    AJ is offline
    Moderator AJ's Avatar
    Join Date
    Jun 1999
    Location
    San Jose, CA
    Posts
    1,691
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Window Objects Incorrectly Identified

    Reply by Andrew Issaenko from comp.software.testing:

    Jjcantri, I have not worked with Silk 5.0.3.1. but I believe the problem,
    that you have described, can take a place if the buttons on the page are
    generated by javascript. When I worked with Silk, I usually did not put much
    attention to this problem, if I could use one type of objects instead of
    another. Actually it does not matter in your case also, because you can
    click mouse on HtmlText like you can click mouse on HtmlButton. About the
    difference of declaration under Netscape and IE, it's known problem. You can
    join two declaration files into one by putting type of browser before some
    object in declaration.

    About the second part of problem. I believe it happens because of tags for
    two objects. You can pick into tags strings for two text field and find the
    best way to make their tags unique. Also I would reccomend you to put a
    delay for one or two seconds before filling the text field where you have a
    problem. You can also set a greater delay for keyboard and mouse events in
    agent options. Hopefully it will help.

    My best regards,
    Andrew Issaenko
    AJ Alhait
    BetaSoft Inc.

 

 

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:26 AM.

Copyright BetaSoft Inc.