Any experience or advise on fixing these intermittent Run Errors? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Any experience or advise on fixing these intermittent Run Errors? (/Thread-Any-experience-or-advise-on-fixing-these-intermittent-Run-Errors) |
Any experience or advise on fixing these intermittent Run Errors? - mv8167 - 08-30-2011 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 () ... 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... RE: Any experience or advise on fixing these intermittent Run Errors? - vishalu.vs - 01-25-2013 Try Below stuufs, 1.Try highlighting WebEdit, verify whether QTP is able to recognize it 2. Verify output from DataTable("ACCT1", dtGlobalSheet), i doubt this "ACCT1" might have more than 1 value 3.You also can take this Function ChangeAcctNumber () alone and try debugging it 4. Descriptive programming will solve most of your problems. |