User Robert Lauzon ( posted:
I have the exact same problem !!!

When I check image links, the source URL is something like

When I check a different build on a different machine, it's

and fails every time. I just need the "/images/imageName.gif" part.

If I could just insert regular expressions in my GUI checkpoints, it would
solve a lot of headaches on my part!

I would appreciate seeing any solution to this.


----Original Message Follows----
Subject: [winrunner] Re: How do I put a Reg.Exp. in expected results of ch
Date: Thu, 29 Mar 2001 21:11:28 -0000

That did not solve my problem. I do appreciate the answer anyway.

I did as suggested and in the GUI Checkpoint Results popup I did as
suggested. I reran my tests and it flagged an error.

Thinking further with this I don't think a solution will work long
term because as soon as I run in update mode my modified 'expected
results' will get overridden.

The reason for wanting this is that I want to be able to regression
test the app on different web servers. All the links still have to
work but they will have different url's because the server domain
name will be different.

Has anyone else solved this issue?


--- In winrunner@y..., Richard Weber <rweber@h...> wrote:
> A reg expression has the exclamation (!) at the beginning of the
> like this:
> "! <http://.*/gothere.asp> http://.*/gothere.asp"
> -----Original Message-----
> From: paul_prince@h... [mailtoaul_prince@h...]
> Sent: Thursday, March 29, 2001 10:37 AM
> To: winrunner@y...
> Subject: [winrunner] How do I put a Reg.Exp. in expected results of
> checklists?
> I want to make server variable on web links. The expected result is
> static, ie,
> <> in gui checklist
> I want it to work like http://!.*/gothere.asp
> I cannot get this to work. Is there a way?
> tia...Paul
> Yahoo! Groups Sponsor
> 181:N/A=599089/*
> t_ComputersInternet_Software_WhiteGridOptions&t=ad > Click Here to
> Software Faster
> Click Here to Find Software Faster
> <
> l/S=1700007181:N/A=599089/rand=654511052>