avenedam
15 years agoOccasional Contributor
Odd Behaviour with VB App testing
Hi again!
I'm noticing some odd behaviour when trying to map the objects in my VB 6 application. I have a form that has 6 text boxes, when I click on one of the text box, a keyboard form is instantiated. I then enter some text and click OK. The form is then destroyed. I then click the second text box and the keyboard form is created again. This happens for the next 5 textboxes.
My problem is that the keyboard seems to be mapped to the object browser in a different way each time. In some cases the keyboard appears in the object browser as VBObject["frmKeyboard"] and in some cases it appears as Form["Enter the Text"].
I haven't been able to pin down what causes this, although it seems the first click on the textbox works fine and it is the subsequent instances of the frmKeyboard that change on me.
This may have something to do with the fact that the form has all the same properties(caption, width, child objects, etc).
Has anyone experienced this issue, or know why this is happening? I'd like to stablize this test before it goes into our regular test cycle.
Thanks in advance.
I'm noticing some odd behaviour when trying to map the objects in my VB 6 application. I have a form that has 6 text boxes, when I click on one of the text box, a keyboard form is instantiated. I then enter some text and click OK. The form is then destroyed. I then click the second text box and the keyboard form is created again. This happens for the next 5 textboxes.
My problem is that the keyboard seems to be mapped to the object browser in a different way each time. In some cases the keyboard appears in the object browser as VBObject["frmKeyboard"] and in some cases it appears as Form["Enter the Text"].
I haven't been able to pin down what causes this, although it seems the first click on the textbox works fine and it is the subsequent instances of the frmKeyboard that change on me.
This may have something to do with the fact that the form has all the same properties(caption, width, child objects, etc).
Has anyone experienced this issue, or know why this is happening? I'd like to stablize this test before it goes into our regular test cycle.
Thanks in advance.