You can use with test recognition option,record the script and identify
objects

On Wed, Mar 6, 2013 at 10:31 AM, saurabh jain
<[email protected]>wrote:

> Hi Ramana,
>
> You can use regular expression in OR to identify the same object in
> different languages. Use l(or) for innertext property.
>
> Let us know the result.
>
> Regards,
> Saurabh
>  On Mar 6, 2013 8:46 AM, "Ramana" <[email protected]> wrote:
>
>> Hi Parke/Naresh,
>>
>> I am using Hybrid Framwork (Keywork Driver + Data Driven). As per our
>> application we don't have HTMLid and it's developed in Gwt technology. we
>> can identify the object  using innertext only. currently  i am following
>> adding one country(German) objects to object repository and using same
>> objects to another country .
>>
>> Approach is : In the runtime  i am changing the innertext of the
>> particular object . (i.e searchButton innertext change from German to
>> swedish by using SETTOPROPERY).
>>
>> is there any alter native to change the translation at runtime.
>>
>> Kindly suggest what apporach do i need to Follow.
>>
>> Regards
>> Ramana
>>
>>
>> On Wed, Mar 6, 2013 at 2:36 AM, Parke Kuntz <[email protected]>wrote:
>>
>>> Ramana:
>>>
>>> Are you using a data driven approach?
>>> In the OR, as Kandukuri is stating/implying, use a common name for each
>>> OR object for all the pages.  You are the only person seeing the OR names.
>>>
>>> It looks as though the initial URL will indicate which language is being
>>> used.
>>>
>>> If data driven, use a select case to pick the correct sheet, English,
>>> German, etc. (all the datasheets could be entered at one time.)
>>>
>>> If the object names are consistent, you should be able to run through a
>>> Swedish or French url once your datasheet is set up.
>>>
>>> hth,
>>>
>>>
>>> Parke
>>>
>>>  On Tue, Mar 5, 2013 at 12:34 PM, Ramana <[email protected]> wrote:
>>>
>>>>  Hi All,
>>>>
>>>> *I* have application in different languages like English, German,
>>>> French, Swedish, etc. and thier URL varies with language. Example,
>>>>
>>>> English has URL http://www.abc.com
>>>> German has URL http://www.abc.com/ge
>>>> French has URL http://www.abc.com/fr
>>>> and so on.
>>>>
>>>> Could anyone suggest how to automate it through QTP so that there is no
>>>> need to test for each language manually and time could be saved.
>>>>
>>>> What approach do i need to follow for Object repository.
>>>>
>>>> 1.Country specific object repository or Common Object Repository.
>>>>
>>>> Thanks in advance.
>>>>
>>>> Regards,
>>>> Ramana
>>>>
>>>> --
>>>> --
>>>> 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
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing"
>>>> group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Parke
>>> Cell: 
>>> 770-842-0121<https://mail.google.com/mail/html/compose/static_files/blank_quirks.html#>
>>>
>>> --
>>> --
>>> 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
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing"
>>> group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>> --
>> --
>> 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
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to