SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jul 2002
    Location
    San Jose
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to have ST to dynamically detect a table

    I am rather new to to SILK TEST (about 8 months use. The Web Application I am testing has two types of users 1) Admin and 2) General user. The tables (modules) displayed when the user logs in are based on the 1) the type of user that logs. 2) the priveleges set by the admin user. The problem I am having is that when I try to have ST detect whether or a not a specific table is displayed. ST always returns a result that the table is displayed even though it actually is not dsplayed. I have used the following methods: .Exists, IsEnabled and Verify. Please help.

    ------------------
    Bob Gaouette
    Bob Gaouette

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Location
    Hartford, CT, USA
    Posts
    163
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to have ST to dynamically detect a table

    Have U tried to use SetActive first and if it fails... ?

    ------------------
    Jaimini Bhatt
    jaiminita@hotmail.com
    jaiminita@yahoo.com
    Jaimini Bhatt

  3. #3
    Senior Member
    Join Date
    Oct 2001
    Location
    NC, United States
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to have ST to dynamically detect a table

    How do you manually differentiate these tables...?

    ------------------
    -gram
    -gram

  4. #4
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to have ST to dynamically detect a table

    Do you get the same return value if you look for something specific on the table? e.g. a Column heading, or some specific identifying Html text?

    Is there any other way of knowing the table is there? Does it have a specific label above it or something along that line?

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

  5. #5
    Senior Member
    Join Date
    Jan 2001
    Posts
    750
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to have ST to dynamically detect a table

    We need to know how you detect a table's existance. If you show us the code it might help. The first thought I have is that there is a invisible table that is always there and you are detecting that table in the absence of the one you are looking for.

    ------------------
    Second thought is it possible that the tables are just turned visible and invisible depending on the user? If that's the case you'll have to do something else to determine what you want.

    [This message has been edited by GodKnows (edited 03-20-2003).]

  6. #6
    Junior Member
    Join Date
    Jul 2002
    Location
    San Jose
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to have ST to dynamically detect a table

    Hello All,
    I Actually was able to solve this problem. What I am doing now is to detected a "button" that is part of the table and only displayed for users that have this table displayed when they log in. I tried using text from the table, however this did not work either. thanks all.

    ------------------
    Bob Gaouette
    Bob Gaouette

 

 

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 10:49 AM.

Copyright BetaSoft Inc.