[Webtest] selectWindow with a changing page title?

Maud JAMATI webtest@lists.canoo.com
Thu, 7 Jul 2005 15:22:31 +0100 (BST)


Hi,

I found a solution.

Looking at the mailing list found the storeregex step
and I have been using it successfully to find the
page title wizardtitle_[0-9]{9} and then store it 
into a property

Thanks webtest

code:
<storeRegEx
    stepid="Extractvalue of the wizard title"
    text=".*value=.*(wizardtitle_[0-9]{9})"
    group="1"
    property="wizardtitle" />

Cheers,
maud

--- Maud JAMATI <mauud@yahoo.com> wrote:

> Hi,
> 
> I have the following issue. I would like to use the
> selectWindow object but the wizard window that I
> would
> like to select has a random value finishing with 9
> numbers for the page title.
> 
> wizardtitle_[0-9]\9\
> 
> Is there any other object I could use ?
> Another solution would be to have a regex attribute
> in
> the selectWindow object? could that be added?
> 
> 
> Thanks for the help
> maud
> 
> PS: could you also send a pointer on how to build
> canoo?
> 
> 
> 
> 		
>
___________________________________________________________
> 
> How much free photo storage do you get? Store your
> holiday 
> snaps for FREE with Yahoo! Photos
> http://uk.photos.yahoo.com
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 



	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com