cancel
Showing results for 
Search instead for 
Did you mean: 

Framework in 12 mins

Valued Contributor

Re: Framework in 12 mins


I want to read the function from excel and somehow I need to execute that function in TestComplete. Could you please let me know a good way to do this. I really need a standard way of doing this.

I understand what you are trying to achieve. AFAIK there is no way to do this except for 2 ways you have already tried (eval and Runner.CallMethod).

I just don't understand why you implement such a difficult solution? Why not using TestItems?

Community Hero

Re: Framework in 12 mins

I have around 1500+ test cases, all these test cases run by filters based on the command line parameters. each test case has a module, environment, release version. Based on the command line parameters test cases will get filtered with what module we are running based on the module, environment, and release.

 

I'm achieving this using ADODB query where I can form a  where clause by these values. I believe this situation can't be handled dynamically using the TestItem. If there is a way please suggest. 


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”


Extension Available

Community Hero

Re: Framework in 12 mins

We do something similar where at run time we determine what projects and test items to run based of Jira issue statuses. We use powershell scripts to build a list of projects and the test items in the project we need to run, then use powershell's XML parser to enable or disable the test items before opening the project.

 

All of our environment info is stored as JSON in text files that read in by test complete's on start test event handler. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
New Here?
Join us and watch the welcome video:
6 / 7 API Testing Mistakes Video
Top Kudoed Authors