[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- [Precondition(1, "Enable Wifi. (Can not test on Emulator. Please mark pass on Emulator.)")]
+ [Precondition(1, "Enable Wifi. (In case of Emulator, ignore this precondition)")]
[Precondition(2, "Ensure 'Samsung ASR N66' is selected as a preferred engine in settings. (In case of TV, ignore this precondition)")]
- [Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
+ [Step(1, "Tap the Run button. If Stt feature is not supported or it tested on emulator, TC will automatically pass.")]
[Step(2, "Once Start Recording Button Appears, Disable Wifi")]
[Step(3, "Click Start Recording")]
[Step(4, "Click Pass if the Label Text becomes 'Error Occured'")]
public async Task ErrorValue_GET()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:ErrorValue_GET");
+ if (ManualTest.IsEmulator())
+ {
+ SttHelper.PrintLog(Type.DLogAndlogUtil, "This TC is not supported on Emulator");
+ return;
+ }
SttWrapper obj = new SttWrapper();
await obj.GenerateErrorScenario();
if (obj.SttFeatureSupported == true)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- [Precondition(1, "Enable Wifi. (Can not test on Emulator. Please mark pass on Emulator.)")]
+ [Precondition(1, "Enable Wifi. (In case of Emulator, ignore this precondition)")]
[Precondition(2, "Ensure 'Samsung ASR N66' is selected as a preferred engine in settings. (In case of TV, ignore this precondition)")]
- [Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
+ [Step(1, "Tap the Run button. If Stt feature is not supported or it tested on emulator, TC will automatically pass.")]
[Step(2, "Once Start Recording Button Appears, Disable Wifi")]
[Step(3, "Click Start Recording")]
[Step(4, "Click Pass if the Label Text becomes 'Error Occured'")]
public async Task ErrorMessage_GET()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:ErrorMessage_GET");
+ if (ManualTest.IsEmulator())
+ {
+ SttHelper.PrintLog(Type.DLogAndlogUtil, "This TC is not supported on Emulator");
+ return;
+ }
SttWrapper obj = new SttWrapper();
await obj.GenerateErrorScenario();
if (obj.SttFeatureSupported == true)