if( StringUtils.hasContent( sourceXPath ) )
{
sourceXPath = PropertyExpansionUtils.shortenXPathForPropertyExpansion( sourceXPath, val );
}
TestProperty property = sourceStep.getProperty( sourceProperty );
PropertyExpansion pe = new PropertyExpansionImpl( property, sourceXPath );
String valueForCreation = target.getValueForCreation();
target.insertPropertyExpansion( pe, null );
if( !StringUtils.hasContent( sourceXPath ) && StringUtils.hasContent( valueForCreation )
&& !property.isReadOnly() )
{
valueForCreation = UISupport.prompt( "Initialize property value to", "Get Data", valueForCreation );
if( valueForCreation != null )
{
property.setValue( valueForCreation );
}
}
}