I have the following code (and a lot of similar code/same issue). The code works flawlessly, then all of the sudden it stops and ...
... I get the Run Error:
Cannot identify the object "Account" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application.
Function file: O:\QTP Tests\LibraryImageAccessMain-2.qfl
Line (201): " .WebEdit("Account").Set DataTable("ACCT1", dtGlobalSheet)".
What is going on in QTP? Is my coding to complicated? I can sometimes shut everything down and restart my machine, QTP and IE and it may work or it may still error out.
Any experience or advise on fixing these intermittent Run Errors?
Thx Guys and Gals...
Code:
Public Function ChangeAcctNumber ()
With Browser("Wisdom").Page("Wisdom Main")
.WebEdit("Account").Set DataTable("ACCT1", dtGlobalSheet)
.Image("imButAcct2").Click 'Click GO
Wait(1)
.Link("All Images").Click
End With
End Function
... I get the Run Error:
Cannot identify the object "Account" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application.
Function file: O:\QTP Tests\LibraryImageAccessMain-2.qfl
Line (201): " .WebEdit("Account").Set DataTable("ACCT1", dtGlobalSheet)".
What is going on in QTP? Is my coding to complicated? I can sometimes shut everything down and restart my machine, QTP and IE and it may work or it may still error out.
Any experience or advise on fixing these intermittent Run Errors?
Thx Guys and Gals...