How to capture a button with out mousemove?

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
sunkara7
Junior Coder
Posts: 25
Joined: Mon May 23, 2005 1:04 pm

How to capture a button with out mousemove?

Post by sunkara7 » Wed Oct 12, 2005 6:20 pm

Hi,

I am having a problem with the application that I developed using MacroScheduler. The Applicaion that I developed is web based application. So it have the menu like the menu in IE (File, Edit, View, Screens Ect). The Application have a button at the middle of the page. The main aim of the topic is I need to go to the button with out mouse move. Is there any way that I can go to the button with out mousemove. I can't rely on mousemove because if we hide the tool bars the position of the button may change. My main aim is go over the button and click the button.

Please help me with this problem. Appreciated.

Thanks,
Sri

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Oct 12, 2005 7:38 pm

I'm not a programmer and may be way off base but it seems to me that if you wrote the application you have control of how it behaves. Can't the application be written so that a key press such as "enter" will push the button?

Dick

User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Post by pgriffin » Wed Oct 12, 2005 9:56 pm

If "the button" is a windows object like "button", then you can use the PushButton command in MacroScheduler. Details are in the help files. If the button is on a webpage you might try the webrecorder from MJT for automating web applications.

Maybe start with this. Open the app to the point at which you need to push this button. Then open View System Windows from macroscheduler and look for that Apps Window Title. Somewhere below that title will be the object which contains the name of the button, if it is a Windows Object.

If it is, in fact, a windows object like "button" then use the PushButton command. Otherwise you need to investigate the WebRecorder

sunkara7
Junior Coder
Posts: 25
Joined: Mon May 23, 2005 1:04 pm

Post by sunkara7 » Thu Oct 13, 2005 1:50 pm

Thanks for your advice.

Here there is a citrix client inside the web based application. so the button is in the citrix cilent. When I search in View System Windows it is showing only the title of the webbased window and is not showing its inside citrix client and also the buttons inside the citrix client.

So is there any way that I can capture the button inside that citrix client.

Thanks
SkunkWorks wrote:If "the button" is a windows object like "button", then you can use the PushButton command in MacroScheduler. Details are in the help files. If the button is on a webpage you might try the webrecorder from MJT for automating web applications.

Maybe start with this. Open the app to the point at which you need to push this button. Then open View System Windows from macroscheduler and look for that Apps Window Title. Somewhere below that title will be the object which contains the name of the button, if it is a Windows Object.

If it is, in fact, a windows object like "button" then use the PushButton command. Otherwise you need to investigate the WebRecorder

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Thu Oct 13, 2005 2:11 pm

sunkara7 wrote:So is there any way that I can capture the button inside that citrix client.
No. Not from the local workstation. It may be possible *within* the client. A macro running locally to the remote machine might be able to manipulate it directly. But your local machine knows nothing about it - it's just sending mouse/keyboard events to the citrix client.
MJT Net Support
[email protected]

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts