Hi,
Use the index property to identify the respecive tab postion.
Spy the object and see the index property
Ex:VbWindow("CWMainForm_6").VbWindow("AnPMainView_2").ActiveX(":-)
VideoSoft Elastic_6").ActiveX(":-) VideoSoft Elastic").ActiveX(":-)
VideoSoft IndexTab").Select "#3" (if you want to select tab position 3)
Thanks
Sridhar
On 1/11/10, siva prasad <[email protected]> wrote:
>
> Hi Pete,
>
> Using descriptive programming you can work with the windows application.
> Windows have have a unique id called WindowID with which we control the
> window through script.
>
>
>
> On Mon, Jan 11, 2010 at 4:07 PM, Pete <[email protected]> wrote:
>
>> Hello everyone,
>>
>> Below is a script that allows me to select each tab within the screen,
>> but the problem is I have multiple tabs within the same window frame
>> with no unique properities and everytime I try to run the script I get
>> an error message indicating that it doesn't recongize the object b/c
>> the coordinates changed again. Is there anyway to script this some
>> other way beside the coordinates?
>>
>> VbWindow("CWMainForm_6").VbWindow("AnPMainView_2").ActiveX(":-)
>> VideoSoft Elastic_6").ActiveX(":-) VideoSoft Elastic").ActiveX(":-)
>> VideoSoft IndexTab").Click 181,15
>>
>> --
>> 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]<mercuryqtp%[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
> "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]<mercuryqtp%[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
"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