Open Yahoo Login Page
in that page Suppose i have 100 mails and i want to delete
10'th mail now give procedure & Coding For that Scenario
Answer Posted / ddpras
Browser("Yahoo!").Page("Yahoo!").Link("Mail").Click
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("login").Set "ch_sumathi2004"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebEdit
("passwd").SetSecure "486c6f4be481a70bf13b2b81453298b462a1"
Browser("Yahoo!").Page("Yahoo! Mail: The best").WebButton
("Sign In").Click
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").Link
("Inbox (10)").Click
Set k=Browser("Yahoo!").Page("Inbox (10) - Yahoo!
Mail").webtable("inbox(10)").ChildItem
(10,1,"WebCheckBox",index)
k.Set "ON"
Browser("Yahoo!").Page("(10 unread) Yahoo! Mail").WebButton
("Delete").Click
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is dictionary object in vbscript? Explain?
What are class properties?
How to delete a cookie using vbscript?
How can constants be declared in the vbscript language?
Which object provide information about a single runtime error in a vbscript?
filter the array values without using filter function?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
Explain about filter expression?
Mention how to access array data?
What is the technology used by vb script?
What is select case statement?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Explain what is loose binding? Why is it not a good practice to use it?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?