SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Silktest Newby

  1. #1
    Junior Member
    Join Date
    Nov 2001
    Location
    Dublin
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Silktest Newby

    Hello all,
    This is probably a very basic question, but I've been trying to do this for the day and I can't!!

    I'm working on a documents storage web application. One of the features allows you to add folders.

    I can get Silktest to add the folders with no probs

    Heres my prob:
    How do I verify that it's now there?

    Sorry this probably to basic a question for here, but help be would greatly appreciated!

    Thanks
    Peeko

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

  2. #2
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,439
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Silktest Newby

    Have you tried the SYS_GetDir () and/or SYS_DirExists functions?
    Samples are in the Online Help.

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

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

    Re: Silktest Newby

    Thanks Gilbert,
    But it's a web application, it's more like I have to verify whats on the screen.

    As it's a new item I'm finding it hard...

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

  4. #4
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,439
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Silktest Newby

    There are many ways of doing it.
    You must be talking about finding a folder you just added to an HtmlList, TreeView or a ListView.
    How about trying out the FindItem () function, for example?


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

  5. #5
    Junior Member
    Join Date
    Nov 2001
    Location
    Dublin
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silktest Newby

    Thanks, I tried the FindItem() Function...
    But the Folder that was added was not in a list and was embedded into the HTML page along with everything else!

    So when I tried to compile my line:

    i = OC_CS.FindItem("_New") (OC_CS being the name that I gave to the window declaration of that page)

    I get a 'Function FindItem is not defined for window OC_CS'??

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

  6. #6
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,439
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Silktest Newby

    Try doing a Record/Actions and just click on that folder that you added.
    This should give you an idea on what your script should have.
    (just a suggestion: you may want to consider getting some training to make your SilkTest automation tasks much easier in the future)

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

  7. #7
    Junior Member
    Join Date
    Nov 2001
    Location
    Dublin
    Posts
    10
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silktest Newby

    Again I tried the Record/Action method a couple of times, but it doesn't really give me that much information...

    I actually recieved a 2 day course on Silktest and had no problems with it at all, in the training...

    But now that I'm putting it to practice it's a totally different ball game. I use to write scripts in Visual Test (not playback and record). I'm just finding it quite difficult to adjust.

    Anyway thanks for your help... Wish me luck!!

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

  8. #8
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Silktest Newby

    what is the class of the control that contains the folder? this would be the starting point to see what method you should use to see if the added folder exists?

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  9. #9
    Super Member
    Join Date
    Jul 1999
    Location
    Rancho Santa Margarita, CA
    Posts
    1,439
    Post Thanks / Like
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Silktest Newby

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by peeko:
    Again I tried the Record/Action method a couple of times, but it doesn't really give me that much information...

    <HR></BLOCKQUOTE>

    hmmm... If the List (containing your folder) is not a CustomWin, I'm almost sure that the Record/Action will give you something other than "OC_CS" which you describe earlier. Most likely, part of your script will have:
    OC_CS.<your declared htmllist>.FindItem ()

    Maybe, you'd like to show us what the recorded action was when you click on that folder!?



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

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

    Re: Silktest Newby

    I'll update this post as soon as I get to work in the morning...
    Thanks Gilbert

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

 

 
Page 1 of 2 12 LastLast

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.