#1  
Old 26th September 2015, 01:49 AM
Ad Franse [NDX]
 
Posts: n/a
Default recording

choose create new-project, ok

choose the recording-icon, a window is shown, accept this window

choose an executable and press ok.

I get a log of messages that inernet explorer is not working any ore....


is this correct ?

can you reproduce this ?

Ad Franse
  #2  
Old 26th September 2015, 02:36 PM
Eivind Bakkestuen [NDD]
 
Posts: n/a
Default Re: recording

> choose an executable and press ok.

What executable? Any?

> I get a log of messages that inernet explorer is not working any
> ore....


I can't reproduce this; where is the message coming from? Is there
anything recorded in the TestDriver log (see help | open log folder)?


--
Eivind Bakkestuen [NDD]
  #3  
Old 26th September 2015, 08:10 PM
Ad Franse [NDX]
 
Posts: n/a
Default Re: recording

I have installed Windows 10 in a virtual machine.
installed quality suite

start testdriver
marked (always open last project)
record a script
marked 'to match recording time'
clicked ok
at executable i browsed for 'c:\windows\system32\notepad.exe'
in arguments i placed c:\temp\test.txt

and pressed ok

then internet explorer starts to complain ( A LOT !)

the script is below

running the script
gives me a few errors :
(at the end) hook server heap error: invalid handle)
windows handle not valid

at closing testdriver.exe (testdriver.exe does not work anymore)



Ad Franse

set ProcessID =
System.LaunchProcessWithParms("C:\Windows\System32 \notepad.exe",
"c:\temp\test.txt")
set wh_OleMainThreadWndClass1 = Events.WaitForCreateWindow(ProcessID,
"OleMainThreadWndClass")
set wh_Notepad1 = Events.WaitForCreateWindow(ProcessID, "Notepad")
set wh_IME1 = Events.WaitForCreateWindow(ProcessID, "IME")
System.WaitUntilElapsed(16)
set wh_Edit1 = Events.WaitForCreateWindow(ProcessID, "Edit")
set wh_msctls_statusbar321 = Events.WaitForCreateWindow(ProcessID,
"msctls_statusbar32")
set wh_MSCTFIME_UI1 = Events.WaitForCreateWindow(ProcessID, "MSCTFIME UI")
System.WaitUntilElapsed(2797)
Robot.LeftControlClick(wh_Edit1, 65, 17)
System.SetForegroundWindow(wh_Notepad1)
Robot.MouseCoordsAreRelativeTo(wh_Notepad1)
Robot.Go
System.WaitUntilElapsed(3813)
System.WaitForFocus(wh_Edit1)
Robot.Key("ENTER")
Robot.Key("ENTER")
Robot.Go
System.WaitUntilElapsed(4094)
Robot.MouseCoordsAreRelativeTo(wh_Notepad1)
System.WaitUntilElapsed(4563)
Robot.TypeStr("extra rege;")
Robot.Go
System.WaitUntilElapsed(8313)
Robot.Key("BACKSPACE")
Robot.Go
System.WaitUntilElapsed(8782)
Robot.TypeStr("l")
Robot.Go
System.WaitUntilElapsed(9735)
Robot.Key("ENTER")
Robot.Go
System.WaitUntilElapsed(11594)
Robot.MouseCoordsAreRelativeTo(wh_Notepad1)
Robot.LeftClick(44, -9)
Robot.Go
set wh_SysShadow1 = Events.WaitForCreateWindow(ProcessID, "SysShadow")
System.WaitUntilElapsed(13719)
Robot.MouseCoordsAreRelativeTo(wh_Notepad1)
Robot.LeftClick(63, 52)
Robot.Go
System.WaitUntilElapsed(13828)
Events.WaitForDestroyWindow(wh_SysShadow1)
System.WaitUntilElapsed(13844)
System.MenuCommand(wh_Notepad1, System.GetMenu(wh_Notepad1), "Bestand &
Opslaan")
System.MenuCommand(wh_Notepad1, System.GetMenu(wh_Notepad1), "Bestand &
Opslaan")
System.WaitUntilElapsed(14547)
Robot.MouseCoordsAreRelativeTo(wh_Notepad1)
Robot.LeftClick(24, -11)
Robot.Go
set wh_SysShadow2 = Events.WaitForCreateWindow(ProcessID, "SysShadow")
System.WaitUntilElapsed(15500)
Robot.MouseCoordsAreRelativeTo(wh_Notepad1)
Robot.LeftClick(77, 162)
Robot.Go
System.WaitUntilElapsed(15610)
Events.WaitForDestroyWindow(wh_SysShadow2)
System.MenuCommand(wh_Notepad1, System.GetMenu(wh_Notepad1), "Bestand &
Afsluiten")
System.MenuCommand(wh_Notepad1, System.GetMenu(wh_Notepad1), "Bestand &
Afsluiten")
Events.WaitForDestroyWindow(wh_msctls_statusbar321 )
Events.WaitForDestroyWindow(wh_Notepad1)
System.WaitUntilElapsed(15625)
Events.WaitForDestroyWindow(wh_IME1)
Events.WaitForDestroyWindow(wh_MSCTFIME_UI1)
Events.WaitForDestroyWindow(wh_OleMainThreadWndCla ss1)

  #4  
Old 28th September 2015, 01:09 AM
Eivind Bakkestuen [NDD]
 
Posts: n/a
Default Re: recording

> then internet explorer starts to complain ( A LOT !)

The above does not tell me anything meaningful; is there any way you
could explain exactly what happens here? Ctrl-C to copy text from
dialogs that pop up, screenshots, anything?

I have windows 10 too, in VMs and as host OS, and I can't reproduce any
cracyness from Internet Explorer.

> running the script
> gives me a few errors :
> (at the end) hook server heap error: invalid handle)
> windows handle not valid


For me TestDriver becomes unresponsive during playback and does not
appear to recover. We need to investigate.


--
Eivind Bakkestuen [NDD]


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OT: Recording sound with variable length Roberto Nicchi nexusdb.public.discussions 2 15th July 2013 02:46 AM


All times are GMT +11. The time now is 05:56 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.