After Dialog popup the process becomes inactive on Android
Hello TC members,
I'm facing the following problem on my Android with TC.
- We select a text in a list which results in a popup.
- In the popup we select the desired value and the popup closes.
- Now we need to select a confirmation button to go to the next screen, but we cannot click on it.
We wrote following function for it:
function SelectPromotedActionButton(StopOnError)
{
WaitUntilImageButtonAppears("buttonImageView",100,StopOnError);
var SearchVars = Array("ObjectType", "ViewID", "VisibleOnScreen");
var SearchItems = Array("View", "buttonBorder" , "True");
var Button = NameMapping.Mobile.Device.Process(activeProcess)["FindChild"](SearchVars, SearchItems, 50)
TC cannot find var Button and therefore not click on it.
We made a dirty workaround for it to rotate the device to Landscape and back to Portait to activate the process again, but that is not a proper solution for it.
Can someone help me out? Thanks!