iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-22-2009, 06:26 AM
WebProWorld New Member
 
Join Date: Oct 2009
Posts: 2
expertqtp RepRank 0
Default QTP Tutorial for Moving mouse to a particular object

Sometimes its required to place your mouse cursor on an object in your application and then perform some operation like clicking that object or even right clicking. I have created a short QTP tutorial for moving your mouse cursor on any object in your application.

I used Google webpage to create this small tutorial on HP Quicktest Professional. This script will hover over the mouse cursor inside the search box.(It will not click inside the search box, it will simply bring the mouse over the search box)

The QTP Script goes here:

x=Browser("micclass:=Browser").Page("micclass:=Pag e").WebEdit("name:=q").GetROProperty("abs_x")
y=Browser("micclass:=Browser").Page("micclass:=Pag e").WebEdit("name:=q").GetROProperty("abs_y")
Set obj=CreateObject("Mercury.DeviceReplay")
obj.MouseMove x,y
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse Over on a Web Link ee222 Web Programming Discussion Forum 2 08-12-2008 07:47 PM
Mouse Wonders, Inc. mousewonders Submit Your Logo For Review 9 08-18-2006 04:40 AM
Draggable object "sticks" with mouse waanagaran Flash Discussion Forum 1 04-20-2004 10:10 AM


All times are GMT -4. The time now is 05:34 AM.



Search Engine Optimization by vBSEO 3.3.0