I added the following to change but it's failing on WinObject

Window("regexpwndtitle:=.*Screen Resolution").WinObject(
"regexpwndclass:=DirectUIHWND").WinComboBox("attchedtext:=Resolution").Drag 
74,14


On Friday, April 29, 2016 at 2:00:01 PM UTC-4, [email protected] wrote:

> Hi,
>
> I've the following code, where I get the screen resolution, now I want to 
> change them to something else.
> How do I change the resolution?
>
> Thanks
> Width = Window("regexpwndtitle:=Program Manager").GetROProperty("width")
> Height = Window("regexpwndtitle:=Program Manager").GetROProperty("height")
>

-- 
-- 
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/d/optout.

Reply via email to