if you think, index may change .. we can go for 1. HTML ID 2. innerHTML and parse it.. 3. may be using count - ex : if its coming 3rd in the page. count = 3 then getinnertext.
hope this helps Kind Regards, Boobhathi Raj On Wed, Oct 28, 2009 at 7:29 PM, srinadh neelam <[email protected]>wrote: > Hi Kishore, > I tried with your Idea ..it's working fine .But i could wonder if the > index changes in future:).Thanks for your creative thought. > > Thanks, > Srinadh. > > > On 10/28/09, srinadh neelam <[email protected]> wrote: >> >> Hi Kiran/Bibek. >> Thanks for your inputs.But the regular expression which is given below >> is not working to identify the object.i need to set the regularexpression to >> innertext propery of the obect.Please help me the procedure. >> >> Thanks, >> Srinadh. >> >> >> >> On 10/28/09, Bibek Khatiwara <[email protected]> wrote: >>> >>> Hi srinadh >>> >>> Q.Can you please let me know how to use the Regular expression to the >>> below specified.I need to write a regularexpression for Identifying 12 digit >>> number in which the first 7 digits are Zeros >>> >>> Solution: >>> Pattern="(^[0]{7}$([0-9]{5})$)" >>> >>> Valid:000000034567 >>> Invalid:000000000000 >>> >>> Regards, >>> Bibek Khatiwara >>> >>> Hey! Catch me on: >>> http://khateee.blogspot.com/ >>> >>> >>> >>> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
