Contd-OpenBrowser activity runs twice and then throws an exception

@ashokkarale

Thanks for the quick revert.

As a NEW user, I was not able to add the details in the same thread of my original question opening a new topic. And adding the details of sequence XAML file and main XAML file

++++++++++++
// sequence XAML

System.Activities System.Activities.Statements System.Activities.Expressions System.Activities.Validation System.Activities.XamlIntegration Microsoft.VisualBasic Microsoft.VisualBasic.Activities System System.Collections System.Collections.Generic System.Collections.ObjectModel System.Data System.Diagnostics System.Drawing System.IO System.Linq System.Net.Mail System.Xml System.Xml.Linq UiPath.Core UiPath.Core.Activities System.Windows.Markup GlobalVariablesNamespace GlobalConstantsNamespace UiPath.UIAutomationNext.Enums UiPath.UIAutomationCore.Contracts Microsoft.VisualBasic mscorlib System System.Activities System.ComponentModel.TypeConverter System.Core System.Data System.Data.Common System.Data.DataSetExtensions System.Drawing System.Drawing.Common System.Drawing.Primitives System.Linq System.Net.Mail System.ObjectModel System.Private.CoreLib System.Xaml System.Xml System.Xml.Linq UiPath.System.Activities UiPath.UiAutomation.Activities UiPath.Studio.Constants UiPath.UIAutomationNext UiPath.UIAutomationCore True True ++++++++++++

===========main.XAML

{
“DisplayName”: “Main”,
“Tooltip”: null,
“HelpLink”: null,
“Color”: null,
“OriginalIconFileName”: null,
“Arguments”: [
{
“Name”: “in_OrchestratorQueueName”,
“DisplayName”: “in_OrchestratorQueueName”,
“Category”: null,
“Tooltip”: “Allows the Orchestrator queue name to be passed as an argument, instead of only being defined in the configuration file.”,
“Placeholder”: null,
“Widget”: null,
“IsRequired”: false,
“IsPrincipal”: true,
“ArgumentType”: 0,
“DataSourceItems”: null
},
{
“Name”: “in_OrchestratorQueueFolder”,
“DisplayName”: “in_OrchestratorQueueFolder”,
“Category”: null,
“Tooltip”: “Allows the Orchestrator folder name where the queue is created to be passed as an argument, instead of only being defined in the configuration file.”,
“Placeholder”: null,
“Widget”: null,
“IsRequired”: false,
“IsPrincipal”: true,
“ArgumentType”: 0,
“DataSourceItems”: null
}
]
}

@sanjeevwangi

a screenshot would help…

or write the steps or flow here

cheers

Steps followed

  1. Created a SEQUEMCE under REFramework project.
  2. In that sequence added an OPEN BROWSER activity.
  3. Clicked on RUN FILE option.
    Current Output
    The robot runs twice, and the mentioned URL gets opened in the 2 separate browsers. And in third run EXCPETION is thrown

Expected Output
The robot should run only once and the control should return back to the UiPath Application.

Note- Main and sequence XAML file contents are already added in the question.

@sanjeevwangi,

Use modern activity Use Application/Browser to open the browser.

@ashokkarale

Thanks for the pointer. The modern activity “Use Application Browser” works and serving the purpose. I can proceed further with this.

Not sure what is the issue with classic activity OPEN BROWSER.

1 Like

Glad to hear that @sanjeevwangi .

Kindly close the thread by marking my answer as solution.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.