Thanks a lot for guidance.
On Sat, Nov 8, 2008 at 10:28 PM, Srinivas Pavuluru <[EMAIL PROTECTED]> wrote:
> Sorry we have to use ".*" to get the regular expression.. please ignore my
> previous mail.. i said "*" in it..
>
> Thanks
> Srinivas P
> On Sat, Nov 8, 2008 at 10:56 PM, Srinivas Pavuluru <[EMAIL PROTECTED]>
> wrote:
>>
>> Hi raheel
>>
>> You can use .* for regular expression.
>>
>> Example : 7a
>> 777771
>> 7????
>>
>> for all the above you can use 7* in your code.
>>
>> Example : 88872222
>> adfsasdf7aaaa
>> 12123137772222
>>
>> if you wanted to use for above you can use *7* in your script. there is
>> no "."
>>
>> for regular expression "*" will do.. HAPPY SCRIPTING... :)
>>
>>
>> Thanks
>> Srinivas P
>>
>>
>> On Fri, Nov 7, 2008 at 11:05 PM, Roman Zilber <[EMAIL PROTECTED]> wrote:
>>>
>>> + - one or more
>>> * - zero or more
>>>
>>> On Thu, Nov 6, 2008 at 11:59 PM, Raheel Sheikh <[EMAIL PROTECTED]>
>>> wrote:
>>>>
>>>> Thanks a lot.. It was my mistake. I read in the regular expression to
>>>> use a digit like this: \number
>>>>
>>>> Can you tell me the use of + in the regular expression. Also, if we use
>>>> .*, would it take any character once, e.g. if i write 7.*, which one of the
>>>> following it would work on.
>>>>
>>>> 7a
>>>> 79
>>>> 77777
>>>> 7abcd
>>>>
>>>> Regards
>>>>
>>>>
>>>>
>>>> On Thu, Nov 6, 2008 at 7:39 PM, Roman Zilber <[EMAIL PROTECTED]> wrote:
>>>>>
>>>>> > name=frmNewER:_idJsp7\[1-3]
>>>>>
>>>>> try
>>>>>
>>>>> name=frmNewER:_idJsp7[1-3]+
>>>>> name=frmNewER:_idJsp7.[1-3]+ if you need the slash
>>>>> name=frmNewER:_idJsp7\\[1-3]+ 'if you need the slash
>>>>> name=frmNewER:_idJsp7.*
>>>>>
>>>>>
>>>>> Why do you have a slash in the regular expression? What are the values
>>>>> for the name can be?
>>>>>
>>>>> On Thu, Nov 6, 2008 at 7:43 AM, Raheel Sheikh <[EMAIL PROTECTED]>
>>>>> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I used the following
>>>>>>
>>>>>> frmNewER:_idJsp7\[1-3]
>>>>>>
>>>>>> to regularize the expression
>>>>>>
>>>>>> Browser("XYZ").Page("PAGE_1").WebList("frmNewER:_idJsp72").Select
>>>>>> "ABC"
>>>>>>
>>>>>> The operation was executed but with the warning message
>>>>>>
>>>>>> The smart identification mechanism was invoked.
>>>>>> Reason: object not found
>>>>>>
>>>>>> Original description:
>>>>>> name=frmNewER:_idJsp7\[1-3]
>>>>>> micclass=WebList
>>>>>> html tag=SELECT
>>>>>> class=combo
>>>>>>
>>>>>> Smart Identification Alternative Description:
>>>>>>
>>>>>> Base filter properties (12 objects found)
>>>>>> micclass=WebList
>>>>>> html tag=SELECT
>>>>>>
>>>>>> Optional filter properties
>>>>>> name=frmNewER:_idJsp7\[1-3] (Skipped)
>>>>>> html id= (Used, 5 matches)
>>>>>> class=combo (Used, 2 matches)
>>>>>> default value=#0 (Used, 1 matches)
>>>>>> items count=2 (Ignored)
>>>>>> visible items=1 (Ignored)
>>>>>> visible=1 (Ignored)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>> >>>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---