Application Testing Q&A
application testing q&a the following questions are related to testing applications faq search form search q1 can i test my application without using the tizen studio ide? to test your application on a tv, you must use the tizen studio ide you can also use the usb demo packaging tool, available in the samsung apps tv seller office you can test your application on the emulator without using the ide the tizen studio command line interface cli provides functionalities for installing, running, and uninstalling applications #emulator #command line interface #cli #tv device tv, htv q2 how do i test my application on a samsung smart tv? to install and test your application on a tv, you must connect the tv and the tizen studio for more information, see tv device if you do not have access to an actual samsung smart tv, you can also test your application in the tv emulator #tv device #install #tizen studio tv, htv q3 how do i enable developer mode on the tv? before connecting a samsung smart tv to the tizen studio, you must enable developer mode on the tv for more information, see connecting the tv and sdk noteif the tv has the "samsung instant on" feature enabled, you must power-cycle the tv disconnect and reconnect the power source at the reboot step #developer mode #tizen studio #samsung instant on #tv device tv, htv q4 how do i connect my tv to the tizen studio? to connect a smart tv to the tizen studio, you must enable developer mode on the tv, connect the tv and your computer to the same network, and launch the remote device manager in the tizen studio for more information, see tv device #tv device #tizen studio #connect tv, htv q5 i am unable to connect my tv to the tizen studio how do i fix this? make sure that you have connected the tv and computer to the same network, and enabled developer mode on the tv for more information, see tv device you can also try to connect the tv to the tizen studio without using the remote device manager on the tv, enable developer mode in the windows® command prompt, navigate to your <tizen studio>\tools directory enter the sdb connect <your tv ip address> command #tizen studio #connect #tv device tv, htv q6 while testing my application on a tv, i experienced a bug why am i unable to reproduce it on the tv emulator? the emulator and the tv environments are very similar, but there are some differences at the hardware level for more information, see emulator limitations make sure you perform the final testing of your application on the tv the tv emulator does not support hotel tv environment #emulator #limitations #tv device #different result tv, htv q7 i am testing my application on a tv why is the application uninstalled when i switch off the tv? applications installed to a tv through the tizen studio are uninstalled when the tv is switched off or disconnected from the tizen studio this is the intended platform behavior #tizen studio #uninstall #disconnect #tv device tv, htv q8 how do i use the tv emulator? the tv emulator is a virtual machine that reduces the inconvenience of testing the application on a real device, by providing an environment similar to a real tv for information about using the emulator, see tv emulator #emulator #virtual machine tv, htv q9 how can i test application prelaunching? prelaunching allows several applications to load in the background when the samsung tv is switched on when the user runs a prelaunched application, it launches immediately with no loading time prelaunching is supported on the tv emulator for more information, see prelaunching applications #prelaunching #testing #background loading tv q10 how can i test drm-protected content playback? you can test drm-protected content playback on an actual tv due to possible security issues, using drm functions in the emulator is not possible drm-protected content can only be played back on a real device #drm #emulator #multimedia #playready #verimatrix tv, htv q11 how can i analyze application performance? you can use the web inspector to help you optimize your web applications it provides a debugging environment, and allows you to inspect the css and layout of html pages, and monitor resource and network usage #web inspector #performance #analyze #optimize tv, htv q12 which tv model is best for testing my application? select a model based on the media formats you want to support for information on which tv models are included in each model group, see tv model groups #model group #tv model #media format tv q13 how do i test a hosted application on the tv? for information about testing hosted applications on a tv, contact your samsung apps tv seller office content manager noteto create hosted applications, you must be a member of a seller office partner group #hosted application #cloud based application #dynamic web page #redirect application #tv device tv, htv q14 when i close my application during testing, the web inspector is disconnected how can i avoid this? when no applications are running on the tv or emulator, the web socket connection to the computer closes, disconnecting the web inspector to prevent web inspector disconnection to install your application on the tv or emulator and launch the web inspector, run the application in debug mode from the tizen studio when the web inspector finishes loading, launch a different application from the smart hub return to the smart hub and launch your application the first application remains running but hidden, and prevents the web inspector from disconnecting when you close your application #web inspector #disconnection #web socket #multitasking tv, htv q15 is automated testing supported? no automated testing is not supported on samsung tvs additionally, the automatic testing tools provided for samsung legacy platform are no longer supported #automated testing #automatic testing tool #samsung legacy platform #web driver tv, htv q16 do applications generate crash logs? tv applications do not support generating crash logs however, you can detect when the application stops or closes unexpectedly, by implementing a software watchdog timer #crash log #watchdog timer tv, htv q17 can i simulate accessing application content from another country? yes to test accessing content from another country or region, connect the tv to the internet through a vpn #vpn #geolocation #geo restricted #geoblocking tv, htv q18 can i retrieve network traffic statistics during application testing? you can view network traffic statistics in the web inspector however, the web inspector detects only ordinary web traffic it does not detect network traffic from, for example, media playback using the avplay api #network traffic #statistics #web inspector tv, htv q19 why am i unable to test my application with the web inspector? the web inspector does not work properly with samsung tvs on later versions of google chrome™ you can try using an older google chrome™ version #web inspector #google chrome #older version tv, htv q20 can i perform memory profiling on my tv application? no for security reasons, the tizen studio dynamic analyzer is not supported on samsung tvs #dynamic analyzer #tizen studio #memory profiling tv, htv q21 can i obtain root access to the tv through the "sdb" tool? no it is not possible to obtain root access to the tv #root access #sdb tool tv, htv q22 can i retrieve system logs from the tv using the "sdb" tool? no the sdb logging feature is not supported on samsung tvs it is not possible to retrieve system logs #sdb tool #system log tv, htv q23 when testing the application through the tizen studio, i get the "error 205 unable to download " error how do i resolve this? this error is related to a certificate issue try creating a new certificate profile, making sure you select the distributor certificate privilege level you need, then building the project with the new certificate profile #distributor certificate #privilege level #tizen studio #certificate profile #error tv, htv q24 when testing the application through the tizen studio, i get the "error 118 unable to install " error how do i resolve this? if you have modified the content of a " wgt" file after packaging it, it can no longer be installed you must build the package again through the tizen studio #wgt file #packaging #tizen studio #error #building tv, htv q25 why am i unable to test a " tpk" application package on the tv? samsung tvs support only web applications " wgt" files they do not support native applications " tpk" files #tpk file #native application #wgt file #web application tv, htv q26 can i install certificates on a samsung tv proxy, and test secure and unsecure network traffic? no testing by proxy is not supported on samsung tvs #proxy #network traffic #security certificate tv, htv q27 can i test a samsung tv application on other hardware running tizen, such as a raspberry pi? no to test samsung tv applications, the device must have access to the tizen and samsung product apis the samsung product api is only available on samsung devices #samsung product api #raspberry pi #hardware tv, htv