[Webtest] changing hosts and basepaths in the middle of a test
Aatish Arora
webtest@lists.canoo.com
Thu, 10 Apr 2003 22:56:44 -0700 (PDT)
Hi Scot,
Havent tried on this but - a very simple and crude way
of doing it would be -
1) not specifying anything in the config file (no
"host" no "basepath")
2) Make use of properties in ur script for the urls.
For eg:
<invoke
stepid="get Index page"
url="${canoo.site.a}" />
Would love to know if there are more workarounds to
this one :>
Cheers!
Aatish
--- Scot Hale <halesm@hotmail.com> wrote:
> Hi All,
>
> I am trying to test two websites that are related.
> Say for example
>
> host_A=www.a.com
> basepathA=a
>
> host_B=www.b.com
> basepath=b
>
> And there is a process that starts on one website,
> and ends on the second.
> Is there anyway to carry a test from one config to
> another, or are there any
> suggested work arounds?
>
> For example http://www.a.com/a/somepage.html links
> to
> http://www.b.com/b/someotherpage.html. And when I
> get to someotherpage.html
> there are relative paths that require the config for
> the B site to be
> loaded. I don't know how to do this in a single
> testSpec.
>
> Any suggestions?
>
>
>
> Scot Hale
>
>
>
>
_________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months
> FREE*.
> http://join.msn.com/?page=features/virus
>
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
=====
================================================
Six monkeys pounding on six typewriters at random for a million years will recreate all the works of Isaac Asimov.
================================================
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com