Micro Focus QTP (UFT) Forums
Regular expression for webelement - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions)
+--- Thread: Regular expression for webelement (/Thread-Regular-expression-for-webelement)



Regular expression for webelement - sudhirzpatil - 12-18-2010

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 ?


RE: Regular expression for webelement - manishbhalshankar - 12-20-2010

Is this a duplicate post?

https://www.learnqtp.com/forums/Thread-How-to-get-text-of-weblement?pid=13968#pid13968