Forum Discussion

ralibert's avatar
ralibert
Occasional Contributor
11 years ago

Mobile Button Key

Hi everyone! I work on TestComplete since yesterday. I begin to be familiar with the keyword test and Code Snippet. I try to set a mobile with testComplete. I use a Samsung Galaxy Note 2. ...
  • TanyaYatskovska's avatar
    11 years ago

    Hi Roxane,


     


    As far as I understand, to simulate pressing by using the mbkSettings constant, the corresponding button should be located on the body of your device. Note 2 doesn't have such a button.


    You can use the following code snippet to open Settings on the device:


    Mobile.Device("My Device").ShellExecute("am start -n com.android.settings/.LanguageSettings")


    How does it work for you?