Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DP and called .vbs make for slow runtime
#1
Not Solved
Need advice.
I've built a suite of test cases that operate from a framework of called public sub routines and descriptive programming that uses a variable to pass in the description at runtime.

Test Settings refernces the file of variables :

Example: Variable = Public Const Browser := "Title = Browser"

Action calls a public sub :

navigate()


Browser(Browser).click


ISSUES:
The issue is that to do anything in this method is about 10x slower than simply running the routines within the action.

My theory is that the fact that I am paasing in the variables(that hold the descriptions) to the sub routines at runtime is slowing the automation performance down. I tried using a dictionary object but when the sub routine is called I don't see the that the descriptions are being passed so the code fails. What can I do? I am doing it this way so that rather changing 100's of subroutines I can simply change 1 variable in one file.

Variables <---> 100 Sub routines

Any help is appreciated.

Thanks Charles
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Action Response Times Slow kdunn 0 923 11-09-2018, 09:24 PM
Last Post: kdunn
  How to make a function for an object that has a large number of parent objects Shroomsday 1 2,269 01-28-2014, 11:15 PM
Last Post: jacosta
  .vbs script error when trying to insert a value in a sapguitable frebuffi 5 6,438 07-18-2013, 03:04 PM
Last Post: Staff
  Same code on running with UFT11.5 gets slow and browser hangs but works fine inQTP11 Rashi 1 2,393 03-02-2013, 04:12 PM
Last Post: vinod123
  VBS to DLL to QTP ssco77 5 11,828 12-16-2011, 01:21 PM
Last Post: prashants1

Forum Jump:


Users browsing this thread: 1 Guest(s)