Hi,
Is it possible to create a new webelement in the user code level?
I have the Xpath of the webelement
Thanks and Regards,
Mohanraj Kesavan
Create Object from xPath in userCode
Re: Create Object from xPath in userCode
Hi,
I think you can use for example FindSingle (or TryFindSingle) method:
I think you can use for example FindSingle (or TryFindSingle) method:
Code: Select all
WebElement webElementItem = Host.Local.FindSingle<WebElement>("your/xpath");
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration