I have a custom txtBox which on a double click >> opens a form on which there is a table, there you select a value from that table and the value selected will appear on the txtBox
i wrote a method that receive the txtBox, expected form that supposed to be open and the table that i have to select the value from
problems is Ranorex hangs when entering the method, more specifically it hangs on this code snippet
Code: Select all
/// <summary>
/// The TableAgreementType item.
/// </summary>
[RepositoryItem("baf8f1fe-b09a-4e35-a692-d8d8bb5cca37")]
public virtual Ranorex.Table TableAgreementType
{
get
{
return _tableagreementtypeInfo.CreateAdapter<Ranorex.Table>(true);
}
}
so here is my problem
1. why is the table needs to be visible in order to "retrieve" it from repository?
2. i need 1 method to click on the field and than wait for the table to appear and than select the value, i do not wish to split it into separate methods.
is there a workaround is it a bug, or is it supposed to work like so?
Regards,
tnimni