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 |
how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"
What are the different types of qtp test assets and their extensions?
Tell about descriptive programing in qtp8.2?
can test automation improve test effectiveness?
How to add verification steps to tests?
How did u write macros?What is the main importance of VB macros in testing environment?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
How we test the logo or images in the web page using QTP? For example take google page, they change their logo for new year,christmas etc..How we test that? Plz answer this question... Thanks in advance..
what is Unicoad Compatibility ???? HOw does this makes a diffrence from Winrunner.???
Does Low-level recording capture mouse movements?
need clear explanation of actions and functions in qtp with examples?can anyone suggest me gud site for that other than qtp manual?
I want to open a Google page without recording a test and i do not want to use system.Util.run command as well how do i do this?