Micro Focus QTP (UFT) Forums

Full Version: Regarding winobject datatable
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,
Pls confirm whether winobject will accept Datatable.
In the below execution statement it throws the below error.

Code:
window("BillQuick HR 2011").Window("BillQuick HR Login").WinObject("WindowsForms10.EDIT.app.0.33c0").Set DataTable("user_ID")
window("BillQuick HR 2011").Window("BillQuick HR Login").WinObject("WindowsForms10.EDIT.app.0.33c0_2").Set DataTable("Password")

"window("BillQuick HR 2011").Window("BillQuick HR Login").WinObject("WindowsForms10.EDIT.app.0.33c0").Set DataTable("user_ID")".


Regards
Hema
Can you please detail the error its throwing...
Hi,

Why do not u take it in a variable and then use it?