| || |
Here is a sample of what I want to do:
.WebEdit("name:=1textbox").set = "myvalue"
With .Page("Title:=Popup Page") <font color="red">'QTP is lost </font>
.Webedit("name:=popupTextbox").set "my value"
I looked through the forums and can't find anything exactly like what I am dealing with. I assume that "creationtime" has something to do with the answer, but I am not sure if I can adequately ask the question yet. [img]/images/graemlins/grin.gif[/img]
Great forum, BTW... I have learned a lot here already.
creationtime is used to identify a browser by its opening sequence #. A browser that opens first gets it as 0 and a browser that open next gets 1 and so on. In your case it won't work because you are trying to use the same browser while the popup will be in a new browser
Browser("creationtime:=1").Page("Title:=Popup Page") .Webedit("name:=popupTextbox").set "my value" 'QTP is lost
Big slap to forehead. Thanks... it works perfectly.