SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Nov 1999
    Location
    CA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Silktest 5.0 errors-

    I got an error while i was recording a testcase saying that " <name of browse> is already declared in the frame file.
    It didn't let me record the testcase until i removed that line from the frame file.
    What i had done was that i recorded window declarations for a page linked to the homepage. Then i clicked again another link, and i recorded window declarations from the
    2nd page which is linked to the home page.
    After this i tried recording testcase, i got the error message pointing to the window declarations of the second page, saying that , it is already declared. what i noticed was that the identifier was same for the first and second page, but the tags are different.
    please give an answer to this.
    thank you.

  2. #2
    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: Silktest 5.0 errors-

    You need to change the identifiers manually for those windows... This happens when you have multiple windows with the same caption. or no caption.

    Also if the tags are different, you're fine, else, you may want to consider uniquly identifying them. There're are many ways... You can use multitags or declaring parents with unique children:

    Window1
    tag "#1/[StaticText]Hello/.."

    Window2
    tag "#1/[StaticText]Hi/.."

    Hope that helps.... Read more about it in the manual

    ------------------
    AJ Alhait
    BetaSoft Inc.
    AJ Alhait
    BetaSoft Inc.

  3. #3
    Junior Member
    Join Date
    Nov 1999
    Location
    CA
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silktest 5.0 errors-

    It still didn't work? I changed the caption in the frame file.

    the code is earlier)

    Window BrowserChild EnrollInACourse
    Window BrowserChild EnrollInACourse

    Now i changed to:

    Window BrowserChild EnrollInACourse
    Window BrowserChild EnrollInACourse1

    But still it doesn't work.
    I had even checked that tag are different,
    but still it gives a message that it already exists.
    Please reply back soon, because i am stuck here in the workplace.
    Thank You.

  4. #4
    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: Silktest 5.0 errors-

    What exactly doesn't work.. Compiling? or Runtime? If the identifiers are different the compiler should not complain... My advice is to look at all your include files for the same name window... Do a find.... Check you runtime options for which include files are included and start checking there.
    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:08 PM.

Copyright BetaSoft Inc.