02-24-2012, 09:17 PM
I hope someone can help me with this one.
The way my script is working is one window (parent) opens another window (child).
Then I am trying to clear and write data into the Child Window.
The coding is as follows;
As soon the script hit this line I am getting the following error message “Element not found”
I even tested, using the script below, if QTP sees the window/filed and it works
May someone let me know what I am doing wrong?
Thanks
The way my script is working is one window (parent) opens another window (child).
Then I am trying to clear and write data into the Child Window.
The coding is as follows;
Code:
VbWindow("Child Window ").VbEdit("FieldOne").Type micBack
As soon the script hit this line I am getting the following error message “Element not found”
I even tested, using the script below, if QTP sees the window/filed and it works
Code:
If VbWindow("Child Window").VbEdit("FieldOne").Exist(5) Then
MsgBox "I can see the Child Window and FieldOne"
End if
May someone let me know what I am doing wrong?
Thanks