SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Mar 2001
    Posts
    161
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    browser scripting

    User K. Hari Prasad (khprasad@quark.stpm.soft.net) posted:

    Hi
    I am working on Web scripting.
    My problem is
    One particular window which I am trying to declare is showing 2 ways,I
    mean when I place cursor on caption and declare I get iot as Dialogbox and
    if I place cursor beloew the caption I get it as browserchild and its parent
    as former window i.e. DialogBox.
    So When i run I am getting error as Window " WebModuleEditAttr "not found.

    To make it simpler here it is:

    [+] window DialogBox WebModuleEditAttr
    tag "Web Module -Edit Attributes - Microsoft
    Internet Explorer"
    [-] window BrowserChild EditAttributes
    [ ] tag "#1"
    [ ] parent WebModuleEditAttr
    [+] HtmlTextField AssetName
    [ ] tag "#3"
    [+] HtmlPushButton Save
    [ ] tag "Save"
    [+] HtmlPushButton Cancel
    [ ] tag "Cancel"

    Do anyone has solution??

    Thanks for your time
    Regards
    -Hari


    Post message: silktest@yahoogroups.com
    Subscribe: silktest-subscribe@yahoogroups.com
    Unsubscribe: silktest-unsubscribe@yahoogroups.com
    List owner: silktest-owner@yahoogroups.com
    URL to this page: http://groups.yahoo.com/group/silktest


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



  2. #2
    Member
    Join Date
    Jun 2001
    Location
    Berkeley, CA, USA
    Posts
    67
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: browser scripting

    Try using a multi tag that includes both parenting situations:

    multitag "Edit Attributes"
    [] "DialogBox("Web Module*")\Edit Attributes"

    Put the multitag in the BrowserChild declaration.

    Hope that works for you.

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

  3. #3
    Junior Member
    Join Date
    Jul 2001
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: browser scripting

    I have the same kinds of windows in my application. Simplest thing to do here is first to record a window declaration for the parent, i.e. put the cursor over the title bar and capture that. You'll get something like this:

    window DialogBox FooParent
    tag "Foo - Microsoft Internet Explorer"

    *Then* you would record the contents of the dialog, the BrowserChild. It might look something like this:

    window BrowserChild Foo
    tag "#1"
    parent FooParent
    ...

    I have a number of popup dialogs in my product that I have handled in this manner, and it seems to work just dandy.

    Lisa


    ------------------
    If it wasn't for disappointments
    I wouldn't have any appointments.
    -- They Might Be Giants

 

 

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 12:43 AM.

Copyright BetaSoft Inc.