Source language: Translate to:

BrowserSetElement - Access Denied

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

BrowserSetElement - Access Denied

Postby jamienz » Thu Jan 30, 2014 7:58 pm

Hi team,

When trying to use BrowserSetElement, it keeps returning an error "Access is Denied".

This appears no matter whether I'm initially selecting the browser element in the BrowserSetElement configuration box, or trying to run the command in a published application.

Image

Any thoughts on why this may be happening?


Cheers,

Jamie
jamienz
 
Posts: 9
Joined: Wed Jan 28, 2009 4:28 pm
Location: Auckland, New Zealand

Re: BrowserSetElement - Access Denied

Postby CN_Iceman » Fri Jan 31, 2014 8:21 am

I tried to reproduce the problem on my system and I did not succeed. The window with the access denied message does not appear.
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
 
Posts: 297
Joined: Tue Mar 01, 2011 11:04 am
Location: España

Re: BrowserSetElement - Access Denied

Postby Neosoft Support » Fri Jan 31, 2014 11:07 am

It may have something to do with your Internet Explorer security settings. Make sure you have all of the JavaScript options enabled.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: BrowserSetElement - Access Denied

Postby djmarkes » Tue Jan 19, 2016 11:12 am

It happens exactly the same. Do you know how to fix it?

Scripting area IE options is all enabled.

Thanks!
Diseño gráfico y Web profesional
http://www.jm-style.net
User avatar
djmarkes
 
Posts: 187
Joined: Thu May 26, 2011 5:08 pm

Re: BrowserSetElement - Access Denied

Postby Tony Kroos » Tue Jan 19, 2016 5:46 pm

Can you provide the html source that you want to modify? Maybe you are trying to set element in another iframe or something?
BrowserSetElement uses javascript to modify elements so keep in mind about javascript security issues.
Tony Kroos
 
Posts: 402
Joined: Thu Oct 15, 2009 3:43 pm

Re: BrowserSetElement - Access Denied

Postby djmarkes » Thu Jan 21, 2016 4:45 am

Hello there! I'm trying to google login page. If I put google.com in the browser, no problem. But this problem if I change the direction of the typical box login Google services appears. There is something in the code that prevents reading this?

Thank you.
Diseño gráfico y Web profesional
http://www.jm-style.net
User avatar
djmarkes
 
Posts: 187
Joined: Thu May 26, 2011 5:08 pm

Re: BrowserSetElement - Access Denied

Postby Tony Kroos » Thu Jan 21, 2016 7:17 am

Trying to fill credentials on google login page https://accounts.google.com/ServiceLogin?hl=en ?

Use BrowserExecScript manually to fill email first -
Code: Select all
document.getElementById('Email').value = 'my@ema.il';

Submit form -
Code: Select all
document.getElementById('gaia_loginform').submit();

Wait 1-2 seconds (Delay "1000")
It redirects to page where you need to enter password, let's do it -
Code: Select all
document.getElementById('Passwd').value = 'mypassword';

Submit form -
Code: Select all
document.getElementById('gaia_loginform').submit();

If login and password are correct, you should see authorized google page.

P.S; BTW, how exactly elements are queried with BrowserSetElement? I can confirm "Access denied" error with google login page.
Tony Kroos
 
Posts: 402
Joined: Thu Oct 15, 2009 3:43 pm

Re: BrowserSetElement - Access Denied

Postby stevec » Mon Jan 25, 2016 10:37 am

Reset Internet Explorer and see what happens.
Steve Christensen
stevec
 
Posts: 223
Joined: Fri Apr 15, 2005 7:33 am
Location: Boise, Idaho

Re: BrowserSetElement - Access Denied

Postby Neosoft Support » Tue Jan 26, 2016 7:11 pm

You could try entering the parameters into the BrowserSetElement action manually rather than using the Wizard. It looks like you're trying to use the Wizard to obtain a list of elements in a website that's open in the browser object. I think the access denied message is the browser (IE) trying to prevent an external app from hacking a secure webpage.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest