Unable to identify flash elements - Internet Explorer

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
alan722
Posts: 25
Joined: Mon Jan 12, 2015 1:34 pm

Unable to identify flash elements - Internet Explorer

Post by alan722 » Mon May 18, 2015 2:58 pm

Hi Guys,

Steps to reproduce:
1. Use instrumentation wizard to install everything needed to identify flash elements on Internet Explorer.
2. Open Ranorex Spy and manually open up the flash page on Internet Explorer
3. Try track elements and it works fine.
4. Create a new project in ranorex
5. Select the open browser command and enter the same info as step 2.
6. Launch IE via ranorex.
7. Try track elements using ranorex spy
8. the flash instrumentation wizard pops up saying I have not instrumented properly.

Has anyone encountered something similar? :?

Here's my machine specs.

Windows 8.1
Internet Explorer 11.0.9600.16384
Ranorex Version 5.3.2

alan722
Posts: 25
Joined: Mon Jan 12, 2015 1:34 pm

Re: Unable to identify flash elements - Internet Explorer

Post by alan722 » Tue May 19, 2015 1:47 pm

Ok I managed to do some digging.

Turns out when running IE as administrator, nothing get's written to the flash log file.
This may be the cause.

But in order to run my recording I need to start up Ranorex as Administrator.

How can you overcome this?

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Unable to identify flash elements - Internet Explorer

Post by krstcs » Tue May 19, 2015 2:31 pm

Are you sure that it doesn't write the log to a different location maybe? I seem to remember some applications will have different default write folders depending on the level they are run at, but I could be wrong... :D
Shortcuts usually aren't...

alan722
Posts: 25
Joined: Mon Jan 12, 2015 1:34 pm

Re: Unable to identify flash elements - Internet Explorer

Post by alan722 » Tue May 19, 2015 4:21 pm

Hey

yes i am fairly sure. I just tried it again using chrome manually and open up our internal flash sight and I can see that it's being written to the log file.

But when I open chrome via Ranorex using the Open browser action, nothing's written to the log file :? .

Same thing is happening with IE.

Any idea?

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Unable to identify flash elements - Internet Explorer

Post by krstcs » Tue May 19, 2015 9:46 pm

Hm... That is strange. I don't have any answers for you, sorry! :D

Maybe the Ranorex team knows something I don't...
Shortcuts usually aren't...

alan722
Posts: 25
Joined: Mon Jan 12, 2015 1:34 pm

Re: Unable to identify flash elements - Internet Explorer

Post by alan722 » Wed May 20, 2015 12:43 pm

Alright.

Pretty much the issue here is that if the browser is running as administrator mode then Ranorex fails to identify flash elements(the instrumentation wizard pops up). And nothing is getting written to the flash log.

But in order to run my recording I need to run Ranorex as administrator which will then open up the browser as administrator as well :( .

If anyone has any suggestions that will be great.

alan722
Posts: 25
Joined: Mon Jan 12, 2015 1:34 pm

Re: Unable to identify flash elements - Internet Explorer

Post by alan722 » Wed May 20, 2015 2:15 pm

ok I've find a workaround in the time being.

1. Open up ranorex not as admin.
2. generate my recording then click buld
3. Run the exe from the bin folder to test my recording.

the above for now will prevent ranorex from having to run as admin everytime I click the play now button.