I am using WaitForText Function to check if webpage loaded completely. Text appears in the Child Window and the script recognizes the text properly but at times it doesn't recognize the text even if it exists on the webpage. Sometimes changing the Window Name from "Internet Explorer ChildWindow" to "Internet Explorer MainWindow" makes the script to run again but it starts throwing error again after sometime and has to be reverted.
Any help on how to fix this issue in the script?
Answer by Yuriy L. ·
I need to correct your recommendation 5. Setting TabProcGrowth to 0 was required in releases 12.1 and earlier. Starting from 12.1.1 TabProcGrowth should either be absent at all, or set to REG_SZ "medium", This probably is not related to Jatin's problem, since if this setting affects text capture, then text capture usually does not work at all, whereas Jatin's problem is intermittent.
Contacting support is a good idea. To reduce the turnaround time please collect and attach to the case the following data:
Please also indicate the script in problem and provide as many details as you can.
Answer by Erick Z. ·
Have you tried Ulf's recommendations?
If all of my recommendations didn't help please contact support. They have a fix that might help in this case but they have to make the call if indeed this is the issue or not.
Answer by Ulf T. ·
Have you tried any of the other functions?
Answer by Erick Z. ·
I have a couple of settings you could check across your agents to make sure waitfortext works correctly. I have never had to use the child window, the main window should do the trick.
Check this settings:
1.In agents with low resources configure windows to work for the best performance under “Advance system setting> Performace” and select “Adjust for best performance”
2.Reset IE setting to default:
From internet explorer options>Advance Tab and select Restore Advance Settings
3.Disable IE Protected mode:
From internet explorer options>Security disable the Enable Protected Mode option under Internet.
4.Make sure Use software rendering instead of GPU rendering setting is enable.
From internet explorer options>Advance and enable the “Accelerated graphics”
5.Make sure the "TabProcGrowth" registry setting is set to 0 (if it does not exist that is ok)
In the registry make sure the key is set to 0 in the following path:
6.Make sure IE is not in compatibility mode and In IE, under Tools-> Internet options->Security for each zone, update the Custom Level “Font Download” = disable, Display mixed content = enable.
Please let me know if this settings solve your issue.