LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I execute the test case written excel sheet

Hello

I have written the test cases  in excel sheet. Please tell any one how to execute test case from labview.please send some sample vi

Message 1 of 11
(3,483 Views)

Hello,

 

Have you written you test cases in VBA coding for excel or something else.

Can you please explain bit more about it.

0 Kudos
Message 2 of 11
(3,481 Views)

Its written in vba

0 Kudos
Message 3 of 11
(3,470 Views)

Have a look on this link, might help.

 

http://zone.ni.com/devzone/cda/tut/p/id/2828

0 Kudos
Message 4 of 11
(3,464 Views)

I'm sorry, but you've provided zero information on what you have. All you've said is that you have an Excel "sheet" with test cases, and that it's written in VBA. What does that even mean? What's written in VBA? Are you trying to call the VBA code? Are you trying to rewrite the VBA code in LabVIEW? Unless you provide a better explanation of what you have and what you are trying to do, we can just keep playing a guessing game.

0 Kudos
Message 5 of 11
(3,460 Views)

My question is, is it possible to execute the particular cell in excel sheets in  which test conditions are written

0 Kudos
Message 6 of 11
(3,451 Views)

You can't "execute" cells. You can only execute VBA code. Thus, your question makes no sense.

0 Kudos
Message 7 of 11
(3,443 Views)

Thanks for information

0 Kudos
Message 8 of 11
(3,437 Views)
You can make DLL file of your VBA test cases and call from LabVIEW. I think you cant directly call VBA code from LabVIEW. Share your code to provide you more help.
0 Kudos
Message 9 of 11
(3,429 Views)

@puneet.kapoor wrote:
 I think you cant directly call VBA code from LabVIEW.

You can via ActiveX by using the RunMacro method.

0 Kudos
Message 10 of 11
(3,422 Views)