I have a search button on my page and RxPath to it is
Code: Select all
“/dom[@caption='CreateInvoice']//div[#'silverlightControlHost']/?/?/form[@name='Silverlight Control']/button[@automationid='SearchButton']/picture[@classname='Image']”
“Result StackTrace:
at Ranorex.Adapter..ctor(Element element)
at Ranorex.WebElement.op_Implicit(Element element)
at CatalystRnrx.ObjectRepository.CreateInvoice.get_SearchBatton() in C:\qa\BDD_Automation\CatalystRnrx\CatalystRnrx\ObjectRepository\CreateInvoice.cs:line 25
at CatalystRnrx.TestClass.TestMethod7() in C:\qa\BDD_Automation\CatalystRnrx\CatalystRnrx\TestClass.cs:line 257
Result Message: Ranorex.CapabilityNotSupportedException : The element does not support the required capability 'webelement'.”
May be it's due to trial license or I missed some references in MY VS project.
Thanks for all help!