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 tvhtv#tizen studio ide 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 tvhtv#tv emulator 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 tvhtv#developer mode 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 tvhtv#connect tv#tizen studio 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 tvhtv#unable to connect tv 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 tvhtv#unable to reproduce bug 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 tvhtv#application uninstalled 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 tvhtv#tv emulator 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 tv#prelaunching application 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 tvhtv#drm 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 tvhtv#application performance#analyze 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 tv#tv model 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 tvhtv#hosted application 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 tvhtv#web inspector#disconnection 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 tvhtv#automated testing 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 tvhtv#crash log 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 tvhtv#accessing application content#geolocation#vpn 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 tvhtv#network traffic#statistics 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 tvhtv#unable to test application#web inspector 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 tvhtv#memory profiling 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 tvhtv#root access 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 tvhtv#sdb tool#system log 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 tvhtv#privilege level#tizen studio#error 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 tvhtv#wgt file#tizen studio#error 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 tvhtv#tpk file 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 tvhtv#proxy#network traffic#security certificate 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 tvhtv#samsung product api#hardware