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



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

Answer / 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

More VB Script Interview Questions

Have any one know about Test Complete 6, please let me know. If any one have good material regarding Test Complete 6, Please send to my mail id: cns.praveen@gmail.com

1 Answers  


Hi, Can anyone please send me vb script examples to practice vb and also material to learn vb scripting in QTP? my email id : hareen_11@yahoo.com

0 Answers  


1)How to test whether items in a weblist are in alphabetical order or not?

1 Answers   TCS,


Give examples where vb script can directly run on users system with windows as os?

1 Answers  


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

0 Answers  






Mention how to assign a date value to a variable?

0 Answers  


What is the difference between javascript and vbscript?

0 Answers  


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

0 Answers  


What are the valid scopes of a variable in vbscript?

0 Answers  


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

0 Answers  


How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script?

6 Answers   Nous,


Hello All, In QTP 9.2 for Mozilla Firefox, there is webelement in my application, I tried to click on that using decsriptive programming, but it does not work. and for this i tried this code too: Set obj = CreateObject ("Mercury.DeviceReplay") absx = Browser("").Page("").WebElement(".").GetROProperty ("abs_x") absy = Browser("").Page("").WebElement(".").GetROProperty ("abs_y") obj.MouseMove absx, absy obj.MouseClick absx, absy, 0 But it is not clicked. Can anyone help me out for this problem. Thnx in Advance

1 Answers  


Categories