I am testing a Website thelancet and create a description
for searching "health" in search edit box.But my description
failed on last two lines.Can anybody solve this
Answer / nittinengineer
Dim URL: URL = "http://www.thelancet.com/"
Set obj_WebBrowser = Description.Create
obj_WebBrowser ("micclass").value = "Browser"
obj_WebBrowser ("name").value = ".*Microsoft Internet
Explorer"
obj_WebBrowser ("application version").value="internet
explorer 8"
obj_WebBrowser ("LocationURL").value = URL & ".*"
obj_WebBrowser ("openurl").value= URL & ".*"
Set obj_WebPage = Description.Create
obj_WebPage ("micclass").value = "Page"
Dim Search
Dim ObjWebEdit
Dim ObjWebttn
Dim GoBttn
Set Search=Description.Create
Set ObjWebEdit=Description.Create
Set ObjWebttn=Description.Create
Set GoBttn=Description.Create
Search("micclass").value="WebEdit"
Search("name").value="searchTerm"
ObjWebEdit("micclass").value="WebEdit"
ObjWebttn("micclass").value="WebButton"
GoBttn("micclass").value="WebButton"
GoBttn("html tag").value="INPUT"
GoBttn("type").value="submit"
Browser(obj_WebBrowser).Page(obj_WebPage).ObjWebEdit(Search).set"Health"
Browser(obj_WebBrowser).Page(obj_WebPage).ObjWebttn(GoBttn).Click
Is This Answer Correct ? | 0 Yes | 0 No |
Hi guys can any plz help me how to send fax in sample Flight Appication
What is parameter in qtp?
What are the Features & Benefits of Quick Test Pro ?
write script for , launching fr window,login and create 5 elements array and store 5 order numbers inthat array? and open order by using order no.s in array and find out maximum tickets booked by which order?
Why is action split used by qtp?
How to capture screen shots when an error occurs?
How to run a test using quicktest professional (qtp)?
What is Description Object?
how can we test load time of an page in webtesting?
how you have used object libraries? plzzzzz do answer
What are different types of frame works ?
Explain the Load testing process?