Solved

JScript and JavaScript Internet Explorer

Posted on 2013-05-18
10
421 Views
Last Modified: 2013-05-21
Hello,
I'm not a developer, so I need to ask this, after googling for an answer.
I JScript still used/programmed for IE6,7,8,9
This link states that it "supports," but could one develop JScript code for the IE.  I would think the answer is yes, which bring up my next question; "How does Selenium webdriver api" test jscript?
I know that in IE one can "enable" Javascript, but I do not know what this means.  Does it mean that the JScript is converted to Javascript?
Does a developer code in Javascript then compiles it for Windows, i.e., IE 6,7,8,9?

I hope I made sense.
thanks
0
Comment
Question by:chima
10 Comments
 
LVL 82

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 50 total points
ID: 39178202
Jscript is Microsoft's version of javascript.  The only difference is the name and there is nothing you need to do.  Jscript is javascript by another name.  Technically, they are all ECMAScript any way.  https://en.wikipedia.org/wiki/ECMAScript
0
 
LVL 9

Assisted Solution

by:Sar1973
Sar1973 earned 50 total points
ID: 39178457
In Javascript you have some functions telling you Navigator app and version and also if Java is enabled or not; see http://www.w3schools.com/js/js_window_navigator.asp and http://www.w3schools.com/jsref/met_nav_javaenabled.asp).
0
 
LVL 50

Assisted Solution

by:jcimarron
jcimarron earned 400 total points
ID: 39179462
chima--Re Selenium:
http://refcardz.dzone.com/refcardz/getting-started-selenium-20
I am not sure it is correct to say Selenium "tests" jscript, rather
"Whereas Selenium runs as a JavaScript application inside the targeted browser, WebDriver drives the browser directly through the most sensible means available. For Firefox, this meant using JavaScript wrapped in an XPCOM component; however, for Internet Explorer, this meant using C++ to drive IE’s Automation APIs."
0
 

Author Comment

by:chima
ID: 39179721
What is an ExpressionNoIn"  
I have googled it and it is not coming up.

I can't believe this, I find ExpressionNoIn, but it is not defined.  This is used in;
for ( ExpressionNoInopt ; Expressionopt ; Expressionopt ) Statement
0
 
LVL 50

Assisted Solution

by:jcimarron
jcimarron earned 400 total points
ID: 39179790
chima--Where do you see "ExpressionNoIn"?
Can you comment on the suggestions already made?
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

Author Comment

by:chima
ID: 39179950
jcimarron, sorry my error.  Please ignore this question.  I will open a new ticket.
Please see the question there.

The link you provided for Dzone is a good site to keep in mind.  I'm sure their service is not free.
0
 

Author Comment

by:chima
ID: 39182361
jcimarron, about IE Automation APIs, are you saying that in creating Selenium Webdriver scripts, one would use IE API, such at those describe here; http://msdn.microsoft.com/en-us/library/aa752084(v=vs.85).aspx

If so, and if you have worked with the Selenium webdriver, are the IE APIs incorporated in with the webdrivers?  I would think - not ?

Thank you for all the help.
0
 
LVL 50

Accepted Solution

by:
jcimarron earned 400 total points
ID: 39182392
chima--I think the answer to your second question is Yes, since the IE API's are proprietary
http://docs.seleniumhq.org/projects/webdriver/
http://msdn.microsoft.com/en-us/library/hh772402(v=vs.85).aspx
But, regrets, I do not know since I have not worked with Selenium WebDriver.
0
 

Author Closing Comment

by:chima
ID: 39184546
It appears that no one uses jscript that much.
I read that each browser has their automation API to work with.
thank you all.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39184823
chima--Glad to have helped.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I recently found myself in a Corporate Situation where the client had requested blocking access to any and all websites except his own Domain? Easy? I am sure this would be your answer but their requirement was, this has to be done without using…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now