[common][wgtapi02][change path for supporting global user] 79/111179/1
authorzy123.yuan <zy123.yuan@samsung.com>
Fri, 20 Jan 2017 02:00:15 +0000 (10:00 +0800)
committerzy123.yuan <zy123.yuan@samsung.com>
Fri, 20 Jan 2017 02:00:22 +0000 (10:00 +0800)
Change-Id: I6df9af50e979d94da880f645e38941f04bea8449
Signed-off-by: zy123.yuan <zy123.yuan@samsung.com>
common/tct-wgtapi02-w3c-tests/inst.wgt.py
common/tct-wgtapi02-w3c-tests/tests.full.xml
common/tct-wgtapi02-w3c-tests/tests.xml

index e735a701d191af9d46c1bc359534ec457240587f..145211488f64c080a91702f338bce3033501800f 100755 (executable)
@@ -7,7 +7,7 @@ import time
 import sys
 import subprocess
 import string
-from optparse import OptionParser, make_option\r
+from optparse import OptionParser, make_option
 import ConfigParser
 
 
@@ -20,6 +20,15 @@ tct_parser = ConfigParser.ConfigParser()
 tct_parser.read(TCT_CONFIG_FILE)
 SRC_DIR = tct_parser.get('DEVICE', 'DEVICE_SUITE_TARGET_30')
 PKG_SRC_DIR = "%s/tct/opt/%s" % (SRC_DIR, PKG_NAME)
+EXECUTION_MODE_30 = tct_parser.get('DEVICE', 'DEVICE_EXECUTION_MODE_30')
+ADMIN_USER_30 = tct_parser.get('DEVICE', 'DEVICE_ADMIN_USER_30')
+
+def userCheck():
+    global GLOVAL_OPT
+    if ADMIN_USER_30 == EXECUTION_MODE_30:
+        GLOVAL_OPT="--global"
+    else:
+        GLOVAL_OPT=""
 
 
 def doCMD(cmd):
@@ -55,8 +64,6 @@ def getUSERID():
     return doCMD(cmd)
 
 
-
-
 def getPKGID(pkg_name=None):
     if PARAMETERS.mode == "SDB":
         cmd = "sdb -s %s shell %s" % (
@@ -106,6 +113,9 @@ def doRemoteCopy(src=None, dest=None):
 def uninstPKGs():
     action_status = True
     for root, dirs, files in os.walk(SCRIPT_DIR):
+        if root.endswith("mediasrc"):
+            continue
+
         for file in files:
             if file.endswith(".wgt"):
                 pkg_id = getPKGID(os.path.basename(os.path.splitext(file)[0]))
@@ -113,7 +123,7 @@ def uninstPKGs():
                     action_status = False
                     continue
                 (return_code, output) = doRemoteCMD(
-                    "pkgcmd -u -t wgt -q -n %s" % pkg_id)
+                    "pkgcmd %s -q -u -n %s" % (GLOVAL_OPT, pkg_id))
                 for line in output:
                     if "Failure" in line:
                         action_status = False
@@ -134,12 +144,15 @@ def instPKGs():
     if return_code != 0:
         action_status = False
     for root, dirs, files in os.walk(SCRIPT_DIR):
+        if root.endswith("mediasrc"):
+            continue
+
         for file in files:
             if file.endswith(".wgt"):
                 if not doRemoteCopy(os.path.join(root, file), "%s/%s" % (SRC_DIR, file)):
                     action_status = False
                 (return_code, output) = doRemoteCMD(
-                    "pkgcmd -i -t wgt -q -p %s/%s" % (SRC_DIR, file))
+                    "pkgcmd %s -i -t wgt -q -p %s/%s" % (GLOVAL_OPT, SRC_DIR, file))
                 doRemoteCMD("rm -rf %s/%s" % (SRC_DIR, file))
                 for line in output:
                     if "Failure" in line:
@@ -181,7 +194,7 @@ def main():
         sys.exit(1)
 
     if not PARAMETERS.user:
-        PARAMETERS.user = "owner"
+        PARAMETERS.user = EXECUTION_MODE_30
     if not PARAMETERS.mode:
         PARAMETERS.mode = "SDB"
 
@@ -199,6 +212,8 @@ def main():
         print "No device provided"
         sys.exit(1)
 
+    userCheck()
+
     user_info = getUSERID()
     re_code = user_info[0]
     if re_code == 0 :
index 5acfc3d6f030249345b7728033a96d83daef054c..787513e1f9576c3bb7c96d2f60daa8d56f27e6aa 100755 (executable)
@@ -5,7 +5,7 @@
     <set name="WidgetInterface">
       <testcase purpose="Test that the UA retains the changes made to the storage on subsequent initializations." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_au">
         <description>
-          <pre_condition>Make sure au.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/au.wgt</pre_condition>
+          <pre_condition>Make sure au.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/au.wgt</pre_condition>
           <post_condition>Get the 'application id' of au.wgt with the command : wrt-launcher -l, then uninstall the au.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
@@ -29,7 +29,7 @@
       </testcase>
       <testcase purpose="Test that, upon invocation of the clear() method, a user agent queues a task to fire a StorageEvent event at the window object of an iframe contained by the start file." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_clear-fires-event">
         <description>
-          <pre_condition>Make sure clear-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/clear-fires-event.wgt</pre_condition>
+          <pre_condition>Make sure clear-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/clear-fires-event.wgt</pre_condition>
           <post_condition>Get the 'application id' of clear-fires-event.wgt with the command : wrt-launcher -l, then uninstall the clear-fires-event.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
@@ -49,7 +49,7 @@
       </testcase>
       <testcase purpose="Test that upon getting any of the attributes from the attributes column of the configuration attributes table, a user agent must return the corresponding value from the 'Values in Table of Configuration Defaults' column." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_return-emtpy-strings">
         <description>
-          <pre_condition>Make sure return-emtpy-strings.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/return-emtpy-strings.wgt</pre_condition>
+          <pre_condition>Make sure return-emtpy-strings.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/return-emtpy-strings.wgt</pre_condition>
           <post_condition>Get the 'application id' of return-emtpy-strings.wgt with the command : wrt-launcher -l, then uninstall the return-emtpy-strings.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
@@ -69,7 +69,7 @@
       </testcase>
       <testcase purpose="Test that, upon invocation of the removeItem() method, a user agent queues a task to fire a StorageEvent event at the window object of an iframe contained by the start file." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_removeItem-fires-event">
         <description>
-          <pre_condition>Make sure removeItem-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/removeItem-fires-event.wgt</pre_condition>
+          <pre_condition>Make sure removeItem-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/removeItem-fires-event.wgt</pre_condition>
           <post_condition>Get the 'application id' of removeItem-fires-event.wgt with the command : wrt-launcher -l, then uninstall the removeItem-fires-event.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
@@ -89,7 +89,7 @@
       </testcase>
       <testcase purpose="Test that, upon invocation of the setItem() method, a user agent queues a task to fire a StorageEvent event at the window object of an iframe contained by the start file." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_setItem-fires-event">
         <description>
-          <pre_condition>Make sure setItem-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/setItem-fires-event.wgt</pre_condition>
+          <pre_condition>Make sure setItem-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/setItem-fires-event.wgt</pre_condition>
           <post_condition>Get the 'application id' of setItem-fires-event.wgt with the command : wrt-launcher -l, then uninstall the setItem-fires-event.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test if widget.name is set correctly." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_ai">
         <description>
-          <pre_condition>Make sure ai.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/ai.wgt</pre_condition>
+          <pre_condition>Make sure ai.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/ai.wgt</pre_condition>
           <post_condition>Get the 'application id' of ai.wgt with the command : wrt-launcher -l, then uninstall the ai.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that LRO direction applies to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nlro01">
         <description>
-          <pre_condition>Make sure i18nlro01.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro01.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro01.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro01.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro01.wgt with the command : wrt-launcher -l, then uninstall the i18nlro01.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that LRO direction applies to the short attribute of the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nlro02">
         <description>
-          <pre_condition>Make sure i18nlro02.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro02.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro02.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro02.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro02.wgt with the command : wrt-launcher -l, then uninstall the i18nlro02.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that LRO direction applies to the span element within the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nlro06">
         <description>
-          <pre_condition>Make sure i18nlro06.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro06.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro06.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro06.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro06.wgt with the command : wrt-launcher -l, then uninstall the i18nlro06.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested LRO and RLO directions apply within the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nlro10">
         <description>
-          <pre_condition>Make sure i18nlro10.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro10.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro10.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro10.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro10.wgt with the command : wrt-launcher -l, then uninstall the i18nlro10.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that LRO direction is inherited by the name element from the widget element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nlro14">
         <description>
-          <pre_condition>Make sure i18nlro14.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro14.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro14.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro14.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro14.wgt with the command : wrt-launcher -l, then uninstall the i18nlro14.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that LRO direction is inherited by the short attribute of the name element from the widget element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nlro15">
         <description>
-          <pre_condition>Make sure i18nlro15.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro15.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro15.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro15.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro15.wgt with the command : wrt-launcher -l, then uninstall the i18nlro15.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested LRO and LTR directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nlro19">
         <description>
-          <pre_condition>Make sure i18nlro19.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro19.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro19.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro19.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro19.wgt with the command : wrt-launcher -l, then uninstall the i18nlro19.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested LRO and RTL directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nlro20">
         <description>
-          <pre_condition>Make sure i18nlro20.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro20.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro20.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro20.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro20.wgt with the command : wrt-launcher -l, then uninstall the i18nlro20.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested LRO and LRO directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="i18nlro21">
         <description>
-          <pre_condition>Make sure i18nlro21.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro21.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro21.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro21.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro21.wgt with the command : wrt-launcher -l, then uninstall the i18nlro21.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested LRO and RLO directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="i18nlro22">
         <description>
-          <pre_condition>Make sure i18nlro22.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro22.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro22.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro22.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro22.wgt with the command : wrt-launcher -l, then uninstall the i18nlro22.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that LTR direction applies to the span element within the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="i18nltr06">
         <description>
-          <pre_condition>Make sure i18nltr06.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr06.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr06.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr06.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nltr06.wgt with the command : wrt-launcher -l, then uninstall the i18nltr06.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested LTR and RTL directions apply within the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="i18nltr10">
         <description>
-          <pre_condition>Make sure i18nltr10.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr10.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr10.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr10.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nltr10.wgt with the command : wrt-launcher -l, then uninstall the i18nltr10.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested LTR and RTL directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="i18nltr20">
         <description>
-          <pre_condition>Make sure i18nltr20.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr20.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr20.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr20.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nltr20.wgt with the command : wrt-launcher -l, then uninstall the i18nltr20.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested LTR and LRO directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="i18nltr21">
         <description>
-          <pre_condition>Make sure i18nltr21.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr21.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr21.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr21.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nltr21.wgt with the command : wrt-launcher -l, then uninstall the i18nltr21.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested LTR and RLO directions apply correctly." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="i18nltr22">
         <description>
-          <pre_condition>Make sure i18nltr22.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr22.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr22.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr22.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nltr22.wgt with the command : wrt-launcher -l, then uninstall the i18nltr22.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested RLO and LRO directions apply within the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrlo10">
         <description>
-          <pre_condition>Make sure i18nrlo10.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo10.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo10.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo10.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrlo10.wgt with the command : wrt-launcher -l, then uninstall the i18nrlo10.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested RLO and LTR directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrlo19">
         <description>
-          <pre_condition>Make sure i18nrlo19.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo19.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo19.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo19.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrlo19.wgt with the command : wrt-launcher -l, then uninstall the i18nrlo19.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested RLO and RTL directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrlo20">
         <description>
-          <pre_condition>Make sure i18nrlo20.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo20.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo20.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo20.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrlo20.wgt with the command : wrt-launcher -l, then uninstall the i18nrlo20.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested RLO and LRO directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrlo21">
         <description>
-          <pre_condition>Make sure i18nrlo21.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo21.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo21.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo21.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrlo21.wgt with the command : wrt-launcher -l, then uninstall the i18nrlo21.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested RLO directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrlo22">
         <description>
-          <pre_condition>Make sure i18nrlo22.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo22.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo22.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo22.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrlo22.wgt with the command : wrt-launcher -l, then uninstall the i18nrlo22.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that RTL direction applies to the span element within the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrtl06">
         <description>
-          <pre_condition>Make sure i18nrtl06.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl06.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl06.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl06.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrtl06.wgt with the command : wrt-launcher -l, then uninstall the i18nrtl06.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested RTL and RTL directions apply within the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrtl10">
         <description>
-          <pre_condition>Make sure i18nrtl10.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl10.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl10.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl10.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrtl10.wgt with the command : wrt-launcher -l, then uninstall the i18nrtl10.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested RTL directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrtl20">
         <description>
-          <pre_condition>Make sure i18nrtl20.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl20.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl20.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl20.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrtl20.wgt with the command : wrt-launcher -l, then uninstall the i18nrtl20.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that nested RTL and LRO directions apply correctly to the name element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrtl21">
         <description>
-          <pre_condition>Make sure i18nrtl21.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl21.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl21.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl21.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrtl21.wgt with the command : wrt-launcher -l, then uninstall the i18nrtl21.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that LTR direction does not apply to the xml:lang attribute of the widget element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nltr44">
         <description>
-          <pre_condition>Make sure i18nltr44.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr44.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr44.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr44.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nltr44.wgt with the command : wrt-launcher -l, then uninstall the i18nltr44.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that RTL direction does not apply to the xml:lang attribute of the widget element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrtl44">
         <description>
-          <pre_condition>Make sure i18nrtl44.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl44.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl44.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl44.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrtl44.wgt with the command : wrt-launcher -l, then uninstall the i18nrtl44.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that LRO direction does not apply to the xml:lang attribute of the widget element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="i18nlro44">
         <description>
-          <pre_condition>Make sure i18nlro44.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro44.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro44.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro44.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nlro44.wgt with the command : wrt-launcher -l, then uninstall the i18nlro44.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase purpose="Test that RLO direction does not apply to the xml:lang attribute of the widget element." type="compliance" status="approved" component="WebAPI/Widget/Widget Interface" execution_type="manual" priority="P3" id="WidgetInterface_i18nrlo44">
         <description>
-          <pre_condition>Make sure i18nrlo44.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo44.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo44.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo44.wgt</pre_condition>
           <post_condition>Get the 'application id' of i18nrlo44.wgt with the command : wrt-launcher -l, then uninstall the i18nrlo44.wgt with the command : pkgcmd -u -q -t wgt -n 'package id'</post_condition>
           <steps>
             <step order="1">
index ef2844c019c97d1edc5fcd648dcb7b6d9965fad0..cf32d85d714b9ae0d4220f456361b244e97b9d46 100755 (executable)
@@ -5,7 +5,7 @@
     <set name="WidgetInterface" type="js">
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_au" purpose="Test that the UA retains the changes made to the storage on subsequent initializations.">
         <description>
-          <pre_condition>Make sure au.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/au.wgt</pre_condition>
+          <pre_condition>Make sure au.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/au.wgt</pre_condition>
           <post_condition>Get the $pkgid of au.wgt with the command : pkgcmd -l, then uninstall the au.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
@@ -22,7 +22,7 @@
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_clear-fires-event" purpose="Test that, upon invocation of the clear() method, a user agent queues a task to fire a StorageEvent event at the window object of an iframe contained by the start file.">
         <description>
-          <pre_condition>Make sure clear-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/clear-fires-event.wgt</pre_condition>
+          <pre_condition>Make sure clear-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/clear-fires-event.wgt</pre_condition>
           <post_condition>Get the $pkgid of clear-fires-event.wgt with the command : pkgcmd -l, then uninstall the clear-fires-event.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
@@ -35,7 +35,7 @@
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_return-emtpy-strings" purpose="Test that upon getting any of the attributes from the attributes column of the configuration attributes table, a user agent must return the corresponding value from the 'Values in Table of Configuration Defaults' column.">
         <description>
-          <pre_condition>Make sure return-emtpy-strings.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/return-emtpy-strings.wgt</pre_condition>
+          <pre_condition>Make sure return-emtpy-strings.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/return-emtpy-strings.wgt</pre_condition>
           <post_condition>Get the $pkgid of return-emtpy-strings.wgt with the command : pkgcmd -l, then uninstall the return-emtpy-strings.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
@@ -48,7 +48,7 @@
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_removeItem-fires-event" purpose="Test that, upon invocation of the removeItem() method, a user agent queues a task to fire a StorageEvent event at the window object of an iframe contained by the start file.">
         <description>
-          <pre_condition>Make sure removeItem-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/removeItem-fires-event.wgt</pre_condition>
+          <pre_condition>Make sure removeItem-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/removeItem-fires-event.wgt</pre_condition>
           <post_condition>Get the $pkgid of removeItem-fires-event.wgt with the command : pkgcmd -l, then uninstall the removeItem-fires-event.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
@@ -61,7 +61,7 @@
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_setItem-fires-event" purpose="Test that, upon invocation of the setItem() method, a user agent queues a task to fire a StorageEvent event at the window object of an iframe contained by the start file.">
         <description>
-          <pre_condition>Make sure setItem-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/setItem-fires-event.wgt</pre_condition>
+          <pre_condition>Make sure setItem-fires-event.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/setItem-fires-event.wgt</pre_condition>
           <post_condition>Get the $pkgid of setItem-fires-event.wgt with the command : pkgcmd -l, then uninstall the setItem-fires-event.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
@@ -74,7 +74,7 @@
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_ai" purpose="Test if widget.name is set correctly.">
         <description>
-          <pre_condition>Make sure ai.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/ai.wgt</pre_condition>
+          <pre_condition>Make sure ai.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/ai.wgt</pre_condition>
           <post_condition>Get the $pkgid of ai.wgt with the command : pkgcmd -l, then uninstall the ai.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
@@ -87,7 +87,7 @@
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nlro01" purpose="Test that LRO direction applies to the name element.">
         <description>
-          <pre_condition>Make sure i18nlro01.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro01.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro01.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro01.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro01.wgt with the command : pkgcmd -l, then uninstall the i18nlro01.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nlro02" purpose="Test that LRO direction applies to the short attribute of the name element.">
         <description>
-          <pre_condition>Make sure i18nlro02.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro02.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro02.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro02.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro02.wgt with the command : pkgcmd -l, then uninstall the i18nlro02.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nlro06" purpose="Test that LRO direction applies to the span element within the name element.">
         <description>
-          <pre_condition>Make sure i18nlro06.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro06.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro06.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro06.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro06.wgt with the command : pkgcmd -l, then uninstall the i18nlro06.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nlro10" purpose="Test that nested LRO and RLO directions apply within the name element.">
         <description>
-          <pre_condition>Make sure i18nlro10.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro10.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro10.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro10.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro10.wgt with the command : pkgcmd -l, then uninstall the i18nlro10.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nlro14" purpose="Test that LRO direction is inherited by the name element from the widget element.">
         <description>
-          <pre_condition>Make sure i18nlro14.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro14.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro14.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro14.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro14.wgt with the command : pkgcmd -l, then uninstall the i18nlro14.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nlro15" purpose="Test that LRO direction is inherited by the short attribute of the name element from the widget element.">
         <description>
-          <pre_condition>Make sure i18nlro15.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro15.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro15.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro15.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro15.wgt with the command : pkgcmd -l, then uninstall the i18nlro15.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nlro19" purpose="Test that nested LRO and LTR directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nlro19.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro19.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro19.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro19.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro19.wgt with the command : pkgcmd -l, then uninstall the i18nlro19.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nlro20" purpose="Test that nested LRO and RTL directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nlro20.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro20.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro20.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro20.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro20.wgt with the command : pkgcmd -l, then uninstall the i18nlro20.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="i18nlro21" purpose="Test that nested LRO and LRO directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nlro21.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro21.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro21.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro21.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro21.wgt with the command : pkgcmd -l, then uninstall the i18nlro21.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="i18nlro22" purpose="Test that nested LRO and RLO directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nlro22.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro22.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro22.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro22.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro22.wgt with the command : pkgcmd -l, then uninstall the i18nlro22.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="i18nltr06" purpose="Test that LTR direction applies to the span element within the name element.">
         <description>
-          <pre_condition>Make sure i18nltr06.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr06.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr06.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr06.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nltr06.wgt with the command : pkgcmd -l, then uninstall the i18nltr06.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="i18nltr10" purpose="Test that nested LTR and RTL directions apply within the name element.">
         <description>
-          <pre_condition>Make sure i18nltr10.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr10.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr10.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr10.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nltr10.wgt with the command : pkgcmd -l, then uninstall the i18nltr10.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="i18nltr20" purpose="Test that nested LTR and RTL directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nltr20.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr20.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr20.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr20.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nltr20.wgt with the command : pkgcmd -l, then uninstall the i18nltr20.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="i18nltr21" purpose="Test that nested LTR and LRO directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nltr21.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr21.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr21.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr21.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nltr21.wgt with the command : pkgcmd -l, then uninstall the i18nltr21.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="i18nltr22" purpose="Test that nested LTR and RLO directions apply correctly.">
         <description>
-          <pre_condition>Make sure i18nltr22.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr22.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr22.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr22.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nltr22.wgt with the command : pkgcmd -l, then uninstall the i18nltr22.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrlo10" purpose="Test that nested RLO and LRO directions apply within the name element.">
         <description>
-          <pre_condition>Make sure i18nrlo10.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo10.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo10.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo10.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrlo10.wgt with the command : pkgcmd -l, then uninstall the i18nrlo10.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrlo19" purpose="Test that nested RLO and LTR directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nrlo19.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo19.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo19.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo19.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrlo19.wgt with the command : pkgcmd -l, then uninstall the i18nrlo19.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrlo20" purpose="Test that nested RLO and RTL directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nrlo20.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo20.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo20.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo20.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrlo20.wgt with the command : pkgcmd -l, then uninstall the i18nrlo20.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrlo21" purpose="Test that nested RLO and LRO directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nrlo21.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo21.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo21.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo21.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrlo21.wgt with the command : pkgcmd -l, then uninstall the i18nrlo21.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrlo22" purpose="Test that nested RLO directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nrlo22.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo22.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo22.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo22.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrlo22.wgt with the command : pkgcmd -l, then uninstall the i18nrlo22.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrtl06" purpose="Test that RTL direction applies to the span element within the name element.">
         <description>
-          <pre_condition>Make sure i18nrtl06.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl06.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl06.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl06.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrtl06.wgt with the command : pkgcmd -l, then uninstall the i18nrtl06.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrtl10" purpose="Test that nested RTL and RTL directions apply within the name element.">
         <description>
-          <pre_condition>Make sure i18nrtl10.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl10.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl10.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl10.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrtl10.wgt with the command : pkgcmd -l, then uninstall the i18nrtl10.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrtl20" purpose="Test that nested RTL directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nrtl20.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl20.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl20.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl20.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrtl20.wgt with the command : pkgcmd -l, then uninstall the i18nrtl20.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrtl21" purpose="Test that nested RTL and LRO directions apply correctly to the name element.">
         <description>
-          <pre_condition>Make sure i18nrtl21.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl21.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl21.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl21.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrtl21.wgt with the command : pkgcmd -l, then uninstall the i18nrtl21.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nltr44" purpose="Test that LTR direction does not apply to the xml:lang attribute of the widget element.">
         <description>
-          <pre_condition>Make sure i18nltr44.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr44.wgt</pre_condition>
+          <pre_condition>Make sure i18nltr44.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nltr44.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nltr44.wgt with the command : pkgcmd -l, then uninstall the i18nltr44.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrtl44" purpose="Test that RTL direction does not apply to the xml:lang attribute of the widget element.">
         <description>
-          <pre_condition>Make sure i18nrtl44.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl44.wgt</pre_condition>
+          <pre_condition>Make sure i18nrtl44.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrtl44.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrtl44.wgt with the command : pkgcmd -l, then uninstall the i18nrtl44.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="i18nlro44" purpose="Test that LRO direction does not apply to the xml:lang attribute of the widget element.">
         <description>
-          <pre_condition>Make sure i18nlro44.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro44.wgt</pre_condition>
+          <pre_condition>Make sure i18nlro44.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nlro44.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nlro44.wgt with the command : pkgcmd -l, then uninstall the i18nlro44.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
       <testcase component="W3C_HTML5 APIs/Widget/Widget Interface" execution_type="manual" id="WidgetInterface_i18nrlo44" purpose="Test that RLO direction does not apply to the xml:lang attribute of the widget element.">
         <description>
-          <pre_condition>Make sure i18nrlo44.wgt is installed with the command : pkgcmd -i -t wgt -q -p /home/owner/share/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo44.wgt</pre_condition>
+          <pre_condition>Make sure i18nrlo44.wgt is installed with the command : pkgcmd -i -t wgt -q -p {DEVICE_SUITE_TARGET_30}/tct/opt/tct-wgtapi02-w3c-tests/widgetinterface/w3c/i18nrlo44.wgt</pre_condition>
           <post_condition>Get the $pkgid of i18nrlo44.wgt with the command : pkgcmd -l, then uninstall the i18nrlo44.wgt with the command : pkgcmd -u -t wgt -q -n $pkgid</post_condition>
           <steps>
             <step order="1">
       </testcase>
     </set>
   </suite>
-</test_definition>
\ No newline at end of file
+</test_definition>