Forum Discussion
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.
- suvidhshetty8 years agoContributor
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
- AlexKaras8 years agoChampion 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?
- suvidhshetty8 years agoContributor
Hi Alex,
If I disable oriention then my verification will be I need to change the orientation and check that orientation has not changed.
can this be achived.
Thanks
Suvidh
Related Content
Recent Discussions
- 2 hours agoashly