Forum Discussion
9 Replies
Sort By
- YuriPeshekhonovSmartBear Alumni (Retired)
Hi,
I'm not sure that I understand you scenario. Could you describe it in detail?
If you do not want to change orientation, you may just not use the "SetOrientation" method in your tests.
BTW, there is the "ResetOrientation" method in TestComplete. Perhaps, it will be useful for you.
- suvidhshettyContributor
Thanks for the reply.
Test case say "Oriention should not be changed if orientation setting is disabled."
How do we check for this scenario.
Thanks
Suvidh
- AlexKarasChampion Level 3
Hi Suvidh,
If Not desktop.GetOrientation = soPortrait Then ...
(See Example section of the https://support.smartbear.com/viewarticle/75375/ or https://support.smartbear.com/viewarticle/70224/ help topics)
Does this help?
Related Content
- 5 years ago