Unable to recognize Rawtext while running scripts as a batch
-
- Posts: 16
- Joined: Wed Mar 09, 2011 7:38 pm
Unable to recognize Rawtext while running scripts as a batch
HI,
We are facing RawText issue continuously while running batch execution of 100 scripts. We are getting below warning message
“The automating process does not have the required security permissions to access the process 'EMR'. UI element identification capabilities for controls in that process are limited. The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-gui ... html#c3252
(This message is only shown once per report.)“
But if it is really process issue from starting of scripts it should not able to find any RawText.
We are suspecting some problem (memory leaks……) with RawText. Please help me for resolving this issue ASAP.
We are facing RawText issue continuously while running batch execution of 100 scripts. We are getting below warning message
“The automating process does not have the required security permissions to access the process 'EMR'. UI element identification capabilities for controls in that process are limited. The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-gui ... html#c3252
(This message is only shown once per report.)“
But if it is really process issue from starting of scripts it should not able to find any RawText.
We are suspecting some problem (memory leaks……) with RawText. Please help me for resolving this issue ASAP.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Unable to recognize Rawtext while running scripts as a batch
Hi,
First of all I would ask you if there is no other possibility to automate your software? We suggest our customer to use the RawText Plug-In at least, because this is the fallback of the fallback solution.
How to create a Ranorex Snapshot
Regards,
Peter
Ranorex Team
First of all I would ask you if there is no other possibility to automate your software? We suggest our customer to use the RawText Plug-In at least, because this is the fallback of the fallback solution.
Related to your report, do you start the application with administrator privileges? If you track one of the controls with Spy, do you also get this warning message? Would it be possible to post us a Ranorex Snapshot of your application?manohar.karuvadi wrote:“The automating process does not have the required security permissions to access the process 'EMR'. UI element identification capabilities for controls in that process are limited. The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-gui ... html#c3252
How to create a Ranorex Snapshot
Regards,
Peter
Ranorex Team
-
- Posts: 16
- Joined: Wed Mar 09, 2011 7:38 pm
Re: Unable to recognize Rawtext while running scripts as a batch
I am logging into the Application with Admin priviliges and not getting any warning messages while using Spy. I am getting the warning messages only when i am running the scripts as a batch (ex:50 scripts or more)
FYI i am providing the warning message here: "The automating process does not have the required security permissions to access the process 'EMR'. UI element identification capabilities for controls in that process are limited. The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-gui ... html#c3252".
Please find attached Snapshot of the Application i am working on.
FYI i am providing the warning message here: "The automating process does not have the required security permissions to access the process 'EMR'. UI element identification capabilities for controls in that process are limited. The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-gui ... html#c3252".
Please find attached Snapshot of the Application i am working on.
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Unable to recognize Rawtext while running scripts as a batch
Hello,
you have a batch file where you start the executables created from your projects. Is that right?
Could you try to start that batch file as administrator?
Regards,
Roland
Ranorex Support Team
you have a batch file where you start the executables created from your projects. Is that right?
Could you try to start that batch file as administrator?
Regards,
Roland
Ranorex Support Team
Re: Unable to recognize Rawtext while running scripts as a batch
Hello,
How did this issue turn out? Was it finally resolved??
We pretty much have the exact same problem occurring.
Regards,
Martin
How did this issue turn out? Was it finally resolved??
We pretty much have the exact same problem occurring.
Regards,
Martin
Martin Mackay
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Unable to recognize Rawtext while running scripts as a batch
Hi,
It seems that it was resolved, maybe he has started the batch file as administrator and everything worked as expected. Do you have tried to run your batch file as administrator?
If your problem still exists can you send us some more information about your AUT, a snapshot would be also a good idea?
Regards,
Markus
Ranorex Support Team
It seems that it was resolved, maybe he has started the batch file as administrator and everything worked as expected. Do you have tried to run your batch file as administrator?
If your problem still exists can you send us some more information about your AUT, a snapshot would be also a good idea?
Regards,
Markus
Ranorex Support Team
Re: Unable to recognize Rawtext while running scripts as a batch
We have an in-house built Test Manager which runs the tests from a suite.
The test manager uses .Net reflection to grab the tests from the Ranorex executable that we build in VS2010.
The 15th test always fails due to the RawText plugin not working. The warning "The automating process does not have the required security permissions to access the process....." is given just before the fail. It looks like Ranorex is unable to hook into the GDI calls of the process hence RawText cannot be found.
If I run the failing test on its own it will pass but when run with the other tests in a batch it will not.
Within the test it always fails at the same step where the process is killed and then started again.
I don't understand why security permissions causes this problem as the test works on its own.
My user account has been setup with admin rights. Also I start the Test Manager app from Run As making sure I'm the user and also uncheck the "protect my computer and data from unauthorised program activity".
When launching the AUT it gets started from CMD with process.startinfo.verb set to "runas". This should make both the ranorex exe and AUT run at the same level of permission.
One last thing I have removed the AUTs from Data Execution Prevention.
Regards,
The test manager uses .Net reflection to grab the tests from the Ranorex executable that we build in VS2010.
The 15th test always fails due to the RawText plugin not working. The warning "The automating process does not have the required security permissions to access the process....." is given just before the fail. It looks like Ranorex is unable to hook into the GDI calls of the process hence RawText cannot be found.
If I run the failing test on its own it will pass but when run with the other tests in a batch it will not.
Within the test it always fails at the same step where the process is killed and then started again.
I don't understand why security permissions causes this problem as the test works on its own.
My user account has been setup with admin rights. Also I start the Test Manager app from Run As making sure I'm the user and also uncheck the "protect my computer and data from unauthorised program activity".
When launching the AUT it gets started from CMD with process.startinfo.verb set to "runas". This should make both the ranorex exe and AUT run at the same level of permission.
One last thing I have removed the AUTs from Data Execution Prevention.
Regards,
Martin Mackay
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
Re: Unable to recognize Rawtext while running scripts as a batch
Any suggestions? Do you want a snapshot of the AUT?
Martin Mackay
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Unable to recognize Rawtext while running scripts as a batch
Hi Martin,
You are already in contact with Michael right? Please can you try to install the latest version of Ranorex 3.0.4.
Regards,
Peter
Ranorex Team
You are already in contact with Michael right? Please can you try to install the latest version of Ranorex 3.0.4.
Regards,
Peter
Ranorex Team
Re: Unable to recognize Rawtext while running scripts as a batch
I never knew 3.0.4 was released.
I am in communication with Michael but that's regarding a different issue.
Thanks,
I am in communication with Michael but that's regarding a different issue.
Thanks,
Martin Mackay
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
Re: Unable to recognize Rawtext while running scripts as a batch
I have updated Ranorex to version 3.0.4 but to no avail.
Still have the same issue. Attached is a snapshot of the AUT when at this state.
Still have the same issue. Attached is a snapshot of the AUT when at this state.
You do not have the required permissions to view the files attached to this post.
Martin Mackay
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Unable to recognize Rawtext while running scripts as a batch
Hi Martin,
http://www.ranorex.com/download/release ... html#c3563
Ranorex 3.0.5
Is it possible to reproduce the issue on our system with your Software, if the above solution doesn't help? Your VM is still available and we just have to reactivate it.
Regards,
Peter
Ranorex Team
We just released 3.0.5 and we did a few changes in the RawText-Plug-In too. Please try to install this version and try your tests again. Thank yoummackay23 wrote:I have updated Ranorex to version 3.0.4 but to no avail.
Still have the same issue. Attached is a snapshot of the AUT when at this state.
http://www.ranorex.com/download/release ... html#c3563
Ranorex 3.0.5
Is it possible to reproduce the issue on our system with your Software, if the above solution doesn't help? Your VM is still available and we just have to reactivate it.
Regards,
Peter
Ranorex Team
Re: Unable to recognize Rawtext while running scripts as a batch
Hi Peter,
We updated our Ranorex Framework to version 3.0.5 and the changes to the Raw-Text Plug-in have resolved the issue!!!
All tests are now running in batch with no warning about security permissions. Raw Text is captured as should be.
Thank you.
We updated our Ranorex Framework to version 3.0.5 and the changes to the Raw-Text Plug-in have resolved the issue!!!
All tests are now running in batch with no warning about security permissions. Raw Text is captured as should be.
Thank you.
Martin Mackay
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill
Automation Test Analyst
"To improve is to change, to be perfect is to change often."
-Winston Churchill