Basically I need to type a text in 2 text boxes and press Save button to proceed further.
After pressing Save button the text disappears from those text boxes.
Local $oIE = _IEAttach("page")
$firstName = "Andy"
$lastName = "Gour"
$oDiv = _IEGetObjById($oIE, "2c54f866-bf1b-4999-b587-7971d7d8648c")
$oFirstName = _IEGetObjById($oDiv, "b91587da-5723-4b0f-8c5d-2c42f80e99ab")
$oLastName = _IEGetObjById($oDiv, "f1bee0d0-651a-49aa-887b-4bab3745072f")
;fill up
_IEAction($oFirstName, "focus")
_IEFormElementSetValue($oFirstName, $firstName)
Sleep(500)
_IEAction($oLastName, "focus")
_IEFormElementSetValue($oLastName, $lastName)
The code works perfectly and text is in text boxes, but as soon as I press save button for this page the text disappears and status check for those text-boxes shows they are empty.
If I use Selenium webdriver - no problem, Sikuli - no problem as well, only with AutoIt.
Thanks