It's used to store user defined external environment variables in 5x and 6x versions of QTP.
Because of the increased XML usage in all technologies from 8x QTP is given facility to store user defined external environment variables in XML files. QTP is having backward compatibility so that it support .INI files in latest versions of QTP.
How to store environment variables in INI files?
step1: open a notepad file
step2: on top of the file write [Environment]
step3: specify variable names and values
step4: Save it as .ini file
step5: Associate environment file in QTP
File-->Settings-->environment-->User Defined
EX:-
'************************************************************
[Environment]
URL=www.google.com
ScriptsPath=D:\AutomationProject\
'************************************************************
No comments :
Post a Comment