Thanks a lot Himsbanna.

regards

swetha

On Wed, Dec 10, 2008 at 2:50 PM, himanshu kachhawa <[EMAIL PROTECTED]>wrote:

> Hi Swetha,
> Use the following code on the web site :http://labs.google.com/sets
>
> After adding the OR. It will tell you the logic to check the tab order by
> QTP.
>
>  'Developed on the web site http://labs.google.com/sets
>
> Browser("Google Sets").Page("Google Sets").WebEdit("q1").Check
> CheckPoint("q1")
>
> Set obj=CreateObject("Mercury.DeviceReplay")
> Set WshShell =CreateObject("WScript.Shell" )
>
> Browser("Google Sets").Page("Google Sets").WebEdit("q1").Click
>
> WshShell.sendkeys "{TAB}"
> WshShell.sendkeys "{TAB}"
> WshShell.sendkeys "{TAB}"
> WshShell.sendkeys "{TAB}"
> Set WshSEll = nothing
> Set obj = nothing
>
> wait(2)
> tabindex = Browser("Google Sets").Page("Google
> Sets").WebEdit("q5").GetROProperty("name")
>
> If tabindex ="q5" Then
>         Reporter.ReportEvent micPass,q5,"Tabindex has passed"
> else
> Reporter.ReportEvent micFail,q5, "Tabindex  has failed"
> End If
>
>
> I hope it will help you in your application too.
>
> Regards,
>
> Himanshu
>
> On Mon, Dec 8, 2008 at 9:10 PM, Roman Zilber <[EMAIL PROTECTED]> wrote:
>
>> You can try to check value "*tabindex" *of an object.
>>
>> tabindex = WebElement(...).Object.*tabindex
>> or
>> *tabindex = WebElement(...).GetROProperty("tabindex")
>>
>>
>> On Mon, Dec 8, 2008 at 7:10 AM, swetha4qtp delhi <[EMAIL PROTECTED]>wrote:
>>
>>> Hello Group,
>>>
>>>  Ten fields are available in the form (registration form), when i press
>>> the Tab button then cursor (insert cursor) directly goes to the next Field.
>>>
>>> How to Checking Tab order In Qtp.
>>>
>>> regards
>>> swetha.
>>>
>>>
>>>
>>
>>
>>
>
> >
>

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