[Http-webtest-general] How to write webtest based testcases in perl
Brought to you by:
m_ilya,
richardanderson
|
From: archana <ar...@am...> - 2003-10-29 09:39:53
|
Hi,
How do i define the global test parameters in perl script which uses an
object of webtest?
When the test cases are put in 'wt' script and global test parameters
like show_cookies etc are working fine if defined outside
test_name---end_test block.
I have many common test parameters to be used across all testcases.
And i don't want to use 'wt' file but i want to do 'run_tests' directly
in perl script.
In this case how do i define these global test parameters?
sample wt file contains,
plugins = ( ::Click)
show_cookies=yes
text_forbid=(
Premature end of script headers
)
test_name = test1
url=http://192.168.1.156
require_text= (
Login
)
end_test
PLease suggest me how do i write perl script without using wt file?
thanks and regards,
Archana
|