07/02/2018 15:32:54 Loading asset in_Credential failed: Could not find an asset with this name. Error code: 1002

uiautomation
studio

#1

Hi, am unable to finish, level 3 assignment 1. due to below exception. please help: thanks in advance!!
image


#2

create your asset in Orchestrator as type is credentials


#3

Hi rajsekhar, i have already created credentials in orchestrator.


#4

Hey @ravisha

Quick question - You are defining it in configuration file in Settings Tab or in Asset Tab?

Regards…!!
Aksh


#5

Hi
in Asset tab.


#6

Gotcha @ravisha

Mentione it in Settings tab :slight_smile: Credentails.

Regards…!!
Aksh


#7

you mean in config file. if yes,I mentioned in settings tab.


#8

Hey Mate

in above screenshot (Before one) Asset Name is System1_Credentials so assign it in value part.

Regards…!!
Aksh


#9

Hi,
am getting below exception. i changed in config file, orchrstrator, and in getapp credentials

Loading asset in_Credential failed: Invalid asset type. For credentials use Get Credential activity



#10

@ravisha

you are accsessing a config file value and using Reframwork so it will initialize all config values inside a dictionary so to access that check you argument value and use like this In_Config(“your asset name”)

Regards…!!
Aksh


#11

Hi, is this okay.


#12

Hi @ravisha,

You are good to go to next step.

Regards,
Indra


#13

Hi Rahmat,
getting below two exceptions.
Loading asset in_Credential failed: Could not find an asset with this name. Error code: 1002

Applications failed to close normally. Cannot find the UI element corresponding to this selector: at Source: Invoke System1_Close workflow: Attach Browser 'iexplore.exe ACME’


#14

Could you share your xaml?


#15

Main.xaml (59.3 KB)


#16

Dear @ravisha

You have to clear basics first about argument passing from main file Init Application you will get In_Config argument as a dictionary then you have to use as i mentioned in above post as well:

In_Config(“your assent name”)

Regards…!!
Aksh


#17

she changed use hardcode “In_Config” instead of Config Object.

for @ravisha,

I couldn’t help you if you only sent main.xaml. I want you to send 1 folder of REFramework.


#19

Akshay,
i hope this is the argument. if same, i have modified


#20

Could you screen shoot the asset list on your Orchestrator.


#21

yes, only one asset i have created.