i need to login to my yahoo accoutnt using VB Script,
automating the operation of webobjects, even launching of
IE. How?

Answer Posted / arun mohapatra

Hi, here is solution from my side..if any other please post here too...This is descriptive programming using vbscript in QTP..but this is for login into gmail

invokeapplication "C:\Program Files\Internet Explorer\iexplore.exe https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fmail%2F%3Fui%3Dhtml%26zy%3Dl&bsv=llya694le36z&scc=1&ltmpl=default&ltmplcache=2&from=login"
wait(10)
Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "enter ur username"
Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Passwd").Set "enterurpassword"
Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebButton("Sign in").Click

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules to name variable in vbscript?

579


Illustrate briefly about the different types of statement

2014


What are the uses of vb script?

576


What is the use of option explicit in vbscript?

533


Difference between dim,public and private variables in vb script?

515






Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function

1908


For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

1741


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

12858


How many types of procedures are available in the vbscript language?

520


Mention when to use function procedures and what are its characteristics?

616


What is the difference between do until loop and do while loop?

530


What are the properties of regexp object?

571


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2484


How to get the length of the string by making use of the string function?

549


Mention how to access array data?

500