Forum Discussion

ckumar's avatar
ckumar
Occasional Contributor
5 years ago

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 ente...
  • ckumar's avatar
    ckumar
    5 years ago

    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()