SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Guest

    Alternate Text for images

    Is there any way to get the alternate text for an image on a web page? It shows up as a pop up when you mouse over an image (if the HTML has specified alternate text for the image). I am having trouble with some navigation images that have links associated with them. The images have the associated alternate text (First Page, Previous Page, Next Page, Last Page). The number of pages are dynamic. What I am having trouble doing is recording a frame for the pages that have this sort of navigation. I think I need to have one for the first page, last page, and all the middle pages. Has anyone dealt with these kind of navigation issues before? Thanks

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alternate Text for images

    Try ListPrinting a Browser.GetChildren() with the "alternate text" active.

    These "fly-by" objects can often be identified as dynamic static text object #1. A comparison of a before/after GetChildren() list can usually isolate them.

    Just a thought, but since fly-bys only appear one at a time, you can probably tag it with an ~ActiveApp to have it apply to all pages where it might appear. You'll likely still have to add some code to place the cursor over a known object that make fly-by appear so that you can then deal with it. (Is this flyby a menu?)


    John

  3. #3
    Guest

    Re: Alternate Text for images

    Well, maybe these flybys aren't going to help after all. The thing I have to figure out is how to capture these windows that have this navigation. The buttons are enabled/disabled according to what page the user is on. If it is the first page, the first page button and the previous page button are not enabled. Similarly, the last page has the next page and last page button disabled. The middle pages have all the buttons enabled (one declared window BrowserChild should take care of the middle pages).

  4. #4
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alternate Text for images

    Then try GenerateDecl() or Record/Window and look for the common format used for these buttons. Use that to individually define the declaration for all three buttons.



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

    Re: Alternate Text for images

    it took me a long time to figure this out - try using TheImage.GetCaption() - it works in IE 5.5!
    -monte

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

  6. #6
    Senior Member
    Join Date
    Jul 2000
    Location
    Walsall, West Midlands, United Kingdom
    Posts
    259
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alternate Text for images

    Doesn't GetHelpText() do the job, or is it only for non-web?

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

  7. #7
    Member
    Join Date
    Aug 2000
    Location
    Hyderabad,AP,India
    Posts
    80
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alternate Text for images

    Some guys told me to use GetCaption ()...but it does not help me.....

    and then it was proposed to use GetChildren () on the corresponding image....if failed

    and as we all know about...GetHelpText () it does'nt work at all....gives some 0X0 0X0 value

    So is there no way....


    Baseer

  8. #8
    Senior Member
    Join Date
    Sep 2000
    Location
    Twin Cities, MN, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alternate Text for images

    Hi Baseer,

    Are you using IE DOM? I have had success with that extension.

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

  9. #9
    Member
    Join Date
    Aug 2000
    Location
    Hyderabad,AP,India
    Posts
    80
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alternate Text for images

    HI SteveC,

    please exactly what should be done....

    whether...

    1. Should IE Dom be selected at the extension enabler and at Silk Test -> Extensions...

    2. Or should I select Internet Explorer 5.0 Dom at Default browser

    Please give me some light...


    Baseer


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

  10. #10
    Senior Member
    Join Date
    Sep 2000
    Location
    Twin Cities, MN, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Alternate Text for images

    Hi Baseer,

    If I remember correctly from some of your other posts you're using 4.0.3.2, right? The way I did it with that version (I haven't had to do any of that in ST 5.0) was to:

    Use IE DOM in both Extension Enabler and within SilkTest;
    Use IE DOM as my default browser;
    Use GetCaption on the HtmlImage.

    Good luck!

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

 

 
Page 1 of 2 12 LastLast

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:50 PM.

Copyright BetaSoft Inc.