Hi,

Try this.. Spy the link object which u r trying to validate and check the
'Href' value if its same as u getting in the output then u cant use "href"
 property to validate the link.according to ur logic. it wont work.

~Chethana

On Tue, Nov 25, 2008 at 10:04 AM, kowsaliya rani <[EMAIL PROTECTED]>wrote:

> Hi chethana,
>              It pops up a message during run time as per the command given
> in the script
> (*getproperty("href"))....*
> **
> *Note:*
> *              *on clicking the link it navigates to the same page and
> there was no such pop up that u have mentioned.
>
> **
> **
> *Regards,*
> *Kowsaliya.*
> **
>
>
> On Mon, Nov 24, 2008 at 12:36 PM, chethu kp <[EMAIL PROTECTED]>wrote:
>
>> when ever you click on that link different browser Pop window comes up or
>> in the same page it navigates??????  Normally it happens when browser Pop
>> window comes up the URL wont match so u cant use "Href" property to
>> validate.
>> let me know ...
>>
>> Regards,
>> Chethana
>>
>>
>> On Mon, Nov 24, 2008 at 11:51 AM, kowsaliya rani <[EMAIL PROTECTED]>wrote:
>>
>>> yes the same I kind of message I got ...
>>> Is it a link......
>>> I have attached the program and the issue I have faced...
>>> As per the program I should get the result as pass ..but I got it as
>>> fail...
>>> How should I modify the program...
>>> Help me out...
>>>
>>>
>>>
>>>
>>>
>>> Regards,
>>> Kowsaliya
>>>
>>>
>>>
>>>
>>> On Fri, Nov 21, 2008 at 9:32 PM, Roman Zilber <[EMAIL PROTECTED]> wrote:
>>>
>>>> For what?
>>>> There is link like below
>>>>
>>>> <a href="javascript:javascript_dopostback();">Text to Click</a>
>>>>
>>>>
>>>> On Fri, Nov 21, 2008 at 10:32 AM, rajanikanth b <[EMAIL PROTECTED]>wrote:
>>>>
>>>>> Can u send screen with Detail script.
>>>>>
>>>>>
>>>>> ---------- Forwarded message ----------
>>>>> From: kowsaliya rani <[EMAIL PROTECTED]>
>>>>> Date: Nov 21, 2008 6:43 PM
>>>>> Subject: Reg Getroproperty method
>>>>> To: [email protected]
>>>>>
>>>>>
>>>>> Hi all,
>>>>>
>>>>>        I am working with a scenario, where when I click a link a
>>>>> corresponding webpage should open...
>>>>> I have framed the script as given belo
>>>>> Browser( " ").Page(" ").Link("CFT").Click
>>>>> a=Browser(" ").Page(" ").Link("CFT").GetROProperty("href")
>>>>> msgbox a
>>>>>
>>>>> here the issue is instead of linkl I am getting a
>>>>> message":javascript_dopostback()"
>>>>>
>>>>>
>>>>> Is it a issue with an appln or any add in problem.
>>>>>
>>>>>
>>>>> kindly help me in this issue..
>>>>>
>>>>>
>>>>>
>>>>> Regards,
>>>>> Kowsaliya
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

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