SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Guest

    Problem with click on Content link

    My script need click on the content link (html page) next to SharedObjects(see attachment *.jpg file), and the sequence number of the content link is not fix, it changed alone with number of objects has been created/dropped in this page. I am trying to use following script:
    BrowserPage.HtmlLink("Contents[19]|#147|$javascript:nac('SITESLIST','19','OpenForLis t');").Click (1, 22, 8)

    The problem is the number '19' and #147 will be changed if other user delete or add objects from/into this page, this is a shared access web application.

    Can any one give me an idea on how to handle this type of problem?


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

  2. #2
    Senior Member
    Join Date
    Dec 2001
    Location
    San Jose, CA
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with click on Content link

    Dirty way to do is:
    - BrowserPage.HtmlText("Shared Objects").Click(2)
    - BrowserPage.TypeKeys("<Esc><Shift-Tab><Enter>")

    Did I say "dirty" way?

    Michael

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

  3. #3
    Senior Member
    Join Date
    Dec 2001
    Location
    San Jose, CA
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with click on Content link

    In TypeKeys("")
    the missing key-sequence is: "esc", "shift-tab", and "enter".

    Michael

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

  4. #4
    Guest

    Re: Problem with click on Content link

    Thanks, Michael !

    The problem has been solved as following code based on your suggestion:
    [ ] BrowserPage.HtmlText("Shared Objects").DoubleClick(1)
    [ ] BrowserPage.TypeKeys("<Tab><Enter>")



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

  5. #5
    Guest

    Re: Problem with click on Content link

    At above solution,
    Inside the TypeKeys should be:
    "<"Tab">""<"Enter">"

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


    [This message has been edited by rhuo (edited 06-04-2002).]

    [This message has been edited by rhuo (edited 06-04-2002).]

 

 

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.