SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2001
    Location
    hyderabad,India
    Posts
    13
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how can we capture controls in a window??

    hai friends...i am working on silktest..
    i wanted to know whether any method or function is there to capture the objects(controls)in a window/webpage without using the record option... this i require to test dynamic content in a webpage like ad's...

    could anybody help me inthis issue..

    dhanunjay

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

  2. #2
    Junior Member
    Join Date
    May 2001
    Location
    New Delhi , India
    Posts
    28
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can we capture controls in a window??

    Hi,

    Try using GetEverything() method , this basically captures information about an object in a list of strings. You usually use the list to verify that the window has the expected contents and settings.

    This can get any dynamic data at run time like ad's in webpages.

    E.g. code :

    list of string lsData;
    lsData = MyApp.MyDialog.GetEverything ();
    ListWrite (lsData, "MyDialog.txt");
    ListRead (lsData, "MyDialog.txt");
    MyApp.MyDialog.VerifyEverything (lsData);

    Hope this information helps!

    Cheers,
    Grover.

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

  3. #3
    Senior Member
    Join Date
    Mar 2000
    Location
    Dublin, Ireland
    Posts
    152
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: how can we capture controls in a window??

    Hi,

    Try the GenerateDecl () method for the AnyWin class. This returns the window declarations as a list of strings.

    John.


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

    John O'Neill.
    Quality Automation Ltd.
    www.quality-automation.com
    John O'Neill.
    Quality Automation Ltd.
    www.quality-automation.com

 

 

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

Copyright BetaSoft Inc.