can any one tell me what is syntax error in line
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement(innertext=&msg).exist
'code **************
Call login("lal="," " )
wait(5)
Call errormsg("Invalid email address. [?]" )
Function errormsg(msg)
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement(innertext=&msg).exist
if msgexist then
Reporter.ReportEvent micPass,"enter valid username or pwd
",msg
else
Reporter.ReportEvent micFail, "entered valid uname and
pwd",msg
end if
End Function
Answer Posted / shubh
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement(innertext=&msg).exist
should be written as
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement
("innertext:=&msg").exist
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How many ways we can parameterize data in quicktest professional?
How will you check a web application for broken links using qtp?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
What is difference in global and action sheet in qtp?
Is it possible to use two instances of UFT on the same machine? If not why?
How to use the object spy in quicktest professional 8.0 version?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com
How many types of parameters are available in quicktest professional?
When to use descriptive programming?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
Hai anyone please "Explain about Framework in QTP?"
How do you convert manual test cases to automated test cases?
what is meant by Implicit and explicit requirements?
How do you send email with attachment from outlook using qtp ?
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...