Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any experience or advise on fixing these intermittent Run Errors?
#1
Not Solved
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 ...

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...
Reply


Messages In This Thread
Any experience or advise on fixing these intermittent Run Errors? - by mv8167 - 08-30-2011, 07:13 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Intermittent Pausing On One Object zunebuggy 0 637 04-13-2020, 11:38 PM
Last Post: zunebuggy
  How to obtain professional experience in software testing? MiliGupta 0 929 10-06-2018, 12:19 PM
Last Post: MiliGupta
  Web Testing and Unexpected Server Errors zunebuggy 0 1,176 01-24-2018, 11:41 PM
Last Post: zunebuggy
  Very confused on how to deal with run errors atester 0 1,444 03-07-2014, 04:03 PM
Last Post: atester
  QTP gets crashed on start up or on save a script. Pls advise pandeche 2 3,322 04-16-2012, 12:14 PM
Last Post: leema

Forum Jump:


Users browsing this thread: 1 Guest(s)