Mailingliste - Einträge 2017
Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] QF-Test 4.0.11 - Linux session Queries
Hello Sushma, the ssh procedures and scripts in the qfs.qft library are based on Jsch: http://www.jcraft.com/jsch/ Unfortunately there is no simple way to send a password through such a channel because by default programs like su read it from the associated terminal and not from standard input. Instead of logging in as one user and switching to another user with su, why can't you set up the .ssh/authorized_keys for the other user so that you can login directly as that user? Regarding your first question: The output from the ssh server is the return value of the qfs.utils.ssh.session.send procedure and you'll find it there in the run-log. Also, when you call the close procedure you can pass the name for a result group via its parameter resultGroupName. QF-Test binds the collected output and the exit code of the session in that result group, so after you call qfs.utils.ssh.session.close (resultGroupName=sshres) ${sshres:exitCode} expands to the session's exit code and ${sshres:stdout} to the collected output to stdout and stderr. Best regards, Greg Sushma Venumuddala <SVenumuddala@?.com> writes: > Hi QF-Test Experts, > > It would be much helpful for us, if you provide solutions or suggestions to the below query. > > We are working on Connecting to a remote server by ssh. For this we have found the standard procedures for ssh at > qfs.utils.ssh.session. > We are able to connect to the Linux machine, but > > 1. How to view the connected session, like if we have any terminal for the session > > 2. How to pass "su - user1" and password using the procedures > > I can see the below Message when i send su - user1 , but not able to provide password using the procedures > [cid] > > The QFTest Version we use is QF-Test 4.0.11 > > Thanks in Advance > > [cid] > Sushma Venumuddala | Quality Assurance Engineer > Portware India Pvt Ltd > #404.Building14.Raheja Mindspace IT Park > Hitech City, Hyderabad 500081 > Phone: +91.40.44640000 ext. 1191 > Email: svenumuddala@?.com > www.portware.com > > _______________________________________________ > qftest-list mailing list > qftest-list@?.de > https://archive.qfs.de/mailman/listinfo/qftest-list -- Gregor Schmid E: gregor.schmid@?.de T: +49 8171 38648-11 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833
|
Wir verwenden Cookies zur anonymisierten Auswertung Ihres Besuchs auf unserer Webseite durch »Matomo«. Dafür benötigen wir Ihr Einverständnis, welches für zwölf Monate gilt. Ein Widerruf bzw. Opt-out ist jederzeit auf unser Datenschutz-Seite möglich.
1. Funktionale Cookies
Wir verwenden funktionale Cookies, um die Basisfunktionalität der Webseite zu gewährleisten.
2. Performance und Statistik Cookies
Wir verwenden Matomo zur Analyse und Optimierung unserer Webseite. Cookies erlauben eine anonyme Erfassung der Informationen und helfen uns, Ihnen einen benutzerfreundlichen Besuch unserer Webseite zu bieten.
Dieses Cookie enthält eine eindeutige jedoch pseudonymisierte Matomo-interne Besucher-ID zur Erkennung wiederkehrender Besucher.
Dieses Cookie wird verwendet, um zu tracken, von welcher Website der anonymisierte Benutzer auf die Website gekommen ist.
Das Session Cookie von Matomo wird verwendet, um die Seitenanforderungen des Besuchers während der Sitzung zu verfolgen.
wird erzeugt und versucht sofort wieder zu löschen (zur Prüfung, ob der Browser des Besuchers Cookies unterstützt).
Kurzzeit-Cookies für temporäre Besuchsdatenspeicherung.
Kurzzeit-Cookies für temporäre Besuchsdatenspeicherung.