Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable declaration
#2
Solved: 10 Years, 10 Months ago
Variable declaration is not mandatory in QTP. But for the good practice and reduce the risk of redundancy you should declare each and every variable while scripting.

To make variable declaration mandatory you should try "Option Explicit" command at the top of the each action.
Reply


Messages In This Thread
Variable declaration - by Suma Parimal - 01-16-2014, 05:09 PM
RE: Variable declaration - by pranikgarg - 01-16-2014, 06:25 PM
RE: Variable declaration - by Suma Parimal - 01-17-2014, 02:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  String Array Declaration Bhuvana 0 1,008 01-07-2020, 12:59 PM
Last Post: Bhuvana

Forum Jump:


Users browsing this thread: 1 Guest(s)