Micro Focus QTP (UFT) Forums
Regarding winobject datatable - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Regarding winobject datatable (/Thread-Regarding-winobject-datatable)



Regarding winobject datatable - Hemavelappan - 08-05-2011

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


RE: Regarding winobject datatable - sshukla12 - 08-05-2011

Can you please detail the error its throwing...


RE: Regarding winobject datatable - Tarik Sheth - 08-05-2011

Hi,

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