SPONSORS:






User Tag List

Results 1 to 5 of 5

Thread: ******!!!

  1. #1
    Junior Member
    Join Date
    Dec 2000
    Location
    LA,CA,USA
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ******!!!

    Hello everyone.
    I have a question.
    After creating test frame for main page of my web application i need to create windows declarations for each page in the same window. When do i need to stop? In other words, do i need to create windows declaration for ALL pages or maybe there is anothere procedure which will help me to do it faster?
    Thank you all.

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

    Re: ******!!!

    Hi,

    Just the declare the windows that you need to interact with. If the application is very large, I find that declaring windows in groups corresponding to the modules in the application is the best approach. Declare these groups of windows as you come to them rather than from the onset.

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

  3. #3
    Junior Member
    Join Date
    Dec 2000
    Location
    Amsterdam, Noord Holland, Netherlands
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ******!!!

    Use a time box planning

  4. #4
    Junior Member
    Join Date
    Dec 2000
    Location
    LA,CA,USA
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ******!!!

    Thank you for information.
    Can you please explain what's time box planing is?
    Thank you.

  5. #5
    Senior Member
    Join Date
    Jul 1999
    Location
    Burlingame CA 94010
    Posts
    502
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ******!!!

    In some cases, I don't find it useful to record window declarations at all. Think about what objects you're interacting with on each page. Remember the current page is always BrowserPage. This will work to refer to whatever page you're on, as long as your web site doesn't use frames. If it does, you can still just declare the frame, then manipulate dynamically-instantiated objects within each frame.

    Example.

    window BrowserChild ParentFrame
    tag "#1"

    window BrowserChild MenuFrame
    tag "#1"
    parent ParentFrame

    window BrowserChild DataFrame
    tag "#2"
    parent ParentFrame

    You can refer to

    MenuFrame.HtmlLink ("Reports").Click ()

    OR

    DataFrame.HtmlTextField ("#1").SetText (sUser)

    In this example, there are two frames, MenuFrame and DataFrame. If there were no frames, you could refer to

    BrowserPage.HtmlLink ("Reports").Click ()

    or BP.HtmlLink ("Reports").Click ()

    if you declare

    const BP = BrowserPage somewhere in your frame.

    Hope this helps.

    ------------------
    John W Green
    jwgreen@automationexpertise.com
    http://www.automationexpertise.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 05:29 AM.

Copyright BetaSoft Inc.