SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Guest

    Testing Image Maps Help

    Here's what I did-

    BrowserPage.GetMaps ()
    Result: #56302 (which is the image file number 56302_b)

    STRING sRegion
    LIST OF STRING lsRegions = BrowserPage.HtmlImage ("#10").GetRegionList(TRUE)
    Result: Returns all of the regions as expected w/ Full URL

    so now with all this info I figured I could loop using what I have "get"en.

    My loop is like this-
    for each sRegion in lsRegions
    BrowserPage.HtmlImage("#10").ClickRegion ("$http://albertsons.dailyshopper.com/index.aspx?pagename=moreinfo*")
    Browser.Back.Click ()

    I have tried several things from hard coding everything to what the silk identifier tells me what the objects are to passing in the variables (sRegion)

    The closest I have gotten was this-

    for each sRegion in lsRegions
    BrowserPage.HtmlImage("#10").Click ()
    Browser.Back.Click

    But the only thing it kept on doing was clicking the same region.

    Thanks


    Is it required to move to the region through the "MoveToRegion" Method before trying to click on the region?


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


    [This message has been edited by mwhitlatch (edited 01-08-2003).]

  2. #2
    Guest

    Re: Testing Image Maps Help

    I did not physically enter the 1, because the default is already set at 1. But I will give it a try and see what happens.

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

  3. #3
    Guest

    Re: Testing Image Maps Help

    I did not physically enter the 1, because the default is already set at 1. But I will give it a try and see what happens.

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

  4. #4
    Guest

    Re: Testing Image Maps Help

    I changed the code adding the 1 like it was listed above and there is no change. Also the weird thing is the first thing it does is click a link. There is no where in my code to click a HtmlLink?????? Then it clicks one of the regions and it stops. Also note we use .net technology, will that be a factor?


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

  5. #5
    Senior Member
    Join Date
    Apr 2001
    Location
    San Diego,CA,USA
    Posts
    108
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Testing Image Maps Help

    or each sRegion in lsRegions
    BrowserPage.HtmlImage("#10").ClickRegion (sRegion,1)
    Browser.Back.Click ()

    should work...

    Did you try this?

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

 

 

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.