Page 1 of 1

BrowserSetElement - Access Denied

PostPosted: Thu Jan 30, 2014 7:58 pm
by jamienz
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

Re: BrowserSetElement - Access Denied

PostPosted: Fri Jan 31, 2014 8:21 am
by CN_Iceman
I tried to reproduce the problem on my system and I did not succeed. The window with the access denied message does not appear.

Re: BrowserSetElement - Access Denied

PostPosted: Fri Jan 31, 2014 11:07 am
by Neosoft Support
It may have something to do with your Internet Explorer security settings. Make sure you have all of the JavaScript options enabled.

Re: BrowserSetElement - Access Denied

PostPosted: Tue Jan 19, 2016 11:12 am
by djmarkes
It happens exactly the same. Do you know how to fix it?

Scripting area IE options is all enabled.

Thanks!

Re: BrowserSetElement - Access Denied

PostPosted: Tue Jan 19, 2016 5:46 pm
by Tony Kroos
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.

Re: BrowserSetElement - Access Denied

PostPosted: Thu Jan 21, 2016 4:45 am
by djmarkes
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.

Re: BrowserSetElement - Access Denied

PostPosted: Thu Jan 21, 2016 7:17 am
by Tony Kroos
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.

Re: BrowserSetElement - Access Denied

PostPosted: Mon Jan 25, 2016 10:37 am
by stevec
Reset Internet Explorer and see what happens.

Re: BrowserSetElement - Access Denied

PostPosted: Tue Jan 26, 2016 7:11 pm
by Neosoft Support
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.