Could not find member 'CommunicationMethod' in type 'http://schemas.uipath.com/workflow/activities:OpenBrowser'

Hi all ,

when i’m trying to copy paste a .xaml file and open it, in output it says an error as follows,
Could not find member ‘CommunicationMethod’ in type ‘http://schemas.uipath.com/workflow/activities:OpenBrowser’. Row: 153, Column: 33
I tried deleting Project Json file and reopen still getting the same issue.

Could someone please suggest the solution.

Thanks in advance
vybhavi

Hi , Could be because of missing Dependency package , did you check any dependency package is missing ?

All dependencies are available in project

@Shree_Vybhavi It could be due to package version problem.

i tried updating it still no luck…

i’m getting this issue only for open browser activity.

Reproducing steps - create an xaml file with open browser activity and copy paste the same xaml file in other project and try to open it you will get the error mentioned above

@Shree_Vybhavi version problem might exists in 2 situations either

  1. you might have used the activity in lower while creating the workflow and opened in studio which has higher version of that activity.
  2. you might have used the activity in higher while creating the workflow and opened in studio which has lower version of that activity.

In one case u needed to downgrade the activity and one case you need to upgrade the activity.

There might be other problems apart above one.

1 Like

Hi @Manjuts90

sorry for the late reply.
Yes this was the issue, while creating a workflow studio was in lower version when copy pasted it threw error.But its wasn’t the case before right?

Regards,
Vybhavi

@Shree_Vybhavi Policies might have changed based on versions. I don’t know much about it. Is everything working fine?

Yes after i update dependency it did.

Regards,
Vybhavi

1 Like

Hi, may I know which dependencies you updated to correct it?

Hi @Nisa,
sorry for the late reply.
It was UiAutomation pacakge

Regards,
Vybhavi

2 Likes

Hi @Shree_Vybhavi,

No worries, thanks for the information!

Hi vybhavi,

How did you came to know that it UiAutomation package because i am facing the same issue like “Could not find member ‘Id’ in type ‘http://schemas.uipath.com/workflow/activities:Target’.Row: 702, Column: 107”.

Can you please help me in finding which package it is?

Thanks in advance

Hi,

you can try upgrading system activities package.

Thanks
Rakesh