It's all about the answers!

Ask a question

RQM+RFT:when running RFT script on RQM, is it run by the RFT adapter user or not?

Don Yang (7.7k21109138) | asked Jul 29 '13, 1:19 a.m.
In RQM4.0/Tomcat+RFT8.3 .Net(2005 VB.Net) environment, the user currently sees two problems:
1) When running the script via RQM and RFT is located on another domain, the start window never appears and the log is empty(as if it is run on the GUI but nothing happens)
2) The RFT adapter have many duplicate records in adapter console

According to the below technote,

duplicate adapter could be seen when
the user running the RQM adapter does not have full access control for the RQM adapter directory. The adapter attempts to save its internal ID to the adapter.config file. If the adapter cannot save its internal ID to the adapter.config file, a new internal ID will be generated every time the adapter is started. When a new internal ID is generated, RQM creates a new adapter with a duplicate name.
Although this is an issue from RPT adapter, I guess it should apply to RFT adapter as well(the file to store internal id  and location are different though).
The adapter user usually is from local Tomcat user registry(or WAS) and not a part of local user group.
The question here is:
1) When a script is run from RQM, is it run by the RFT adapter user? Based on the above technote, does that mean
we need to add the normal RFT adapter user(to login to RQM) to the local user group and assign the permission to the configure file to avoid creating duplicate adapter entries?

2) In an environment where RQM and RFT are on different domain, is that anything we need to be pay attention in the user permission/shared location etc in order to make the playback work properly?

Thank you very much in advance for any inputs.

One answer

permanent link
Sunil Kumar R (1.1k13044) | answered Jul 29 '13, 3:14 a.m.

In my experience, if the RFT adapter is started in a user session for a machine user started as "Administrator" (or tried using 'Run as Administrator') for the bat file prompting the "configure adapter" option the issue of mis-matching user id's does not arise.. Also domain may not be very relevant here since RQM already knows where the adapter resides.

Best Regards, Sunil

Don Yang commented Jul 29 '13, 7:49 a.m.

Thanks Sunil for the answers.
Do you mean that in the statement "the user running the RQM adapter does not have full access control for the RQM adapter directory." the user running the RQM adapter is actually the machine logon user which requires administrator(or run as administrator) in order for that user to access to RQMAdapterOptions.pref in which adapter's internal id is stored? This use is Not the one in adapter's configuration which we use the RQM user to authenticate to the project area, is that what you mean?

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.