We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Automated Testing and XPToolBar

Thread ID:

Created:

Updated:

Platform:

Replies:

45573 Jun 23,2006 12:58 PM Jun 26,2006 01:36 PM Windows Forms 1
loading
Tags: Tools
Kyle Schmitt
Asked On June 23, 2006 12:58 PM

I''m attempting to simulate a click on an item in a SyncFusion XPToolBar BarItem. Right now I''m using PerformClick() on the item, but I''m having big problems with that. If a new window is opened, or a different window brought into focus by the click, TestComplete hangs until that window is closed. This snippet is from my test, where MenuBar is pointed to a SyncFusion ToolBar. The item being clicked brings up anew window. From the looks of the code, it should click on the menu item, a new window should open, and then bring up a message box saying, "Junk". What really happens however is that the menu item is clicked, a new window is opened, and TestComplete hangs. Once the new window is manually closed, test complete continues as if nothing was wrong. MenuBar.Items.Item(2).PerformClick() MsgBox("Junk") Is there a better way of getting an item clicked programatically?

J.Nagarajan [Syncfusion]
Replied On June 26, 2006 01:36 PM

Hi Kyle, I have tested this issue in our Testcomplete (4.21.1571.3). I have attached the script generated in the test. Could you please provide us more details regarding this issue?. Is there anything specifics about your testing?. Codesnippet.zip Thanks for your patience. Regards, J.Nagaraj

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;