cancel
Showing results for 
Search instead for 
Did you mean: 

Framework in 12 mins

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
Community Manager

Re: Framework in 12 mins

I like it!

I'm sure it will help many new testers who think of how a testing framework should look like, where to get started to create a useful framework, etc. Thanks for preparing such a great video and sharing it with us!

 

More videos will come soon? Smiley Happy

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Valued Contributor

Re: Framework in 12 mins

Hi Shankar,

I'd like to criticize a little here.

1. The quality of the video is really bad. It is almost impossible to see the code, even though I watch the video in the best quality YouTube suggests me (720p). This is the reason I stopped watching the video after 5 mins. I'm attaching a screenshot of what I see on the screen.

2. There are some voices on the background, probably from your colleagues. It really annoys, such videos should be recorded in silence, e.g. in an empty room.

3. Using eval function isn't recommended in JavaScript, it complicates debugging. And you use eval on the high level, wrapping the whole code executed (see for instance, answer on StackOverflow ).

 

My general impression - I wouldn't recommend using this video as a tutorial, especially for novices

Community Hero

Re: Framework in 12 mins

Thanks, Gennadiy for the valuable suggestions, This is my first ever YouTube video so It should have some pitfalls. I will try my best on the next video so the user can enjoy learning!

 

@karkadil wrote:

3. Using eval function isn't recommended in JavaScript, it complicates debugging. And you use eval on the high level, wrapping the whole code executed (see for instance, answer on StackOverflow ).

I agree with what you are saying but eval is not recommended in JavaScript but It's been working for me for the past 5 years and I'm able to debug the code. We have another possibility which is Runner.CallMethod may we can replace the eval by that. Eval  basically restricted for security concern which is not applicable in Automation scripting.  

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


@TanyaGorbunova wrote:

More videos will come soon? Smiley Happy


Thank you @TanyaGorbunova , I'm in progress of creating few more videos on the TestComplete frequently used functionalities. Smiley Happy 


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

@karkadil  Replaced with new video check out


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

Valued Contributor

Re: Framework in 12 mins

@shankar_r , starting from 10:30 the video has some creepy audio and video artifacts.

 

Also, it is a good idea to enlarge the font size, but it looks like you changed the tool for screen recording. It is focusing on currently active controls (or current mouse position, or something else). As a result, sometimes it is difficult to understand, where and why the focus moved.

Probably it would be better to use lower resolution to record the video, but always record the full screen.

P.S. Have you changed your voice? Smiley Happy

Valued Contributor

Re: Framework in 12 mins

Community Hero

Re: Framework in 12 mins


@karkadil wrote:

P.S. Have you changed your voice? Smiley Happy


Voice is Microsoft Mark voice (text to speech Smiley Tongue)

 

Runner.CallMethod was obsoleted way back in 2013 but It is still supported in TestComplete.

https://community.smartbear.com/t5/TestComplete-Functional-Web/Why-Runner-CallMethod-is-obsolete/td-...

 

So, Here is the question. 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.


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

What if you leveraged some JavaScript in some way? Instead of doing some sort of eval or callmethod for the funciton, what if it was class/method?  And you would, as part of your execution, call the "require" keyword to bring in the exported class and then execute the method?  Something like this.

 

function (className, methodName){
let localClass = require(className);
let localOBject = new localClass();
localObject[methodName]();

}

Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
New Here?
Join us and watch the welcome video:
Top Kudoed Authors