QTP : General Run Error
Recently, i have faced this Error while i was running my QTP code.
I had to really waste my time to debug what went wrong...but could not find it as QTP was only
throwing "General Run Error".
After much time spent on checking code line by line , found that it is due to a variable declared and used twice at different points in function libraries, and loaded at runtime with different values.
Hope you find this info useful.
WorkAround: Checkout if any variable is used twice at different lines of your code.
Recommendation: Use Option Explicit which will mandate you to declare variable declarations in your code snippets.
Follow this blog to get updated on RESOLVING SOLVING WORKAROUNDS FOR tricky issues using automation.
Disclaimer: I am not responsible for any damage or loss or profit on using this blog posts.
Web UI Automation with Windows PowerShell
Web UI Automation with HP QTP
Web UI Automation with OATS
Web UI Automation with Selenium
Desktop UI Automation
Windows Applications Automation with QTP
qtp windows application automation
No comments:
Post a Comment