Solved

JScript and JavaScript Internet Explorer

Posted on 2013-05-18
10
422 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 83

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

932 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

11 Experts available now in Live!

Get 1:1 Help Now