Re: Re: How do I put a Reg.Exp. in expected results of ch ecklists?
User (firstname.lastname@example.org) posted:
why don't you paramaterize the gui checkpoint name and then add logic to determine which machine the script is being run on and then depending on the machine use gui1 or gui2. You can either read in the gui checkpoint name from a data table or use logic to determine which one to use.
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 wrote:
> A reg expression has the exclamation (!) at the beginning of the
> like this:
> "! 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
> I want to make server variable on web links. The expected result is
> static, ie, http://184.108.40.206/gothere.asp
> in gui checklist
> I want it to work like http://!.*/gothere.asp
> I cannot get this to work. Is there a way?
> Yahoo! Groups Sponsor
> t_ComputersInternet_Software_WhiteGridOptions&t=ad > Click Here to
> Software Faster
> Click Here to Find Software Faster