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

Which operator can be used to do an xor operation in vbscript?

945


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

1854


what is used of Property........End Property loop ? how to write the script for it?

1926


When does ‘on click of button’ event gets triggered in the vbscript language?

748


Mention what are the rules to name variable in vbscript?

749


What is the difference between function and procedure?

818


What is the purpose of regexp object in vbscript?

749


What is the difference between for loop and while loop?

775


Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

2456


Which function is used to perform string comparison?

784


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

2047


Which operator is used to concatenate the 2 values in the vbscript language?

765


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

1951


Explain about constants in vb script?

767


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

745