Micro Focus QTP (UFT) Forums
Connect QTP 10.0 with Unix - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Connect QTP 10.0 with Unix (/Thread-Connect-QTP-10-0-with-Unix)



Connect QTP 10.0 with Unix - phabloxar - 09-17-2012

Hello,

I am working with QTP 10.0 and i want to ask you if is it possible to connect with Unix and how do I get that?

Thanks and regards.

phabloxar.


RE: Connect QTP 10.0 with Unix - phabloxar - 09-20-2012

I already solved it partly!!!
I am only looking to resolve how to write the user account and password when open putty.

To execute y open putty:
Code:
SystemUtil.run "C:\PuTTY\putty.exe","","",""
With window("regexpwndtitle:=putty configuration")
      .activate
      .winedit("nativeclass:=edit","attached text:=Host.*").type &servername or IP
      .winedit("nativeclass:=edit","attached text:=&Port").type &portnumber
      .winradiobutton("nativeclass:=button","text:=&SSH").set
      .winbutton("text:=&open").click
End with


phabloxar.