Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qtp speed
#1
hi all

I have to check 200 categories for a particular cities
in which i have to check 2-3 thing.
i have a code ... when i run the code it takes a lot of time
there are no wait statement in the code
how can i make qtp run faster?
i have tries the fast option too


Thanks
sia
Reply
#2
Plz post ur code. There may be some portion which can be optimized.
Reply
#3
Hi,
Under Tools->option->Run, rum mode select the fast or check if delay between steps is 0 milisec.

Regards,
Sankalp
Reply
#4
I have already tried this option.
may be i need to optimize my code


Code:
call function() Browser("df").Page("df").WebElement("abc Services").Click Browser("fd").Page("Jdf").Link("2dfs").Click If Browser("df").Page("asd").WebElement("df").Exist and Browser("df").Page("dfs").WebElement("df").Exist Then Reporter.ReportEvent micPass,"pass","pass" else Reporter.ReportEvent micFail,"fail","fail" End If Browser("df").Page("2df").Link("Link").Click

the same code repeats for 170 times for diffrent categories
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Analog recorded test speed dol_fin 1 3,536 03-12-2012, 01:44 PM
Last Post: sshukla12
  Checking the speed of result sets paulpigott 2 2,763 10-27-2008, 05:56 PM
Last Post: paulpigott

Forum Jump:


Users browsing this thread: 1 Guest(s)