How to use on site with dynamic title

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
markwhite
Posts: 7
Joined: Tue Jul 14, 2009 7:48 pm

How to use on site with dynamic title

Post by markwhite » Wed Jul 15, 2009 1:22 pm

One more question. How to use Ranorex with site that dynamic changes title every few seconds (i.e. http://search.twitter.com/search?q=%22M ... Jackson%22)?

Best,
Marko

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to use on site with dynamic title

Post by Support Team » Wed Jul 15, 2009 1:56 pm

You can use regular expressions to search for dynamic titles.

The following RanoreXPath identifies following page titles: (x) "Michael Jackson" - Twitter Search
x has to be a numeric value with 1 or more digits.
/dom[@caption~'^\([0-9]{1,}\)\ "Michael\ Jackson"\ -\ Twitter Search']
Kind regards,
Gabor
Ranorex Support Team
.
Image

markwhite
Posts: 7
Joined: Tue Jul 14, 2009 7:48 pm

Re: How to use on site with dynamic title

Post by markwhite » Wed Jul 15, 2009 3:05 pm

Thanks! I've used hack with full screen iframe.