We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
Type Mismatch error show me that, you have convert your string to int.
try like below,
function FXConnectRFSClientAllin(rowValue, ColValue) {
try {
rowValue = aqConvert.VarToInt(rowValue);
ColValue = aqConvert.VarToInt(ColValue);
} catch (ex) {
Log.Error("Invalid inputs");
return;
}
var intValue = Aliases.jp2launcher.JideSystemShell.Orders.exec_orders.RootPane.null_layeredPane.null_contentPane.SessionDetailsTabbedPanel.Panel.JideTabbedPane.BusyComponent.JXLayer.MultiOrderCardPanel.RFS_Competitive.JS_RFSOrderDetails.wValue(rowValue, ColValue);
return intValue
}
I guess 0,15 is row and column number to get value using wValue(row,column) method.
If i assume correctly, then you have to pass two parameters in order to get the value, as like below.
function FXConnectRFSClientAllin(rowValue,ColValue)
{
var intValue= Aliases.jp2launcher.JideSystemShell.Orders.exec_orders.RootPane.null_layeredPane.null_contentPane.SessionDetailsTabbedPanel.Panel.JideTabbedPane.BusyComponent.JXLayer.MultiOrderCardPanel.RFS_Competitive.JS_RFSOrderDetails.wValue(rowValue,ColValue);
return intValue
}Tried this but still getting the runtime error as 'Type mismatch'
Can you post a screenshot where you are getting type mismatch error?
Hi,
Please see the error attached.
Is maybe because the row and col values are Integer types but I am passing the String type? Not sure
Type Mismatch error show me that, you have convert your string to int.
try like below,
function FXConnectRFSClientAllin(rowValue, ColValue) {
try {
rowValue = aqConvert.VarToInt(rowValue);
ColValue = aqConvert.VarToInt(ColValue);
} catch (ex) {
Log.Error("Invalid inputs");
return;
}
var intValue = Aliases.jp2launcher.JideSystemShell.Orders.exec_orders.RootPane.null_layeredPane.null_contentPane.SessionDetailsTabbedPanel.Panel.JideTabbedPane.BusyComponent.JXLayer.MultiOrderCardPanel.RFS_Competitive.JS_RFSOrderDetails.wValue(rowValue, ColValue);
return intValue
}