Control is not found in "Save As" window of web application
I am trying to download a file several times using the same parameterized automation, at the beginning of the process the first file is downloaded (in the first iteration), but all the next iterations (using the same automation) the control that receives the file name for the "Save As" window is not found. I tried with WaitForCreate but still the component is not found, validating all the parents of this control I discovered that the control cmbComboBox father of txtTextBox is not recognized by the WaitForCreate so it does not find its son txtTextBox. screenshot attached, I'm using the Pega Robotics Studio v8.0.2038.0
I assume you have performed the same process in interrogation mode to troubelshoot. If not, I would do that first. You might be able to identify a match rule that doesn't work for the second time that control gets created. If you haven't, or if it works in interrogation mode when you go through the process a second time, you'll need to examine the RuntimeLog.txt by enabling the FilePublisher. If you set All Categories to Verbose, you should get a detailed description of the matching process on each control. You should look for "| cmbComboBox" (pipe space control name without the quotation marks) in the log to locate all of the attempts at matching it. After the first run, look at all the messages where matching is failing and you might be able to determine which of your match rules does not work on the second iteration. You can also use a tool like Spy++ to get the window handle of the control that isn't matching and then searching the log for it to assist in determining why it didn't match.