SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2001
    Location
    fremont,ca
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to replace these co-ordinates Click(Click (1, 580, 219)

    [ ] MainWin("xyz..........*).ChildWin("djk......*").Cu stomWin("[Shell Embedding]#2|$02]").CustomWin("[Shell DocObject View]#1|$0").CustomWin("[Internet Explorer_Server]#1|$0").Click (1, 580, 219)

    I have to select 5 different windows on the tools bar but when I try to get actions I get the above Auctions recorder on .t file.
    These co-ordinates only work for system only.when I try to run this .t file, if the moniter is big the mouse co-ordinates.I want to replace Click (1, 580, 219) with Click ().

    1.Please help me how can I get rid of these mouse co-ordniates.

    2. I need to develop 5 different testcases for 5 different icons on the toolbar, so I need to identify each icon without mouse co-ordinates.My code should be free without co-ordinates because If I used this .t file and run on other machine the .t file breaks b'coz of change in mouse co-ordinates.

    Environment: My application is VB applications embedded with Internet exployer5 and I added .exe file in the extension file.




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

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Location
    Bloomington, IL
    Posts
    142
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to replace these co-ordinates Click(Click (1, 580, 219)

    First I would get the window declarations recorded so you do not have all of the tag's in your script. This will allow you to have one or more unique tags for the objects.

    Then I would class map the custom objects to a known SilkTest object.

    Then you can refernece the objects and not have to worry about the positional clicks.

    MikeF

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

  3. #3
    Junior Member
    Join Date
    Oct 2001
    Location
    fremont,ca
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to replace these co-ordinates Click(Click (1, 580, 219)

    [QUOTE]Originally posted by MikeF:
    [B]First I would get the window declarations recorded so you do not have all of the tag's in your script. This will allow you to have one or more unique tags for the objects.

    Then I would class map the custom objects to a known SilkTest object.

    Then you can refernece the objects and not have to worry about the positional clicks.

    MikeF
    ------------------------------------------
    Thanks Mike..Here are the window declerations for the window in .inc file

    [-] window DialogBox XYZ4
    [ ] tag "JQK4.O"
    [-] CustomWin Toolbar20WndClass1
    [ ] msw tag "[Toolbar20WndClass]$0"
    [-] CustomWin Msvb_lib_toolbar1
    [ ] msw tag "[msvb_lib_toolbar]$0"
    [ ]


    Can you please tell me what i have to do and also please let me know which custom objects I should class map to ??,Thanks for your help in advance.




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

 

 

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 11:02 AM.

Copyright BetaSoft Inc.