Forum Discussion
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
- karkadil6 years agoValued Contributor
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? :)
- karkadil6 years agoValued Contributor
BTW, using Runner.CallMethod is also not recommended as it is obsolete :)
- shankar_r6 years agoCommunity Hero
karkadil wrote:
P.S. Have you changed your voice? :)
Voice is Microsoft Mark voice (text to speech :smileytongue:)
Runner.CallMethod was obsoleted way back in 2013 but It is still supported in TestComplete.
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.
- tristaanogre6 years agoEsteemed Contributor
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](); }
Related Content
- 4 years ago
Recent Discussions
- 12 hours ago
- 7 days ago
- 10 days ago