SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jun 2005
    Location
    Australia
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    qtp unable to perform click method on object when mouse-over

    qtp is unable to perform click method on object named campaing which appear on event mouse-over on add button. I tried wait property to make sure object appear and it does appear but qtp either doesn't perform click method on runtime object or it perform on wrong co-ordinates cuz it finishes without generating any error message. and if during playback I move cursor close to object it does perform the click method .
    here is qtp code
    Browser("Login").Page("Brand Manager").Frame("mainpanel").Image("tb_add_a").Fir eEvent "onmouseover"
    Browser("Login").Page("Brand Manager").Frame("mainpanel").WebElement("Campaign" ).WaitProperty "visible", true, 10000
    Browser("Login").Page("Brand Manager").Frame("mainpanel").WebElement("Campaign" ).Click

    ANY SUGGESTIONS

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: qtp unable to perform click method on object when mouse-over

    Try using

    Browser("Login").Page("Brand Manager").Frame("mainpanel").Image("tb_add_a").Obj ect.onmouseover

  3. #3
    Member
    Join Date
    Jun 2005
    Location
    Australia
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: qtp unable to perform click method on object when mouse-over

    didn't work using above, actually its not the object giving problem qtp is able to see object but not performing click method or function on it for some reason.

  4. #4
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: qtp unable to perform click method on object when mouse-over

    I believe that the problem may be coming due to the frame. Sometimes I have had problems with frame while play back.

 

 

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

Copyright BetaSoft Inc.