• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 431
  • Last Modified:

JScript and JavaScript Internet Explorer

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
chima
Asked:
chima
5 Solutions
 
Dave BaldwinFixer of ProblemsCommented:
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
 
Sar1973Commented:
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
 
jcimarronCommented:
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
chimaAuthor Commented:
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
 
jcimarronCommented:
chima--Where do you see "ExpressionNoIn"?
Can you comment on the suggestions already made?
0
 
chimaAuthor Commented:
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
 
chimaAuthor Commented:
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
 
jcimarronCommented:
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
 
chimaAuthor Commented:
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
 
jcimarronCommented:
chima--Glad to have helped.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now