Hello, the field that appears with the value “ANDRES FELIPE” comes by default when I load the web page. My wish is to remove this value and enter a new one, but it doesn’t work.
This is the code I have:
WebUI.doubleClick(findTestObject(‘Object Repository/Consultar/Page_Bsqueda avanzada - Microsoft Dynamics 365/div_Escribir valor_ms-crm-Lookup ms-crm-Hid_efe464’))
WebUI.setText(findTestObject(‘Object Repository/Consultar/Page_Bsqueda avanzada - Microsoft Dynamics 365/input_Cliente del Pedido__ledit’),
‘DIEGO CUADROS’)
Generally, the same way you would “enable” the element if you were doing the testing manually. Unfortunately, I am not familiar with Dynamics 365 to know how that is done (for a specific field). In the image above, there is a “search” icon on the right-hand side. Do you need to click on that?
In your very first post, you say you try to enter a new value, “but it doesn’t work”. What does it do? Does it add (concatenate) onto the text that is already there or nothing at all?
Also, have you tried:
WebUI.click(findTestObject(‘Object Repository/Consultar/Page_Bsqueda avanzada - Microsoft Dynamics 365/input_Cliente del Pedido__ledit’))
WebUI.clearText(findTestObject(‘Object Repository/Consultar/Page_Bsqueda avanzada - Microsoft Dynamics 365/input_Cliente del Pedido__ledit’))
WebUI.setText(findTestObject(‘Object Repository/Consultar/Page_Bsqueda avanzada - Microsoft Dynamics 365/input_Cliente del Pedido__ledit’),‘DIEGO CUADROS’)
Note: you cannot just copy and paste into Eclipse (KS) as this forum supports “smart” quotes, which Eclipse does not.
No, nor should there be. That would be bad practice.
Katalon’s API set (and the selenium core beneath it) are designed to perform the same actions as a human user.
Write down the actions you perform as a human user and translate them to script statements in Katalon. When you hit a problem, post the steps and the errors you see here.
We use Dynamics 365 with Katalon. All field in Dynamics are represented by a hierarchical structure. You need to find the correct element to click first to enable the field so that you can interact with it. We use a modified and improved version of easyrepro for Java. It contains everything you need to use Katalon correctly with Dynamics 365. https://github.com/13rice/EasyRepro-Katalon