Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speed issues on script execution (First Post)
#1
Solved: 10 Years, 9 Months, 1 Week ago
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

StartTime = Time()

'Keep looping until the load process has completed.
Do Until Browser("Process Workplace_2").Page("Process Workplace").Frame("formframe").WebElement("Underwriting WorkflowcloseLoad").GetROProperty("height") = 0
Loop

'Record Times.
LoadCompletionTime = Time()
TimeToLoad = DateDiff("S", StartTime, Time())
Many thanks from a first time poster!

Martin :-)
Reply


Messages In This Thread
Speed issues on script execution (First Post) - by martinshort - 07-03-2012, 02:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to catch the script execution when QTP scripts are executed from command line Sreeni.lutukurthy 0 2,696 03-19-2015, 05:55 PM
Last Post: Sreeni.lutukurthy
  vb script to stop execution of functions if conditions fail visitjaga 1 7,145 12-05-2013, 12:26 AM
Last Post: ravi.gajul
  How To pick up the particular mail in Post Login Gmail page and click on Checkbox akhandesh 0 2,701 12-02-2013, 01:35 PM
Last Post: akhandesh
At Post results directly to QC QTPScripter 0 1,969 02-16-2012, 02:23 PM
Last Post: QTPScripter
Exclamation Web Service issue when HTTP Post disabled NeilJester 3 3,549 06-16-2010, 10:13 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)