Micro Focus QTP (UFT) Forums

Full Version: regular expression
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
Set salesforcehomepage=browser("title:=salesforce.com - Unlimited Edition - Windows Internet Explorer").page("title:=salesforce.com - Unlimited Edition")





can any one please help me out of this , how to use regular expression for this paqcticular
is this possible to create i create objects for this browser and page with the
regular expression

sorry i wrongly updated my attachment
Hi,

Regular expression for Campaign ID, since details/paatern is not specified by u, we assume that first letter would be a character ranging from A-Z followed by at least 5 numeric digits( if numeric digits are more u can update that also in Regular expression).
Use the below regular expression in defining the innertext/innerhtml of the id
{A-Z}{0-9}{5,}


Or if there is some other patter let us know.

Regards,
Sankalp
sorry man i wrongly updated my attachment


Code:
Set salesforcehomepage=browser("title:=salesforce.com - Unlimited Edition - Windows Internet Explorer").page("title:=salesforce.com - Unlimited Edition")

regular expression for the above one
Hi,

Any fixed pattern and what part u want to use under regular expression.

Regards,
Sankalp