cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to access (Verify/Execute) a VM for parallel testing

SOLVED
Contributor

Unable to access (Verify/Execute) a VM for parallel testing

Hi,

 

I am facing a situation where am not able to decide, where the problem lies. Consider the following situation:

 

1. Happy Case: I am able to access a VM machine and execute test cases on it using TestCompelte successfully. This VM (created using Oracle Virtual Box) is hosted on a local server.

2. Issue Case: The GSO (Global Server Ops) team has provided me a VM and TestCompelte is not able to access this machine. I am attaching a screenshot. I have tried accessing this machine using both Local and Network user. I am manually able to Remote Desktop this machine using both users.

 

Where is the issue?

 

Regards,

 

Obaid Shirwani 

Think big. You are most likely to end big.
1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Unable to access (Verify/Execute) a VM for parallel testing

Hi,

 

> Is there a way, TestComplete may develop a feature to solve such hurdles?

I am not employed by SmartBear and cannot speak for them. If you like you may ask Support directly via the https://support.smartbear.com/message/?prod=TestComplete form.

My personal opinion is that this is nearly to impossible. Just because this is the built-in OS security/legal feature.

Depending on the level of permissions that you have for your test machines, you may consider, for example, to keep machines in not-locked state (if this is possible).

Another possible approach (which requires local administrative permissions for the test machines) is to create a scheduled task that triggers on OS start. The task should delete registry entries that trigger display of the Legal Notice window. (I don't have relevant registry path at hand as we speak but you may either Google it or let me know and I will post it here.)

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

11 REPLIES 11
Highlighted
Community Hero

Re: Unable to access (Verify/Execute) a VM for parallel testing

Hi,

 

Just to double check: No additional windows (e.g. with Legal Notice that you are accessing remote resource that...) are displayed when you perform RDP login into GSO-provided VM, isn't it?

Just a plain RDP login dialog with user name, domain and password, right?

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Contributor

Re: Unable to access (Verify/Execute) a VM for parallel testing

Hey Alex, Hi,

 

Yes. I am attaching a modal screen. Its pushed by GSO (Global Server Ops team) policy. It requires the user to click a button before getting to veiw the login screen.

 

Regards,

 

Obaid Shirwani

Think big. You are most likely to end big.
Community Hero

Re: Unable to access (Verify/Execute) a VM for parallel testing

Hi,

 

> It requires the user to click a button 

This is what I expected... Such messages must be disabled in order for TestComplete to be able to open RDP session automatically - https://support.smartbear.com/testcomplete/docs/testing-with/advanced/distributed/requirements.html#... : "If the remote computer is configured to show a logon message when a user logs on, disable the message"

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Contributor

Re: Unable to access (Verify/Execute) a VM for parallel testing

Hey Alex,

 

Sorry for the late reply. I have filed an RFC. The security team will consider removing the Welcome Banner for a day (24 hours max). But, the company policy wont let us remove that banner for ever. If this fixes the issue (and now i am sure its the pain point) we still wont be able to use this in long terms.

 

Is there a way, TestComplete may develop a feature to solve such hurdles?

 

Best regards,

 

Obaid Shirwani

Think big. You are most likely to end big.
Community Hero

Re: Unable to access (Verify/Execute) a VM for parallel testing

Hi,

 

> Is there a way, TestComplete may develop a feature to solve such hurdles?

I am not employed by SmartBear and cannot speak for them. If you like you may ask Support directly via the https://support.smartbear.com/message/?prod=TestComplete form.

My personal opinion is that this is nearly to impossible. Just because this is the built-in OS security/legal feature.

Depending on the level of permissions that you have for your test machines, you may consider, for example, to keep machines in not-locked state (if this is possible).

Another possible approach (which requires local administrative permissions for the test machines) is to create a scheduled task that triggers on OS start. The task should delete registry entries that trigger display of the Legal Notice window. (I don't have relevant registry path at hand as we speak but you may either Google it or let me know and I will post it here.)

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

Community Hero

Re: Unable to access (Verify/Execute) a VM for parallel testing

Because the VMs are "locked in a closet" (basically, no one can get to them to do anything), we have ourse set up that they are always unlocked.  This is a group policy that we apply to ONLY those machines and our security team is fine with (regulated health-care industry).  This, I believe, is going to be your best solution.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Contributor

Re: Unable to access (Verify/Execute) a VM for parallel testing

Alex,

 

Thanks for all your time on this.

1. The issue is, our organization has very strict policies regarding servers and client data. The security team has approved only a 24 hours slot for the removal of this 'Warning Banner' so that we can verify the postulate, that this is the only hurdle which is keeping TestComplete from performing the job. So, it might not be possble for us to carry out parallel executions on VM.

 

2. What i had on mind was:

a. Create multiple VMs on cloud.

b. Setup 'TestExecute' on each VM.

c. Whenever required, fetch the latest code from repo on the VM machine.

d. Start the VM and perform auto-logon whenever a test execution is needed.

e. Shutdown the VM when job is done and logs are uploaded.

 

But this Security Warning Banner will block it. Am afraid that we will have to look for other options Smiley Sad

 

Thanks again for all your time and help. Ill update you in case any progress is made.

 

Best regards

Think big. You are most likely to end big.
Contributor

Re: Unable to access (Verify/Execute) a VM for parallel testing

We cannot remove the policy pushed by Global Server Ops team or Network Security team. Its strictly against the policies. There has to be some other way out as data is extremely critical and no security breach is tolerated. 

Think big. You are most likely to end big.
Community Hero

Re: Unable to access (Verify/Execute) a VM for parallel testing

Hi,

 

> But this Security Warning Banner will block it. Am afraid that we will have to look for other options

Yes, Legal Notice well might be a road-block.

I just thought about one idea, in case suggestion from Robert is not acceptable as well. (To keep VM up, running and not locked.)

If I remember it right, Legal Notice is displayed after login/password credentials were entered and accepted.

The idea is to configure VM to auto-logon and create some scheduled task triggered on user's logon (or on OS start with some delay to let OS start, preform auto-logon and display Legal Notice). Then the task should try to focus the OK button and press it by blindly sending Tab, Space and Enter keypresses. If you are lucky, this will dismiss of the Legal Notice window. Otherwise, I am afraid that you will have to manually start and log in into every VM and then start (automated) test code deployment and tests execution.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================