I just had a look at the post you put up on Watir regarding the problem
we had earlier. I'm pretty sure it is to do with the code within
setupState1() which does this:
$ie.button(:name, state1SpecifiedUserButtonId).click
statusMessage = "Looking for an IE window with a title of Select
Assigned to"
sleep(7) # gives the window time to open
ie2 = IE.attach(:title, /Select Assigned to/)
statusMessage = "Setting the system party as the user to be assigned to"
ie2.radio(:id, "0-SYSTEMPARTY").set
I saw that this code was causing someone else the same runtime error so
I'm guessing that is the reason we're getting it as well.
Mike
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Harris
Sent: 31 August 2005 14:49
To: [email protected]
Subject: [Wtr-general] WARN -- : runtime error in wait busy
When I run my script I get this error returned:
.Test 7...Creating a workflow
W, [31-Aug-2005 14:02:56#2956] WARN -- : runtime error in wait busy
OLE error code:80004005 in <Unknown>
<No Description>
HRESULT error code:0x80020009
Exception occurred.
How can I find the cause of this runtime error?
The Test that returned this error is:
puts "Test 7...Creating a workflow"
goToSignOnPage()
login()
actAsSystemParty()
workflowName = "My Workflow"
workflowsLink = $ie.getLink(:text, "Workflows")
begin
statusMessage = "Looking for workflows link"
$ie.goto(workflowsLink)
statusMessage = "Looking for new workflow
button"
$ie.button(:name, "new").click
setupState1(workflowName)
setupState2()
addEvent(workflowName)
rescue
failTest(7)
puts("Failed while " + statusMessage)
end
Thanks for your Help
Mike Harris
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general