Micro Focus QTP (UFT) Forums
whether login is correct or not - 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: whether login is correct or not (/Thread-whether-login-is-correct-or-not)



whether login is correct or not - Ragini - 01-13-2011

Hi all....
I have 10 mail id in one excel sheet.
I logged in with following mail id--ragini@gmail.com.Now i want to check whether i logged in correct id or not??

Can anyone provide the me code for that..Please help...

Thanks and Regards
Ragini


RE: whether login is correct or not - manishbhalshankar - 01-14-2011

Hi Ragini,
Once you login to any account, you get the login id on the top right corner of the page (near sign out link). Check for that string.


RE: whether login is correct or not - Ragini - 01-14-2011

Hello Manish.
Thanks for your reply. But I am very new to do it..Sad
Shall I use GetRoProperty("text"). If yes then with which object i can use getroproperty.Is there a way to do it apart from getroproperty??
Please let me one line of code for checking that string in any web page....

Thanks and Regards
Ragini


RE: whether login is correct or not - manishbhalshankar - 01-14-2011

Hi Ragini,
You can use Standard Checkpoint for this and parameterise it to check all the ids in datatable.