Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing optimized QTP scripts
#1
Solved: 10 Years, 9 Months, 1 Week ago
Hi,

I am using DP for developing Test Cases in VB Script. I am looking for some guidelines/best practices for developing optimized scripts. I googled a lot for some articles written in this direction. I didn't find any but http://www.advancedqtp.com/forums/index.php?topic=110. Can anyone share his/her useful views on this topic?

So far I found that most of the time is spent on setting values in various controls using statements like WebEdit.Set, WebList.Select ,etc. Is there any trick to optimize on this?

WebEdit.Object.value = <some value> is little faster but it is not very reliable and also it makes scripts IE specific. Additionally, if page gets reloaded then we have to use the undocumented init(). I think this can make my scripts fragile if HP wants to do so, isn't it? Any thoughts?

Thanks in advance
Reply


Messages In This Thread
Writing optimized QTP scripts - by jp@QTP - 06-16-2008, 05:59 PM
RE: Writing optimized QTP scripts - by Ankur - 06-26-2008, 04:25 PM
RE: Writing optimized QTP scripts - by jp@QTP - 06-30-2008, 10:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Does QTP support writing runtime data to multiple sheets in excel Shwethareddy 2 3,558 10-16-2012, 12:20 PM
Last Post: Shwethareddy
  Sequence of Writing to Word document Raj20091 2 2,807 12-03-2009, 07:25 PM
Last Post: Raj20091
  Writing an IF statement mahadevan.swamy 1 1,933 10-30-2008, 10:15 AM
Last Post: krishnas.tester

Forum Jump:


Users browsing this thread: 1 Guest(s)