| || |
I am new to WinRunner. I have a small problem. When I spy the "Font" window in notepad application, nchildren value is shown as 26. But when I write a test script to calculate the nchildren value I get only 18. If I learn all the objects in the window, the GUI Map Editor learns 20 objects. Can somebody explain why this difference? Where I am going wrong? Thanks in advance.
There are so many possibilities here, it is hard to answer you. If you want to know what de issue is, you should check the children in every case, then you will know what is missing and you can close in on a reason.
The GUI Map Editor maps only the GUI components. It is possible that the spy "sees" non GUI components. This could explain one of those differences.
Since I do not have your testscript, it is impossible to say why this migt give a different result....