Ranorex Studio is not able to find an object during playback : Automation Tools

Ranorex Studio is not able to find an object during playback

Ranorex Spy, Recorder, and Studio.

Ranorex Studio is not able to find an object during playback

Postby ohm » Thu Jul 15, 2010 10:40 pm

I am a paid ranorex subscriber and I am having this problem with Ranorex studio.

Ranorex is failing to find and click a button during playback. This button appears during an order cancellation process. During this process after pressing 'End Call' button in page 1, page 2 appears with 'Cancel' button. When I try to use 'Highlight Element' or 'Play From Here', 'Cancel' button gets highlighted and pressed. But when I run the whole script I am getting following error:

Ranorex.CapabilityNotSupportedException: Item 'OMS_Page.Cancel.Button_OK_to_cancel' is no Button. ---> Ranorex.CapabilityNotSupportedException: The element does not support the required capability 'button'.
--- End of inner exception stack trace ---
at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[T](Boolean throwException)
at OMS_Existing_Customer.OMS_Existing_CustomerRepositoryFolders.CancelFolder.get_Button_OK_to_cancel() in c:\Documents and Settings\Desktop\Ranorex Smoke Scripts\OMS Existing Customer\OMS Existing Customer\OMS Existing CustomerRepository.cs:line 2267
at OMS_Existing_Customer.Cancel.Start() in c:\Documents and Settings\Desktop\Ranorex Smoke Scripts\OMS Existing Customer\OMS Existing Customer\Cancel.cs:line 55
at OMS_Existing_Customer.Program.Main(String[] args) in c:\Documents and Settings\Desktop\Ranorex Smoke Scripts\OMS Existing Customer\OMS Existing Customer\Program.cs:line 45


Please advise.
Thanks.
ohm
 
Posts: 27
Joined: Thu Dec 03, 2009 8:27 pm

Re: Ranorex Studio is not able to find an object during playback

Postby Support Team » Fri Jul 16, 2010 12:23 pm

Hi,

Please can you post us a Ranorex Snapshot of the "Button" where you get this error message.
http://www.ranorex.com/support/user-gui ... html#c2072

It seems the button you want to automate is no button. This is the reason why you get the error message "The element does not support the required capability 'button'.". Please, read the corresponding help in the Ranorex User Guide:
http://www.ranorex.com/support/user-gui ... apter.html

Thanks and Regards,
Peter
Ranorex Support Team
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation Tools

Who is online

Users browsing this forum: No registered users and 0 guests