How do i fix the issues "Cannot bring the Target application in the foreground"

Hi @divya.17290 - Does this activity in only failing in unattended mode. I guess the issue is not at Type Into activity. In the exception details, if you see the source it is showing as Src Changes but the name of your Type Into activity is just Type Into. So, if the exception occurs at Type Into activity it should show the source name as Type Into

So, the problem occurring while opening the application. Please check the below thread