Micro Focus QTP (UFT) Forums
Unable to login with the same code in different desktop - 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: Unable to login with the same code in different desktop (/Thread-Unable-to-login-with-the-same-code-in-different-desktop)



Unable to login with the same code in different desktop - vnsk - 10-19-2011

When iam running the script in my Desktop. Iam getting invalid access to the particular application.
But when i run the same code with same logins in another desktop iam able to open the application

InvokeApplication "C:\Program Files\Internet Explorer\IEXPLORE.EXE "
Browser("title:= about:blank").Navigate "http://cgtwebuie2etest.dev.qintra.com/login.aspx?ReturnUrl=%2fDefault.aspx"

''' ###############Login to CGT#############
Code:
Browser("name:= Login").Page("title:= Login").webedit("name:= CuidTextBox").set " spartha"
Browser("name:= Login").Page("title:= Login").webedit("name:= PasswordTextBox").set "qw1234
Browser("name:= Login").Page("title:= Login").webbutton("name:= Login").click



RE: Unable to login with the same code in different desktop - ankushsingh - 10-19-2011

Hi,

I think there are some access limitation at your desktop if you try same on some other test machine you may not face this problem. or you can try this after disabling the firewall of your Desktop.


RE: Unable to login with the same code in different desktop - vnsk - 10-19-2011

But iam able to login in to application manually i.e., without running the script in my desktop.
Initially i thought of due to browsed history this problem is occuring but even after clearing the cache also facing the same