SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 7 of 7
  1. #1
    Junior Member
    Join Date
    Aug 2006
    Location
    pune
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to recognize the differnt object on windowd delcared ad dialog

    When I am launching my application it is opening two different window. I want to write script which has interaction on both the windows. Here in my case for second window silk is recognizing as dailog box when I am capturing declaration for that it is not recognizing the objects inside that dialog,but if I have opened the same window in standalone mode then it is recognizing the different objects of that window. How can I make silk to identify the objects of the second window when I am launching my whole application
    I have attached the snipt of the my second window herewith

    Thanks in advance

  2. #2
    Member
    Join Date
    Apr 2006
    Location
    Toronto, Canada
    Posts
    69
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to recognize the differnt object on windowd delcared ad dialog

    Try to just record you testcase actions afresh ('Record Actions') and let SilkTest decide how it will work with both windows.
    I find it's often better to record a script and let SilkTest record window declarations automatically, as opposed to actually doing 'Record Window Declarations'.

    P.S. I don't think you can 'attach' images in this forum, but you can upload them somewhere and post the link to it.

  3. #3
    Junior Member
    Join Date
    Aug 2006
    Location
    pune
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to recognize the differnt object on windowd delcared ad dialog

    I have tried recording the tescase on it. but as silk is identifying the second window as dialog and the it is not identifying the different objects inside it (button , menu, text box etc). It is recording action in the form of mouse coordinates(which Is not reliable )
    also I have tried capturing the declaration of stand alone application and using the same declaration when I am launching my whole application, but here it is giving the error as it is not finding the different objects of that window.

    Here is declaration that I got when I have launch it as standalone (separate) application

    [-] window JavaMainWin Agent
    [ ] tag "Agent"
    [-] JavaJFCImage WebACD
    [+] multitag "WebACD"
    [ ] "$javax.swing.JLabel[1]"
    [+] JavaJFCToolBar JavaxSwingJToolBar
    [ ] tag "$javax.swing.JToolBar"
    [+] JavaJFCPushButton JavaxSwingJButton1
    [ ] tag "$javax.swing.JButton[1]"
    [+] JavaJFCPushButton JavaxSwingJButton2
    [ ] tag "$javax.swing.JButton[2]"



    This is the declaration that I have got when I am launching my whole Application

    [-] window DialogBox Agent
    [ ] tag "Agent"


    here in second declaration the different objects from agent windows are identified

  4. #4
    Junior Member
    Join Date
    Oct 2004
    Location
    India
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to recognize the differnt object on windowd delcared ad dialog

    Hi

    You can include Dialogbox tag in main window.

    1st window:
    [-] window JavaMainWin Agent
    [ ] tag "Agent"
    2nd window:
    [-] window DialogBox Agent
    [ ] tag "Agent"

    Make it as one:
    [-] window JavaMainWin Agent
    [ ] tag "[DialogBox]Agent/Agent"

    It would be work....
    Regards
    Veera Reddy

  5. #5
    Junior Member
    Join Date
    Aug 2006
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to recognize the differnt object on windowd delcared ad dialog

    Hi,

    I am facing similar kind of problem.

    Is there any help to resolve similar kind of problem?

    Thanks

  6. #6
    Junior Member
    Join Date
    Feb 2007
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to recognize the differnt object on windowd delcared ad dialog

    Pl try it ..hope it shoud work.
    window:
    [-] window JavaMainWin Agent
    [ ] multitag"~ActiveApp/Agent"
    "Agent"

    [-] window DialogBox Agent
    [ ] tag "Agent"

    Regards,
    Ram Deote.

  7. #7
    Senior Member
    Join Date
    Jan 2007
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to recognize the differnt object on windowd delcared ad dialog

    Even if it records all actions based on mouse movement, you could look into what objects it does save in the frame and use its properties/methods. I think what you are facing is pretty common. Let Silk record the window declarations automatically for the time being. Then look into the objects that are recorded and play around with their properties and methods. Worked for me!!!

    All the best.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 8.82%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 02:11 AM.

Copyright BetaSoft Inc.