Thanks, I will try.

Best regards
Zhang JiaQiang



On Fri, Jun 19, 2009 at 9:46 PM, Roman Zilber <[email protected]> wrote:

> You don't need RE to test the title.
>
>
> title = FunctionWhichGetATitle(...)
>
> if InStr(title, login_name) Then
>     pass...
> Else
>     fail...
> End If
>
>
> On Fri, Jun 19, 2009 at 5:23 AM, Zhang JiaQiang 
> <[email protected]>wrote:
>
>>
>> Hello All,
>>
>> I use different user name in a DataTable to login my app each time.
>>
>> for example, user1 login, then I will get a windows whose title is
>> "us...@ip".
>>
>> login_name = DataTable("login_name")
>>
>> I want to check the title with using varname "login_name" in a reg
>> expr to check if the window's title is correct ?
>>
>> If that possible ?
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to