I am using the activity Application/Browser Scope from Modern UI Automation, inside it I have used Type Into activity.
After executing the Type Into Activity the next activities are not getting executed and the log message is showing
Audit: Using Web App. Browser: Chrome URL: https://web.whatsapp.com.
Application/Browser Activity is not completed even there is no activities inside the scope except type into.
Properties for Browser/Application Scope
Unable to find the solution how to proceed for further activities inside the sequence.
Thank you so much for your kind reply in advance.
Hello @vishnu5 ,
Keep all other activities inside “DO” sequence and check.
Thank you for your quick reply.
Activities inside the do container are executing fine but after that the process not coming out of the Use Browser/Application Scope its just on hold and nothing happening
@vishnu5 if the activities are related that browser you should try using those inside the “Do” sequence. Because you are using the browser and if you are trying to execute any activity outside that “Use Browser” activity; might not work properly.
Hope I addressed it correctly.
Check if already the some chrome session is opened, if you have that then place a kill process and kill the session
Also you can specify the timeout property also, if it is not executing for some reason then it can be timeout
Hope this may help you
Yes I have a classic Open Browser activity fist to open WhatsApp web and after that I have used a Modern Use Browser/Application scope activity.
So in this scenario was it wrong to use Browser/Application scope activity after Open Browser ?
@vishnu5 Can you run in the debug mode and check once. Also, the Use Application/Browser activity will opens the browser if it was not opened already. So, try disabling Open browser activity and check once
Can you tell me your usecase, why you need classic open browser if you are using Modern activity?
Yes I have disabled the open browser activity and used only Use Application/Browser. Now the browser open correctly and no progress after that. No Exception Message after the default time out passed (30 Sec)
I have used classic open browser to open WhatsAppWeb. As the selectors are not reliable I have used the modern Use App/Browser activity to get a fuzzy selectors that I can rely.
And I have set the Open property for New Use Application/Browser activity =NAppOpenMode.Never because the browser is already opened using open browser activity.
@vishnu5 Can we connect on this
@vishnu5 Can you send your zoom link
@vishnu5 The issue is with the delay that you gave in Type Into activity. Delay field is in seconds. You are giving the delay as 2000 assuming this field accepts the values as milli seconds. Tool is converting the 2000 seconds equals to 33min. So, that is why it looks like it is stucking at Type Into activities but actually not. If could change all those delays it should work
Thanks Usha for your time to identify the issue.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.