Hi Kishore, your option will also click on the link like "My Inbox...." or "Go to Inbox...." or anything which contain the word "Inbox". Which i dont thing is tidy and robust option to do.
I would suggest the below: Use below string...... Inbox\([0-9].*\) This will just replace the numbers in brackets... Let me know if it helps..... All the very best... On Tue, Jan 6, 2009 at 7:20 PM, Kishor Kumar <[email protected]> wrote: > Hi venkat, > > Simply use .* where the deynamic values or changing. > > Goto Object Repository .select Inbox object then in Innertext or text > property clik on right side ,in the pop up windows just type Inbox.* then > check the Regular Expression check box .It will ask you use / in regular > expression simply click no. > > In innertext you will see *.*Inbox.* like this try to highlight the link. > > > > Regards, > Kishore > > On Tue, Jan 6, 2009 at 4:00 AM, venkata koduri > <[email protected]>wrote: > >> I have a scenario like every time i have to click a link which is >> dynamically changed. >> Just imagine like "Inbox (2)" in Gmail or Yahoo mail. I know the regular >> expression is the solution. >> >> How can i hadle the regular expression in descriptive programming. >> >> Pls provide the sample ........... >> >> -- >> Regards.. >> Venkat >> >> >> -- Thanks & Regads, Saurabh Gupta Technical Associate Tech Mahindra Ltd. Pune. Mob. 9881370245 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
