![]() |
|
How to enter login details manually while using DP automation? - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: How to enter login details manually while using DP automation? (/Thread-How-to-enter-login-details-manually-while-using-DP-automation--5396) |
How to enter login details manually while using DP automation? - Uma - 09-16-2011 Hi, I am using DP Programming in my script.I asked to leave the userid and password colum as a blank one.(Instead of automation I need to keep that as a manual one) Here is my script, Here I am passing Uname and Pword value from text file. Code: 'Browser("name:="&result,"application version:=internet explorer 7").Dialog("text:="&dia).WinEdit("attached text:="&usr1,"windowextendedstyle:=0","nativeclass:=edit").Set UnameHow can I keep the Uname and Pword column as a blank one,I want to manully enter. Any help? Thank you, Uma RE: How to enter login details manually while using DP automation? - vIns - 09-16-2011 Hi Uma, I am not sure if i have understood your question clearly... I assume that you do not want to have the username and password stored anywhere in the datasheet...so u want to enter the info while script is running. you can use below statement to get the values from the user and use it in your script. Code: username = Inputbox("Enter your username")or please provide more info on what u r looking for RE: How to enter login details manually while using DP automation? - Uma - 09-16-2011 Hi, Thank you for the good idea.I will try ur method. Rightnow I parameterized the username and password and I am leaving the values blank. So I am able to manually enter. Thank you, Uma |