SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    53
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Question UFT 12 Not recognizing object of the drop down toolbar

    Hi all,

    I am new to this UFT12 and trying to create a script using descriptive programing. the site has a toolbar and that toolbar has one dropdown, in this dropdown I have to recognize the close to close the screen. I am trying this code....

    SwfWindow(WINDOW_NAME).SwfToolbar(TOOLBAR_NAME).Pr ess(“Close”)


    Please tell me how to use object spy to read object of a dropdown. Do we have to press ctrl and then click on dropdown to recognize the object.

    I will appreciate your quick reply. I was trying to find out thread on UFT12 but didn't find my answers. Please lead me to the right thread if available for UFT12.

    Thanks

    ~G

  2. #2
    Super Member
    Join Date
    Dec 2005
    Location
    USA
    Posts
    1,407
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    you should use OR followed by descriptive statement but not the vise versa.
    SwfWindow(WINDOW_NAME).SwfToolbar(TOOLBAR_NAME).Pr ess(“Close”)
    ------------
    Chikki
    when things gets harder ,the harder gets going

  3. #3
    Member
    Join Date
    Nov 2007
    Posts
    53
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Hi Chikki,

    Can you please explain me little more what do you mean by that?

    Thanks,

  4. #4
    Super Member
    Join Date
    Dec 2005
    Location
    USA
    Posts
    1,407
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0
    What i mean is that you are using the descriptive programming followed by the OR statement
    SwfWindow(WINDOW_NAME).SwfToolbar(TOOLBAR_NAME).Pr ess(“Close”)

    It should be other way around.
    SwfWindow("WINDOW_NAME").SwfToolbar("TOOLBAR_NAME" ).Press(Close)
    ------------
    Chikki
    when things gets harder ,the harder gets going

  5. #5
    Member
    Join Date
    Nov 2007
    Posts
    53
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0
    Thanks!

 

 

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 11.54%
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 12:33 PM.

Copyright BetaSoft Inc.