Speed issues on script execution (First Post) - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Speed issues on script execution (First Post) (/Thread-Speed-issues-on-script-execution-First-Post) |
Speed issues on script execution (First Post) - martinshort - 07-03-2012 Hi I've written a script which sets a timing variable and records how long it takes to get to specific points in the script. It works fine on the PC that I wrote the script on, but on two other PCs, the execution of the script is so slow moving from line to line, it is throwing out the results by a significant margin. Anyone got any ideas why the script should be running so slowly on comparible PCs - same spec and more importantly how I can resolve this. Here's a snippet of the code: Code: Browser("Process Workplace").Page("Process Workplace_2").WbfGrid("ctl00_cpMainContent_ucWorkItem").ClickCell 5,4 Martin :-) RE: Speed issues on script execution (First Post) - Ankesh - 07-03-2012 Can you check the below post? This might help!! https://www.learnqtp.com/forums/Thread-QTP-Tips-and-Tricks Regards, Ankesh RE: Speed issues on script execution (First Post) - martinshort - 07-03-2012 Hi Ankesh Sadly I had already gone through all of the settings suggested by Rajpes before I found this excellent forum. 1. Don't Load unwanted add-ins 2. Run Mode = Fast 3. Disable Active Screen 4. Get rid of movie results and images. 5. Don't use a recovery scenario 6. (As it happens, I am deliberately dumping the sheet on each iteration, but this wouldn't affect the speed that QTP takes to jump from line to line.) Thanks though! Martin RE: Speed issues on script execution (First Post) - Ankesh - 07-03-2012 Okay... There may be two more reasons to it. 1. System Performance 2. Object Repository Size. If OR size is Huge, QTP takes more time to load the objects. I am not aware of any more reasons for the slow performance. Someone else from the forum can help. Regards, Ankesh RE: Speed issues on script execution (First Post) - martinshort - 07-03-2012 Thanks again. Definitely struggling here though. System performance is comparible as the clients that it works on are the same as the clients it works slowly on. It's actually a very small script with an equally small repository. |