Modified hard-code when get FRU info

Modify hard-code to global variable when get FRU info.

Signed-off-by: Tony Lee <tony.lee@quantatw.com>
Change-Id: I99e6201423d84e07dcb3dc06a2a7e2ea80a6a7f5
diff --git a/lib/resource.robot b/lib/resource.robot
index 1018e60..710fdb1 100755
--- a/lib/resource.robot
+++ b/lib/resource.robot
@@ -32,6 +32,7 @@
 ${REST_PASSWORD}       0penBmc
 
 ${CHASSIS_ID}  chassis
+${COMPONENT_NAME_OF_POWER_SUPPLY}  powersupply
 
 # MTLS_ENABLED indicates whether mTLS is enabled.
 ${MTLS_ENABLED}        False