QuestionQ5

Advanced Data Manipulation

A test case obtains its test data from an entity named TestEntity2. TestEntity2 contains one reference-type field, ReferencedEntityName, which references the Name field in TestEntity1. Both entities are shown below.

Question Image

Within a UiPath Studio test case, you must process the ReferencedEntityName field from the generated testEntity2 argument.

What is the correct way to access the value for each record, such as Alin or Ghita?

  • A You are not able access the Name field from TestEntity1.
  • B Using testEntity2.ReferencedEntityName.Name
  • C Using testEntity2.ReferencedEntityName
  • D Using testEntity2.Name
Explanation

A UiPath Data Service Relationship field is imported into Studio as the related entity type, allowing access to that related entity's fields. ReferencedEntityName is the referenced TestEntity1 record, so its Name property returns the related display value.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!