Forum Discussion

petra's avatar
petra
Contributor
8 years ago

change cmd to powershell

Hi All

 

I have a few troubles with my cmd. (there is a hidden cmd from elasticsearch if i open my application) 

 

Now i tried to use powershell in my new teststeps instead. This will work fine.

 

So can u tell me, how to change cmd to powershell in an easy way.

 

Step 1

 

tested apps .... change name and path.  in my new test -- powershell changed into cmd and opens the right application 

 

Step 2

 

name mapping swapping/deleting powershell ---> dindt work, cant find anything

 

Step 3

 

jump to test, go to the correct line, select with on-screen-action. ---> works but only at the actually line.

 

Any idea?

Thanks

 

 

  • Hi,

     

    So, as far as I understand, you worked with Command Prompt in your tests, and now you want to switch to PowerShell. If this is the case, I'm afraid there is no easy way to do it because technically you want to use a different tool now. So, to avoid changing the tests, you need to change both the TestedApp collection and the mapping criteria. Changing the mapping criteria shouldn't be a problem as you only need to change ProcessName for the process and WndCaption for the console window. But, since you're having issues with this task, I suggest that you contact our support team and describe the issue in detail to get it resolved.

  • JuliaBernikova's avatar
    JuliaBernikova
    SmartBear Alumni (Retired)

    Hi,

     

    So, as far as I understand, you worked with Command Prompt in your tests, and now you want to switch to PowerShell. If this is the case, I'm afraid there is no easy way to do it because technically you want to use a different tool now. So, to avoid changing the tests, you need to change both the TestedApp collection and the mapping criteria. Changing the mapping criteria shouldn't be a problem as you only need to change ProcessName for the process and WndCaption for the console window. But, since you're having issues with this task, I suggest that you contact our support team and describe the issue in detail to get it resolved.

    • petra's avatar
      petra
      Contributor

      hi

       

      i know, there are many differences between Commandline and PowerShell. It works relative fine in the moment. my only problem is to connect with ftp. but i will have a look in the www in time.I think PowerShell is more confortable to handle and to learn :-) Many thanks