Micro Focus QTP (UFT) Forums

Full Version: Regular expression for webelement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,
In Mercury Tours web site, I want to verify the Webelement that get displayed after selecting Fly From and Fly To.
Ex. If we select Fly from as 'London' and Fly TO as 'paris', the webelement displayed on next page is London to Paris.
I want to verify it for no of i/p data.

i.e. If i select Fly From as 'Sydeny' and Fly to as 'India' it displayed Sydeny to India.

I want to verify this.

I used parametrization and Standard output value.

Can any one help me how to use regular expression for the webelement('London to Paris') which get changed depending on Fly From and Fly To selection ?