SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, India
    Posts
    135
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Test for proper Tab sequence of an HTML form?

    Can any one please suggest how do I test for proper Tab sequence of an HTML form?

  2. #2
    Member
    Join Date
    Dec 1999
    Location
    Columbus, OH
    Posts
    78
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Test for proper Tab sequence of an HTML form?

    I have written two methods for the DialogBox class. One can get the tab order of a specified DialogBox, and the other will verify the tab order of the specified dialog box. I don't see why this couldn't be converted and used for WebBrowsers as well. If you want to limit it to just the form fields you could check the class of the items similar to how I do in the GetTextFields method.

    [This message has been edited by Tom VonderBrink (edited 12-13-2000).]

  3. #3
    Senior Member
    Join Date
    Dec 2000
    Location
    Pune, India
    Posts
    135
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Test for proper Tab sequence of an HTML form?

    Function GetFocus() is not available for Class BrowserChild.

    How do I make use of similar methods (like GetTabOrder and VerifyTabOrder as shown above) with WebBrowsers/ HTML pages?

    Please help.

    Regards,

    Prasad

    [This message has been edited by Prasad (edited 01-09-2001).]

  4. #4
    Senior Member
    Join Date
    Sep 1999
    Location
    San Jose,CA,USA
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Test for proper Tab sequence of an HTML form?

    Prasad

    I agree Browser Child does not have GetFocus.
    But I believe you can get a list of it's children controls via GetChildren and have that as the List you search through and ask each control via the HasFocus method.

    You can also filter the controls that you are interested in via TypeOf or GetClass.
    Smoke me a kipper, I'll be back for breakfast!
    Sincerely
    Richard Weth
    Sr. QA Engineer

  5. #5
    Junior Member
    Join Date
    Oct 2000
    Location
    Chicago, IL, US
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Test for proper Tab sequence of an HTML form?

    Okay, thanks for the code - I knew there was an easy way to do this - except now I can't figure out where to put this? in my main window declaration .inc file? or somewhere else?

    Everytime I try to use it:
    window.GetTextFields() it tells me the "function is not defined for window"
    It happens to be a JavaJFCChildWin and so I changed the winclass line to
    winclass JavaJFCChildWin:JavaJFCChildWin but that didn't seem to help.

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

 

 

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 03:49 PM.

Copyright BetaSoft Inc.