First you need to know what is "Regular Expressions". Type in QTP help
window in index tab, and read.
example: if define in OR object for notepad, you may replace title
attribute "text.txt - Notepad" with ".*Notepad", so it will match any
notepad window.
Relevant topics in QTP User's Guide:
Mercury QuickTest Professional User's Guide > Managing and Merging
Object Repositories > Managing Object Repositories > Modifying Test
Object Details > Specifying a Property Value
Mercury QuickTest Professional User's Guide > Introducing QuickTest
Professional > Understanding the Test Object Model > Applying the Test
Object Model Concept
Mercury QuickTest Professional User's Guide > Creating Tests >
Configuring Values > Understanding and Using Regular Expressions
On Fri, Oct 17, 2008 at 1:29 PM, Diego Diego <[EMAIL PROTECTED]> wrote:
>
> On the screen name if you accept expesiones regular? and how remove the name
> from object´s attributes?
>
> could give me examples?
>
> Thanks Roman.
>
> 2008/10/17 Roman Zilber <[EMAIL PROTECTED]>
>>
>> What is different in the object? Is it the name of the screen? Remove the
>> name from object's attributes, or replace it with regular expression.
>>
>> On Fri, Oct 17, 2008 at 9:06 AM, Diego Diego <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi I would like to know if I can help alguiem.
>>>
>>> I have a problem with a display of an emulator thing is that it is a screen
>>> that makes transfers, and what we have is that the name of the screen
>>> changes, so when I run my script at the time of entering the screen
>>> transfers I do not recognize the objects on the screen is different:
>>>
>>> Example:
>>>
>>>
>>>
>>> First is recorded like this:
>>>
>>> TeWindow("TeWindow").TeScreen("0014 1$XL").TeField("01").Set "65222222323"
>>>
>>> I run when I change the name of the screen:
>>>
>>> TeWindow("TeWindow").TeScreen("0014 1$ZK").TeField("01").Set "65222222323"
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Thanks much
>>>
>>>
>>> I hope someone can help me.
>>>
>>>
>>> Regrats.
>>>
>>> --
>>> YesterdayDj`s Labs
>>>
>>>
>>
>>
>>
>
>
>
> --
> YesterdayDj`s Labs
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---