Ask a Question

Framework in 12 mins

shankar_r
Community Hero

Framework in 12 mins

I have a created a video which will demonstrate how to create a worth framework inside 15 mins. checkout


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

12 REPLIES 12
karkadil
Valued Contributor


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?

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

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
cancel
Showing results for 
Search instead for 
Did you mean: