ckumar
5 years agoOccasional Contributor
Element identified during recording is failed during execution with TC v 14.60
Hi ,
Im trying to execute desktop applications. But unfortunately the object identified during recording is failed to identify during execution.
Its simple login form where in when user enters the username and password then the OK button should be enabled,
This works in manually and also during recording. But during execution the ok button is not enabled even after entering the username and password
Regards,
Ckumar
Hi ,
Did a small work around. After entering username and do tab and enter password. Here the ok button was not enabled. So now i have added Tab keyword twice. then the OK button enabled
Aliases.FirmwareTestTool.UserAuthenticationDlg.userIdTextBox.SetText("adiUser") #Enters '[Tab]' in the 'userIdTextBox' object. Aliases.FirmwareTestTool.UserAuthenticationDlg.userIdTextBox.Keys("[Tab]") Aliases.FirmwareTestTool.UserAuthenticationDlg.passwordTextBox.SetText(Project.Variables.Password1) Aliases.ADI_EagleEye_BoardandFirmwareTestTool.UserAuthenticationDlg.userIdTextBox.Keys("[Tab]") #Enters '[Tab]' in the 'userIdTextBox' object. Aliases.ADI_EagleEye_BoardandFirmwareTestTool.UserAuthenticationDlg.userIdTextBox.Keys("[Tab]") #Clicks the 'okButton' button. Aliases.ADI_EagleEye_BoardandFirmwareTestTool.UserAuthenticationDlg.okButton.ClickButton()