venkat001
13 years agoOccasional Contributor
Passing values to LabVIEW controls
Hi,
We are working on TestComplete and LabVIEW to test our embeded product,
here TC script is written to access object data from application X and then pass
values to LabVIEW controls. I was trying to use Object spy -->Drag option in
TestComplete to access LabVIEW control to display data read from
application X but only could able to access outer menu in LabVIEW window
(i mean maximize, minimize and close) and its not able access LabVIEW controls or
indicators.
Below code example when i access control in comunicator application using Object Spy -->Drag option in TC.
Sys.Process("communicator").Window("#32770", "Test Inputs", 1).Window("Static", "", 1)
Below code example when i access control in LabVIEW application using Object spy -->Drag
option in TC (its not able to access controls or indicators in LabVIEW window)
Sys.Process("LabVIEW").Window("LVDChild", "TEST AUTOMATION.vi", 3)
Appreciate your help to resolve this problem.
Regards,
Venkateswaran K
We are working on TestComplete and LabVIEW to test our embeded product,
here TC script is written to access object data from application X and then pass
values to LabVIEW controls. I was trying to use Object spy -->Drag option in
TestComplete to access LabVIEW control to display data read from
application X but only could able to access outer menu in LabVIEW window
(i mean maximize, minimize and close) and its not able access LabVIEW controls or
indicators.
Below code example when i access control in comunicator application using Object Spy -->Drag option in TC.
Sys.Process("communicator").Window("#32770", "Test Inputs", 1).Window("Static", "", 1)
Below code example when i access control in LabVIEW application using Object spy -->Drag
option in TC (its not able to access controls or indicators in LabVIEW window)
Sys.Process("LabVIEW").Window("LVDChild", "TEST AUTOMATION.vi", 3)
Appreciate your help to resolve this problem.
Regards,
Venkateswaran K