SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Guest

    Is there a SilkTest FAQ?

    Is there a FAQ for SilkTest?

    I haven't been able to find one.

    Also I would to know the following:

    If you have something like this in a test script...

    String sText
    HTMLPage.HTMLPage.HiMom.IEServer.ATL.Screen.Status Bar1.DynamicText2.Click
    (1, 17, 8)
    sText =
    HTMLPage.HTMLPage.HiMom.IEServer.ATL.Screen.Status Bar1.DynamicText2.GetText
    ()

    would it be possible to replace it with something like...

    String sText
    StatusBar status = HTMLPage.HTMLPage.HiMom.IEServer.ATL.Screen.Status Bar1

    status.DynamicText2.Click (1, 17, 8)
    sText = status.DynamicText2.GetText ()

    Not exactly an essential matter, but it would things look neater.

    Thanx for any info.



  2. #2
    Member
    Join Date
    Jul 1999
    Location
    Raleigh- North Carolina
    Posts
    30
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is there a SilkTest FAQ?

    Take a look a @ operator in Help Index of SIlk.

    If you need more details, I have some examples that might be usefull
    Please le me know...

    Rgds,

    Mauro

  3. #3
    Guest

    Re: Is there a SilkTest FAQ?

    Thank you Mauro, that is potentially useful information, but I don't think that it gives me what I want (maybe I didn't phrase my question correctly).

    I have however found a solution for myself. The following example works:

    String sText
    WINDOW wStatusBar = HTMLPage.HTMLPage.HiMom.IEServer.ATL.Screen.Status Bar1

    wStatusBar.DynamicText2.Click (1, 17, 8)
    sText = wStatusBar.DynamicText2.GetText ()

    In first post I used

    StatusBar status = HTMLPage...

    instead of

    WINDOW wStatusBar = HTMLPage...

    It would seem to be the case that I can create a generic WINDOW item and assign an AnyWin derived object to it. That WINDOW item will then behave exactly like the object I have assigned to it.

    This is what I want.

 

 

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 09:21 AM.

Copyright BetaSoft Inc.